示例#1
0
文件: CM_OCD.cs 项目: snosrap/nhapi
 ///<summary>
 /// Creates a CM_OCD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_OCD(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new CE(message,"Occurrence code");
     data[1] = new DT(message,"Occurrence date");
 }
示例#2
0
文件: CM_OSP.cs 项目: snosrap/nhapi
 ///<summary>
 /// Creates a CM_OSP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_OSP(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new CE(message,"Occurrence span code");
     data[1] = new DT(message,"Occurrence span start date");
     data[2] = new DT(message,"Occurrence span stop date");
 }
示例#3
0
文件: DLN.cs 项目: snosrap/nhapi
 ///<summary>
 /// Creates a DLN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DLN(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new ST(message,"Driver´s License Number");
     data[1] = new IS(message, 0,"Issuing State, province, country");
     data[2] = new DT(message,"Expiration date");
 }
示例#4
0
文件: CM_PIP.cs 项目: snosrap/nhapi
 ///<summary>
 /// Creates a CM_PIP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_PIP(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new CE(message,"Privilege");
     data[1] = new CE(message,"Privilege class");
     data[2] = new DT(message,"Expiration date");
     data[3] = new DT(message,"Activation date");
 }
示例#5
0
文件: CM_SPD.cs 项目: snosrap/nhapi
 ///<summary>
 /// Creates a CM_SPD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_SPD(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"Specialty name");
     data[1] = new ST(message,"Governing board");
     data[2] = new ID(message, 0,"Eligible or certified");
     data[3] = new DT(message,"Date of certification");
 }
示例#6
0
文件: CM_PLN.cs 项目: snosrap/nhapi
 ///<summary>
 /// Creates a CM_PLN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_PLN(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"ID number");
     data[1] = new IS(message, 0,"Type of ID number (IS)");
     data[2] = new ST(message,"State/other qualifying info");
     data[3] = new DT(message,"Expiration date");
 }
示例#7
0
文件: IN2.cs 项目: snosrap/nhapi
 /**
    * Returns all repetitions of Relationship To The Patient Stop Date (IN2-56).
    */
 public DT[] getRelationshipToThePatientStopDate()
 {
     DT[] ret = null;
     try {
     Type[] t = this.getField(56);
     ret = new DT[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (DT)t[i];
     }
     } catch (HL7Exception he) {
     HapiLogFactory.getHapiLog(this.GetType()).error("Unexpected problem obtaining field value.  This is a bug.", he);
     throw new System.Exception("An unexpected error ocurred", he);
     } catch (System.Exception cce) {
     HapiLogFactory.getHapiLog(GetType()).error("Unexpected problem obtaining field value.  This is a bug.", cce);
     throw new System.Exception("An unexpected error ocurred", cce);
       }
      return ret;
 }
示例#8
0
 ///<summary>
 /// Creates a CM_OCD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_OCD(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new CE(message, "Occurrence code");
     data[1] = new DT(message, "Occurrence date");
 }