Esempio n. 1
0
File: MO.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a MO.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public MO(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new NM(message,"Quantity");
     data[1] = new ID(message, 0,"Denomination");
 }
Esempio n. 2
0
 ///<summary>
 /// Creates a CM_CCD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_CCD(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new ID(message, 0,"When to charge code");
     data[1] = new TS(message,"Date/time");
 }
Esempio n. 3
0
 ///<summary>
 /// Creates a CM_DLD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_DLD(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new ID(message, 0,"Discharge location");
     data[1] = new TS(message,"Effective date");
 }
Esempio n. 4
0
 ///<summary>
 /// Creates a CM_MSG.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_MSG(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new ID(message, 0,"Message type");
     data[1] = new ID(message, 0,"Trigger event");
 }
Esempio n. 5
0
File: HD.cs Progetto: 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, 0,"Namespace ID");
     data[1] = new ST(message,"Universal ID");
     data[2] = new ID(message, 0,"Universal ID type");
 }
Esempio n. 6
0
 ///<summary>
 /// Creates a CM_PCF.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_PCF(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new IS(message, 0,"Pre-certification patient type");
     data[1] = new ID(message, 0,"Pre-certification required");
     data[2] = new TS(message,"Pre-certification windwow");
 }
Esempio n. 7
0
File: EI.cs Progetto: 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, 0,"Namespace ID");
     data[2] = new ST(message,"Universal ID");
     data[3] = new ID(message, 0,"Universal ID type");
 }
Esempio n. 8
0
File: VH.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a VH.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public VH(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ID(message, 0,"Start day range");
     data[1] = new ID(message, 0,"End day range");
     data[2] = new TM(message,"Start hour range");
     data[3] = new TM(message,"End hour range");
 }
Esempio n. 9
0
File: QSC.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a QSC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public QSC(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"Name of field");
     data[1] = new ID(message, 0,"Relational operator");
     data[2] = new ST(message,"Value");
     data[3] = new ID(message, 0,"Relational conjunction");
 }
Esempio n. 10
0
File: CK.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a CK.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CK(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new NM(message,"ID number (NM)");
     data[1] = new ST(message,"Check digit");
     data[2] = new ID(message, 0,"Code identifying the check digit scheme employed");
     data[3] = new HD(message,"Assigning authority");
 }
Esempio n. 11
0
 ///<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");
 }
Esempio n. 12
0
File: RP.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a RP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RP(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"Pointer");
     data[1] = new HD(message,"Application ID");
     data[2] = new ID(message, 0,"Type of data");
     data[3] = new ID(message, 0,"Subtype");
 }
Esempio n. 13
0
File: ED.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a ED.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public ED(Message message, string description)
     : base(message, description)
 {
     data = new Type[5];
     data[0] = new HD(message,"Source application");
     data[1] = new ID(message, 0,"Type of data");
     data[2] = new ID(message, 0,"Data1");
     data[3] = new ID(message, 0,"Encoding");
     data[4] = new ST(message,"Data2");
 }
Esempio n. 14
0
File: CP.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a CP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CP(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new MO(message,"Price");
     data[1] = new ID(message, 0,"Price type");
     data[2] = new NM(message,"From value");
     data[3] = new NM(message,"To value");
     data[4] = new CE(message,"Range units");
     data[5] = new ID(message, 0,"Range type");
 }
Esempio n. 15
0
File: CF.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a CF.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CF(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new ID(message, 0,"Identifier");
     data[1] = new FT(message,"Formatted text");
     data[2] = new ST(message,"Name of coding system");
     data[3] = new ID(message, 0,"Alternate identifier");
     data[4] = new FT(message,"Alternate formatted text");
     data[5] = new ST(message,"Name of alternate coding system");
 }
Esempio n. 16
0
File: CX.cs Progetto: 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[6];
     data[0] = new ST(message,"ID");
     data[1] = new ST(message,"Check digit");
     data[2] = new ID(message, 0,"Code identifying the check digit scheme employed");
     data[3] = new HD(message,"Assigning authority");
     data[4] = new IS(message, 203,"Identifier type code");
     data[5] = new HD(message,"Assigning facility");
 }
Esempio n. 17
0
 ///<summary>
 /// Creates a CM_CSU.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_CSU(Message message, string description)
     : base(message, description)
 {
     data = new Type[7];
     data[0] = new NM(message,"Sensitivity");
     data[1] = new ID(message, 0,"Units identifier");
     data[2] = new ST(message,"Units text");
     data[3] = new ST(message,"Units name of coding system");
     data[4] = new ID(message, 0,"Units alternate identifer");
     data[5] = new ST(message,"Units alternate text");
     data[6] = new ST(message,"Units name of alternate coding system");
 }
Esempio n. 18
0
File: AD.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a AD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public AD(Message message, string description)
     : base(message, description)
 {
     data = new Type[8];
     data[0] = new ST(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, 0,"Country");
     data[6] = new ID(message, 0,"Address type");
     data[7] = new ST(message,"Other geographic designation");
 }
Esempio n. 19
0
File: XPN.cs Progetto: 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[8];
     data[0] = new ST(message,"Family name");
     data[1] = new ST(message,"Given name");
     data[2] = new ST(message,"Middle initial or name");
     data[3] = new ST(message,"Suffix (e.g., JR or III)");
     data[4] = new ST(message,"Prefix (e.g., DR)");
     data[5] = new ST(message,"Degree (e.g., MD)");
     data[6] = new ID(message, 0,"Name type code");
     data[7] = new ID(message, 0,"Name Representation code");
 }
Esempio n. 20
0
File: XON.cs Progetto: 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[8];
     data[0] = new ST(message,"Organization name");
     data[1] = new IS(message, 0,"Organization name type code");
     data[2] = new NM(message,"ID number (NM)");
     data[3] = new ST(message,"Check digit");
     data[4] = new ID(message, 0,"Code identifying the check digit scheme employed");
     data[5] = new HD(message,"Assigning authority");
     data[6] = new IS(message, 0,"Identifier type code");
     data[7] = new HD(message,"Assigning facility ID");
 }
Esempio n. 21
0
File: CN.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a CN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CN(Message message, string description)
     : base(message, description)
 {
     data = new Type[9];
     data[0] = new ST(message,"ID number (ST)");
     data[1] = new ST(message,"Family name");
     data[2] = new ST(message,"Given name");
     data[3] = new ST(message,"Middle initial or name");
     data[4] = new ST(message,"Suffix (e.g., JR or III)");
     data[5] = new ST(message,"Prefix (e.g., DR)");
     data[6] = new ST(message,"Degree (e.g., MD)");
     data[7] = new ID(message, 0,"Source table");
     data[8] = new HD(message,"Assigning authority");
 }
Esempio n. 22
0
File: XTN.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a XTN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XTN(Message message, string description)
     : base(message, description)
 {
     data = new Type[9];
     data[0] = new TN(message,"[(999)] 999-9999 [X99999][C any text]");
     data[1] = new ID(message, 0,"Telecommunication use code");
     data[2] = new ID(message, 0,"Telecommunication equipment type (ID)");
     data[3] = new ST(message,"Email address");
     data[4] = new NM(message,"Country Code");
     data[5] = new NM(message,"Area/city code");
     data[6] = new NM(message,"Phone number");
     data[7] = new NM(message,"Extension");
     data[8] = new ST(message,"Any text");
 }
Esempio n. 23
0
File: PL.cs Progetto: 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[9];
     data[0] = new ID(message, 0,"Point of care (ID)");
     data[1] = new IS(message, 0,"Room");
     data[2] = new IS(message, 0,"Bed");
     data[3] = new HD(message,"Facility (HD)");
     data[4] = new IS(message, 0,"Location status");
     data[5] = new IS(message, 0,"Person location type");
     data[6] = new IS(message, 0,"Building");
     data[7] = new ST(message,"Floor");
     data[8] = new ST(message,"Location type");
 }
Esempio n. 24
0
 ///<summary>
 /// Creates a CM_OSD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_OSD(Message message, string description)
     : base(message, description)
 {
     data = new Type[11];
     data[0] = new ID(message, 0,"Sequence/results flag");
     data[1] = new ST(message,"Placer order number entity identifier");
     data[2] = new IS(message, 0,"Placer order number namespace ID");
     data[3] = new ST(message,"Filler order number entity identifier");
     data[4] = new IS(message, 0,"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, 0,"Placer order number universal ID type");
     data[9] = new ST(message,"Filler order number universal ID");
     data[10] = new ID(message, 0,"Filler order number universal ID type");
 }
Esempio n. 25
0
File: XCN.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a XCN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XCN(Message message, string description)
     : base(message, description)
 {
     data = new Type[14];
     data[0] = new ST(message,"ID number (ST)");
     data[1] = new ST(message,"Family name");
     data[2] = new ST(message,"Given name");
     data[3] = new ST(message,"Middle initial or name");
     data[4] = new ST(message,"Suffix (e.g., JR or III)");
     data[5] = new ST(message,"Prefix (e.g., DR)");
     data[6] = new ST(message,"Degree (e.g., MD)");
     data[7] = new ID(message, 0,"Source table");
     data[8] = new HD(message,"Assigning authority");
     data[9] = new ID(message, 0,"Name type");
     data[10] = new ST(message,"Identifier check digit");
     data[11] = new ID(message, 0,"Code identifying the check digit scheme employed");
     data[12] = new IS(message, 0,"Identifier type code");
     data[13] = new HD(message,"Assigning facility ID");
 }
Esempio n. 26
0
 ///<summary>
 /// Creates a CM_LA1.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_LA1(Message message, string description)
     : base(message, description)
 {
     data = new Type[16];
     data[0] = new ST(message,"Point of care (ST)");
     data[1] = new IS(message, 0,"Room");
     data[2] = new IS(message, 0,"Bed");
     data[3] = new HD(message,"Facility (HD)");
     data[4] = new IS(message, 0,"Location status");
     data[5] = new IS(message, 0,"Person location type");
     data[6] = new IS(message, 0,"Building");
     data[7] = new ST(message,"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, 0,"Country");
     data[14] = new ID(message, 0,"Address type");
     data[15] = new ST(message,"Other geographic designation");
 }
Esempio n. 27
0
File: OBX.cs Progetto: snosrap/nhapi
 /**
    * Returns all repetitions of Abnormal Flags (OBX-8).
    */
 public ID[] getAbnormalFlags()
 {
     ID[] ret = null;
     try {
     Type[] t = this.getField(8);
     ret = new ID[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (ID)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;
 }