Example #1
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[15];
     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, 200, "Name Type Code");
     data[7]  = new ID(message, 465, "Name Representation Code");
     data[8]  = new CWE(message, "Name Context");
     data[9]  = new DR(message, "Name Validity Range");
     data[10] = new ID(message, 444, "Name Assembly Order");
     data[11] = new DTM(message, "Effective Date");
     data[12] = new DTM(message, "Expiration Date");
     data[13] = new ST(message, "Professional Suffix");
     data[14] = new ST(message, "Called By");
 }