Ejemplo n.º 1
0
Archivo: OCD.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a OCD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public OCD(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 0,"Occurrence code");
     data[1] = new DT(message,"Occurrence date");
 }
Ejemplo n.º 2
0
Archivo: OSP.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a OSP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public 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");
 }
Ejemplo n.º 3
0
Archivo: AUI.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a AUI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public AUI(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new ST(message,"Authorization number");
     data[1] = new DT(message,"Date");
     data[2] = new ST(message,"Source");
 }
Ejemplo n.º 4
0
Archivo: DLN.cs Proyecto: 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");
 }
Ejemplo n.º 5
0
Archivo: SPD.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a SPD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public 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");
 }
Ejemplo n.º 6
0
Archivo: PLN.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a PLN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PLN(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"ID number (ST)");
     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");
 }
Ejemplo n.º 7
0
Archivo: PIP.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a PIP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PIP(Message message, string description)
     : base(message, description)
 {
     data = new Type[5];
     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");
     data[4] = new EI(message,"Facility (EI)");
 }
Ejemplo n.º 8
0
Archivo: CX.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a CX.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CX(Message message, string description)
     : base(message, description)
 {
     data = new Type[8];
     data[0] = new ST(message,"ID");
     data[1] = new ST(message,"Check digit (ST)");
     data[2] = new ID(message, 0,"Code identifying the check digit scheme employed");
     data[3] = new HD(message,"Assigning authority");
     data[4] = new ID(message, 203,"Identifier type code (ID)");
     data[5] = new HD(message,"Assigning facility");
     data[6] = new DT(message,"Effective date (DT)");
     data[7] = new DT(message,"Expiration date");
 }
Ejemplo n.º 9
0
Archivo: IN2.cs Proyecto: 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;
 }