예제 #1
0
파일: OCD.cs 프로젝트: 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 CNE(message,"Occurrence Code");
     data[1] = new DT(message,"Occurrence Date");
 }
예제 #2
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,"License Number");
     data[1] = new IS(message, 333,"Issuing State, Province, Country");
     data[2] = new DT(message,"Expiration Date");
 }
예제 #3
0
파일: AUI.cs 프로젝트: 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");
 }
예제 #4
0
파일: OSP.cs 프로젝트: 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 CNE(message,"Occurrence Span Code");
     data[1] = new DT(message,"Occurrence Span Start Date");
     data[2] = new DT(message,"Occurrence Span Stop Date");
 }
예제 #5
0
파일: SPD.cs 프로젝트: 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, 337,"Eligible or Certified");
     data[3] = new DT(message,"Date of Certification");
 }
예제 #6
0
파일: PLN.cs 프로젝트: 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");
     data[1] = new IS(message, 338,"Type of ID Number");
     data[2] = new ST(message,"State/other Qualifying Information");
     data[3] = new DT(message,"Expiration Date");
 }
예제 #7
0
파일: PIP.cs 프로젝트: 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");
 }
예제 #8
0
파일: CX.cs 프로젝트: 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[10];
     data[0] = new ST(message,"ID Number");
     data[1] = new ST(message,"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");
 }
예제 #9
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;
 }