Ejemplo n.º 1
0
 ///<summary>
 /// Creates a PN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PN(Message message, string description) : base(message, description)
 {
     data    = new Type[6];
     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, 0, "Degree (e.g., MD)");
 }
Ejemplo n.º 2
0
Archivo: PN.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a PN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PN(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     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, 0,"Degree (e.g., MD)");
 }
Ejemplo n.º 3
0
 ///<summary>
 /// Creates a CN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CN(Message message, string description) : base(message, description)
 {
     data    = new Type[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");
 }
Ejemplo n.º 4
0
Archivo: CN.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a CN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CN(Message message, string description)
     : base(message, description)
 {
     data = new Type[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");
 }
Ejemplo n.º 5
0
 ///<summary>
 /// Creates a XPN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XPN(Message message, string description) : base(message, description)
 {
     data     = new Type[11];
     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, 0, "Degree (e.g., MD)");
     data[6]  = new ID(message, 0, "Name type code");
     data[7]  = new ID(message, 0, "Name Representation code");
     data[8]  = new CE(message, "Name context");
     data[9]  = new DR(message, "Name validity range");
     data[10] = new ID(message, 0, "Name assembly order");
 }
Ejemplo n.º 6
0
Archivo: XPN.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a XPN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XPN(Message message, string description)
     : base(message, description)
 {
     data = new Type[11];
     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, 0,"Degree (e.g., MD)");
     data[6] = new ID(message, 0,"Name type code");
     data[7] = new ID(message, 0,"Name Representation code");
     data[8] = new CE(message,"Name context");
     data[9] = new DR(message,"Name validity range");
     data[10] = new ID(message, 0,"Name assembly order");
 }
Ejemplo n.º 7
0
 ///<summary>
 /// Creates a XCN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XCN(Message message, string description) : base(message, description)
 {
     data     = new Type[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");
 }
Ejemplo n.º 8
0
Archivo: XCN.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a XCN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XCN(Message message, string description)
     : base(message, description)
 {
     data = new Type[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");
 }