Exemplo n.º 1
0
Arquivo: XCN.cs Projeto: snosrap/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[23];
     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 ID(message, 465,"Name Representation Code");
     data[15] = new CE(message,"Name Context");
     data[16] = new DR(message,"Name Validity Range");
     data[17] = new ID(message, 444,"Name Assembly Order");
     data[18] = new TS(message,"Effective Date");
     data[19] = new TS(message,"Expiration Date");
     data[20] = new ST(message,"Professional Suffix");
     data[21] = new CWE(message,"Assigning Jurisdiction");
     data[22] = new CWE(message,"Assigning Agency or Department");
 }
Exemplo n.º 2
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");
 }
Exemplo n.º 3
0
Arquivo: XPN.cs Projeto: snosrap/nhapi
 ///<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");
 }