コード例 #1
0
ファイル: PN.cs プロジェクト: 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 FN(message,"Family+last 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 IS(message, 0,"Degree (e.g., MD)");
	}
コード例 #2
0
        /// <summary>   Creates a PN. </summary>
        ///
        /// <param name="message">      The Message to which this Type belongs. </param>
        /// <param name="description">  The description of this type. </param>

        public PN(IMessage message, string description) : base(message, description)
        {
            data    = new IType[6];
            data[0] = new FN(message, "Family+last 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 IS(message, 0, "Degree (e.g., MD)");
        }
コード例 #3
0
ファイル: XCN.cs プロジェクト: RickIsWright/nHapi
	///<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[15];
		data[0] = new ST(message,"ID number (ST)");
		data[1] = new FN(message,"Family+last 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 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");
		data[13] = new HD(message,"Assigning facility");
		data[14] = new ID(message, 0,"Name Representation code");
	}
コード例 #4
0
ファイル: XCN.cs プロジェクト: tristanwilson111/nHapi
 ///<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[15];
     data[0]  = new ST(message, "ID number (ST)");
     data[1]  = new FN(message, "Family+last 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 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");
     data[13] = new HD(message, "Assigning facility");
     data[14] = new ID(message, 0, "Name Representation code");
 }