Exemplo n.º 1
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[10];
     data[0] = new ST(message, "Organization Name");
     data[1] = new CWE(message, "Organization Name Type Code");
     data[2] = new XON(message, "ID Number");
     data[3] = new XON(message, "Identifier Check Digit");
     data[4] = new XON(message, "Check Digit Scheme");
     data[5] = new HD(message, "Assigning Authority");
     data[6] = new ID(message, 203, "Identifier Type Code");
     data[7] = new HD(message, "Assigning Facility");
     data[8] = new ID(message, 465, "Name Representation Code");
     data[9] = new ST(message, "Organization Identifier");
 }
Exemplo n.º 2
0
 ///<summary>
 /// Creates a RPT.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public RPT(IMessage message, string description) : base(message, description)
 {
     data     = new IType[11];
     data[0]  = new CWE(message, "Repeat Pattern Code");
     data[1]  = new ID(message, 527, "Calendar Alignment");
     data[2]  = new NM(message, "Phase Range Begin Value");
     data[3]  = new NM(message, "Phase Range End Value");
     data[4]  = new NM(message, "Period Quantity");
     data[5]  = new CWE(message, "Period Units");
     data[6]  = new ID(message, 136, "Institution Specified Time");
     data[7]  = new ID(message, 528, "Event");
     data[8]  = new NM(message, "Event Offset Quantity");
     data[9]  = new CWE(message, "Event Offset Units");
     data[10] = new GTS(message, "General Timing Specification");
 }
Exemplo n.º 3
0
Arquivo: CX.cs Projeto: nHapiNET/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[12];
     data[0]  = new ST(message, "ID Number");
     data[1]  = new ST(message, "Identifier Check Digit");
     data[2]  = new ID(message, 61, "Check Digit Scheme");
     data[3]  = new HD(message, "Assigning Authority");
     data[4]  = new ID(message, 203, "Identifier Type Code");
     data[5]  = new HD(message, "Assigning Facility");
     data[6]  = new DT(message, "Effective Date");
     data[7]  = new DT(message, "Expiration Date");
     data[8]  = new CWE(message, "Assigning Jurisdiction");
     data[9]  = new CWE(message, "Assigning Agency or Department");
     data[10] = new ST(message, "Security Check");
     data[11] = new ID(message, 904, "Security Check Scheme");
 }
Exemplo n.º 4
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");
 }
Exemplo n.º 5
0
 ///<summary>
 /// Creates a XTN.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public XTN(IMessage message, string description) : base(message, description)
 {
     data     = new IType[18];
     data[0]  = new ST(message, "Telephone Number");
     data[1]  = new ID(message, 201, "Telecommunication Use Code");
     data[2]  = new ID(message, 202, "Telecommunication Equipment Type");
     data[3]  = new ST(message, "Communication Address");
     data[4]  = new SNM(message, "Country Code");
     data[5]  = new SNM(message, "Area/City Code");
     data[6]  = new SNM(message, "Local Number");
     data[7]  = new SNM(message, "Extension");
     data[8]  = new ST(message, "Any Text");
     data[9]  = new ST(message, "Extension Prefix");
     data[10] = new ST(message, "Speed Dial Code");
     data[11] = new ST(message, "Unformatted Telephone number");
     data[12] = new DTM(message, "Effective Start Date");
     data[13] = new DTM(message, "Expiration Date");
     data[14] = new CWE(message, "Expiration Reason");
     data[15] = new CWE(message, "Protection Code");
     data[16] = new EI(message, "Shared Telecommunication Identifier");
     data[17] = new NM(message, "Preference Order");
 }
Exemplo n.º 6
0
 ///<summary>
 /// Creates a DLD.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public DLD(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new CWE(message, "Discharge to Location");
     data[1] = new DTM(message, "Effective Date");
 }
Exemplo n.º 7
0
 ///<summary>
 /// Creates a MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public MOC(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new MO(message, "Monetary Amount");
     data[1] = new CWE(message, "Charge Code");
 }
Exemplo n.º 8
0
 ///<summary>
 /// Creates a SCV.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public SCV(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new CWE(message, "Parameter Class");
     data[1] = new ST(message, "Parameter Value");
 }
Exemplo n.º 9
0
Arquivo: FC.cs Projeto: nHapiNET/nHapi
 ///<summary>
 /// Creates a FC.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public FC(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new CWE(message, "Financial Class Code");
     data[1] = new DTM(message, "Effective Date");
 }
Exemplo n.º 10
0
 ///<summary>
 /// Creates a DIN.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public DIN(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new DTM(message, "Date");
     data[1] = new CWE(message, "Institution Name");
 }
Exemplo n.º 11
0
 ///<summary>
 /// Creates a RI.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public RI(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new CWE(message, "Repeat Pattern");
     data[1] = new ST(message, "Explicit Time Interval");
 }
Exemplo n.º 12
0
Arquivo: CQ.cs Projeto: nHapiNET/nHapi
 ///<summary>
 /// Creates a CQ.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CQ(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new NM(message, "Quantity");
     data[1] = new CWE(message, "Units");
 }
Exemplo n.º 13
0
 ///<summary>
 /// Creates a DTN.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public DTN(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new CWE(message, "Day Type");
     data[1] = new NM(message, "Number of Days");
 }