示例#1
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 IS(message, 0, "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 IS(message, 0, "Event Offset Units");
     data[10] = new GTS(message, "General Timing Specification");
 }
示例#2
0
 ///<summary>
 /// Creates a TQ.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public TQ(IMessage message, string description) : base(message, description)
 {
     data     = new IType[12];
     data[0]  = new CQ(message, "Quantity");
     data[1]  = new RI(message, "Interval");
     data[2]  = new ST(message, "Duration");
     data[3]  = new DTM(message, "Start Date/Time");
     data[4]  = new DTM(message, "End Date/Time");
     data[5]  = new ST(message, "Priority");
     data[6]  = new ST(message, "Condition");
     data[7]  = new TX(message, "Text");
     data[8]  = new ID(message, 472, "Conjunction");
     data[9]  = new OSD(message, "Order Sequencing");
     data[10] = new CWE(message, "Occurrence Duration");
     data[11] = new NM(message, "Total Occurrences");
 }
示例#3
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 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");
 }
示例#4
0
文件: XTN.cs 项目: nHapiNET/nHapi
 ///<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 NM(message, "Country Code");
     data[5]  = new NM(message, "Area/City Code");
     data[6]  = new NM(message, "Local Number");
     data[7]  = new NM(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");
 }
示例#5
0
文件: SCV.cs 项目: nHapiNET/nHapi
 ///<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");
 }
示例#6
0
 ///<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");
 }
示例#7
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");
 }
示例#8
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");
 }
示例#9
0
文件: DLD.cs 项目: nHapiNET/nHapi
 ///<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");
 }