Ejemplo n.º 1
0
Archivo: DLD.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a DLD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DLD(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 113,"Discharge Location");
     data[1] = new TS(message,"Effective Date");
 }
Ejemplo n.º 2
0
Archivo: FC.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a FC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public FC(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 64,"Financial Class Code");
     data[1] = new TS(message,"Effective Date");
 }
Ejemplo n.º 3
0
Archivo: DTN.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a DTN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DTN(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 149,"Day Type");
     data[1] = new NM(message,"Number of Days");
 }
Ejemplo n.º 4
0
Archivo: PPN.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a PPN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PPN(Message message, string description)
     : base(message, description)
 {
     data = new Type[24];
     data[0] = new ST(message,"ID Number");
     data[1] = new FN(message,"Family Name");
     data[2] = new ST(message,"Given Name");
     data[3] = new ST(message,"Second and Further Given Names or Initials Thereof");
     data[4] = new ST(message,"Suffix (e.g., JR or III)");
     data[5] = new ST(message,"Prefix (e.g., DR)");
     data[6] = new IS(message, 360,"Degree (e.g., MD)");
     data[7] = new IS(message, 297,"Source Table");
     data[8] = new HD(message,"Assigning Authority");
     data[9] = new ID(message, 200,"Name Type Code");
     data[10] = new ST(message,"Identifier Check Digit");
     data[11] = new ID(message, 61,"Check Digit Scheme");
     data[12] = new ID(message, 203,"Identifier Type Code");
     data[13] = new HD(message,"Assigning Facility");
     data[14] = new TS(message,"Date/Time Action Performed");
     data[15] = new ID(message, 465,"Name Representation Code");
     data[16] = new CE(message,"Name Context");
     data[17] = new DR(message,"Name Validity Range");
     data[18] = new ID(message, 444,"Name Assembly Order");
     data[19] = new TS(message,"Effective Date");
     data[20] = new TS(message,"Expiration Date");
     data[21] = new ST(message,"Professional Suffix");
     data[22] = new CWE(message,"Assigning Jurisdiction");
     data[23] = new CWE(message,"Assigning Agency or Department");
 }
Ejemplo n.º 5
0
Archivo: RI.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a RI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RI(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 335,"Repeat Pattern");
     data[1] = new ST(message,"Explicit Time Interval");
 }
Ejemplo n.º 6
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,"License Number");
     data[1] = new IS(message, 333,"Issuing State, Province, Country");
     data[2] = new DT(message,"Expiration Date");
 }
Ejemplo n.º 7
0
Archivo: HD.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a HD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public HD(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new IS(message, 300,"Namespace ID");
     data[1] = new ST(message,"Universal ID");
     data[2] = new ID(message, 301,"Universal ID Type");
 }
Ejemplo n.º 8
0
Archivo: JCC.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a JCC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public JCC(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new IS(message, 327,"Job Code");
     data[1] = new IS(message, 328,"Job Class");
     data[2] = new TX(message,"Job Description Text");
 }
Ejemplo n.º 9
0
Archivo: ICD.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a ICD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public ICD(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new IS(message, 150,"Certification Patient Type");
     data[1] = new ID(message, 136,"Certification Required");
     data[2] = new TS(message,"Date/Time Certification Required");
 }
Ejemplo n.º 10
0
Archivo: EI.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a EI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public EI(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"Entity Identifier");
     data[1] = new IS(message, 363,"Namespace ID");
     data[2] = new ST(message,"Universal ID");
     data[3] = new ID(message, 301,"Universal ID Type");
 }
Ejemplo n.º 11
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");
     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");
 }
Ejemplo n.º 12
0
Archivo: RMC.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a RMC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RMC(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new IS(message, 145,"Room Type");
     data[1] = new IS(message, 146,"Amount Type");
     data[2] = new NM(message,"Coverage Amount");
     data[3] = new MOP(message,"Money or Percentage");
 }
Ejemplo n.º 13
0
Archivo: PTA.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a PTA.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PTA(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new IS(message, 147,"Policy Type");
     data[1] = new IS(message, 193,"Amount Class");
     data[2] = new NM(message,"Money or Percentage Quantity");
     data[3] = new MOP(message,"Money or Percentage");
 }
Ejemplo n.º 14
0
Archivo: RFR.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a RFR.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RFR(Message message, string description)
     : base(message, description)
 {
     data = new Type[7];
     data[0] = new NR(message,"Numeric Range");
     data[1] = new IS(message, 1,"Administrative Sex");
     data[2] = new NR(message,"Age Range");
     data[3] = new NR(message,"Gestational Age Range");
     data[4] = new ST(message,"Species");
     data[5] = new ST(message,"Race/subspecies");
     data[6] = new TX(message,"Conditions");
 }
Ejemplo n.º 15
0
Archivo: LA1.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a LA1.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public LA1(Message message, string description)
     : base(message, description)
 {
     data = new Type[9];
     data[0] = new IS(message, 302,"Point of Care");
     data[1] = new IS(message, 303,"Room");
     data[2] = new IS(message, 304,"Bed");
     data[3] = new HD(message,"Facility");
     data[4] = new IS(message, 306,"Location Status");
     data[5] = new IS(message, 305,"Patient Location Type");
     data[6] = new IS(message, 307,"Building");
     data[7] = new IS(message, 308,"Floor");
     data[8] = new AD(message,"Address");
 }
Ejemplo n.º 16
0
Archivo: XON.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a XON.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XON(Message message, string description)
     : base(message, description)
 {
     data = new Type[10];
     data[0] = new ST(message,"Organization Name");
     data[1] = new IS(message, 204,"Organization Name Type Code");
     data[2] = new NM(message,"ID Number");
     data[3] = new NM(message,"Check Digit");
     data[4] = new ID(message, 61,"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");
 }
Ejemplo n.º 17
0
Archivo: PL.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a PL.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PL(Message message, string description)
     : base(message, description)
 {
     data = new Type[11];
     data[0] = new IS(message, 302,"Point of Care");
     data[1] = new IS(message, 303,"Room");
     data[2] = new IS(message, 304,"Bed");
     data[3] = new HD(message,"Facility");
     data[4] = new IS(message, 306,"Location Status");
     data[5] = new IS(message, 305,"Person Location Type");
     data[6] = new IS(message, 307,"Building");
     data[7] = new IS(message, 308,"Floor");
     data[8] = new ST(message,"Location Description");
     data[9] = new EI(message,"Comprehensive Location Identifier");
     data[10] = new HD(message,"Assigning Authority for Location");
 }
Ejemplo n.º 18
0
Archivo: RPT.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a RPT.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RPT(Message message, string description)
     : base(message, description)
 {
     data = new Type[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");
 }
Ejemplo n.º 19
0
Archivo: CNN.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a CNN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CNN(Message message, string description)
     : base(message, description)
 {
     data = new Type[11];
     data[0] = new ST(message,"ID Number");
     data[1] = new ST(message,"Family Name");
     data[2] = new ST(message,"Given Name");
     data[3] = new ST(message,"Second and Further Given Names or Initials Thereof");
     data[4] = new ST(message,"Suffix (e.g., JR or III)");
     data[5] = new ST(message,"Prefix (e.g., DR)");
     data[6] = new IS(message, 360,"Degree (e.g., MD");
     data[7] = new IS(message, 297,"Source Table");
     data[8] = new IS(message, 363,"Assigning Authority   - Namespace ID");
     data[9] = new ST(message,"Assigning Authority  - Universal ID");
     data[10] = new ID(message, 301,"Assigning Authority  - Universal ID Type");
 }
Ejemplo n.º 20
0
Archivo: OSD.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a OSD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public OSD(Message message, string description)
     : base(message, description)
 {
     data = new Type[11];
     data[0] = new ID(message, 524,"Sequence/Results Flag");
     data[1] = new ST(message,"Placer Order Number: Entity Identifier");
     data[2] = new IS(message, 363,"Placer Order Number: Namespace ID");
     data[3] = new ST(message,"Filler Order Number: Entity Identifier");
     data[4] = new IS(message, 363,"Filler Order Number: Namespace ID");
     data[5] = new ST(message,"Sequence Condition Value");
     data[6] = new NM(message,"Maximum Number of Repeats");
     data[7] = new ST(message,"Placer Order Number: Universal ID");
     data[8] = new ID(message, 301,"Placer Order Number: Universal ID Type");
     data[9] = new ST(message,"Filler Order Number: Universal ID");
     data[10] = new ID(message, 301,"Filler Order Number: Universal ID Type");
 }
Ejemplo n.º 21
0
Archivo: NDL.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a NDL.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public NDL(Message message, string description)
     : base(message, description)
 {
     data = new Type[11];
     data[0] = new CNN(message,"Name");
     data[1] = new TS(message,"Start Date/time");
     data[2] = new TS(message,"End Date/time");
     data[3] = new IS(message, 302,"Point of Care");
     data[4] = new IS(message, 303,"Room");
     data[5] = new IS(message, 304,"Bed");
     data[6] = new HD(message,"Facility");
     data[7] = new IS(message, 306,"Location Status");
     data[8] = new IS(message, 305,"Patient Location Type");
     data[9] = new IS(message, 307,"Building");
     data[10] = new IS(message, 308,"Floor");
 }
Ejemplo n.º 22
0
Archivo: XAD.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a XAD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XAD(Message message, string description)
     : base(message, description)
 {
     data = new Type[14];
     data[0] = new SAD(message,"Street Address");
     data[1] = new ST(message,"Other Designation");
     data[2] = new ST(message,"City");
     data[3] = new ST(message,"State or Province");
     data[4] = new ST(message,"Zip or Postal Code");
     data[5] = new ID(message, 399,"Country");
     data[6] = new ID(message, 190,"Address Type");
     data[7] = new ST(message,"Other Geographic Designation");
     data[8] = new IS(message, 289,"County/Parish Code");
     data[9] = new IS(message, 288,"Census Tract");
     data[10] = new ID(message, 465,"Address Representation Code");
     data[11] = new DR(message,"Address Validity Range");
     data[12] = new TS(message,"Effective Date");
     data[13] = new TS(message,"Expiration Date");
 }
Ejemplo n.º 23
0
Archivo: XPN.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a XPN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XPN(Message message, string description)
     : base(message, description)
 {
     data = new Type[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 CE(message,"Name Context");
     data[9] = new DR(message,"Name Validity Range");
     data[10] = new ID(message, 444,"Name Assembly Order");
     data[11] = new TS(message,"Effective Date");
     data[12] = new TS(message,"Expiration Date");
     data[13] = new ST(message,"Professional Suffix");
 }
Ejemplo n.º 24
0
Archivo: LA2.cs Proyecto: snosrap/nhapi
 ///<summary>
 /// Creates a LA2.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public LA2(Message message, string description)
     : base(message, description)
 {
     data = new Type[16];
     data[0] = new IS(message, 302,"Point of Care");
     data[1] = new IS(message, 303,"Room");
     data[2] = new IS(message, 304,"Bed");
     data[3] = new HD(message,"Facility");
     data[4] = new IS(message, 306,"Location Status");
     data[5] = new IS(message, 305,"Patient Location Type");
     data[6] = new IS(message, 307,"Building");
     data[7] = new IS(message, 308,"Floor");
     data[8] = new ST(message,"Street Address");
     data[9] = new ST(message,"Other Designation");
     data[10] = new ST(message,"City");
     data[11] = new ST(message,"State or Province");
     data[12] = new ST(message,"Zip or Postal Code");
     data[13] = new ID(message, 399,"Country");
     data[14] = new ID(message, 190,"Address Type");
     data[15] = new ST(message,"Other Geographic Designation");
 }
Ejemplo n.º 25
0
 ///<summary>
 /// Creates a DLD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DLD(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 113, "Discharge Location");
     data[1] = new TS(message, "Effective Date");
 }
Ejemplo n.º 26
0
 ///<summary>
 /// Creates a RI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RI(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 335, "Repeat Pattern");
     data[1] = new ST(message, "Explicit Time Interval");
 }
Ejemplo n.º 27
0
Archivo: IN3.cs Proyecto: snosrap/nhapi
 /**
    * Returns all repetitions of Second Opinion Documentation Received (IN3-24).
    */
 public IS[] getSecondOpinionDocumentationReceived()
 {
     IS[] ret = null;
     try {
     Type[] t = this.getField(24);
     ret = new IS[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (IS)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;
 }
Ejemplo n.º 28
0
 ///<summary>
 /// Creates a DTN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DTN(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 149, "Day Type");
     data[1] = new NM(message, "Number of Days");
 }
Ejemplo n.º 29
0
 ///<summary>
 /// Creates a FC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public FC(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 64, "Financial Class Code");
     data[1] = new TS(message, "Effective Date");
 }