Esempio n. 1
0
File: CQ.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a CQ.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CQ(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new NM(message,"Quantity");
     data[1] = new CE(message,"Units");
 }
Esempio n. 2
0
 ///<summary>
 /// Creates a CM_WVI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_WVI(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new NM(message,"Channel Number");
     data[1] = new ST(message,"Channel Name");
 }
Esempio n. 3
0
 ///<summary>
 /// Creates a CM_MDV.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_MDV(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new NM(message,"Minimum Value");
     data[1] = new NM(message,"Maximum Value");
 }
Esempio n. 4
0
 ///<summary>
 /// Creates a CM_UVC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_UVC(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 0,"Value code");
     data[1] = new NM(message,"Value amount");
 }
Esempio n. 5
0
 ///<summary>
 /// Creates a CM_DTN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_DTN(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 0,"Day type");
     data[1] = new NM(message,"Number of days");
 }
Esempio n. 6
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. 7
0
 ///<summary>
 /// Creates a CM_PEN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_PEN(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new IS(message, 0,"Penalty type");
     data[1] = new NM(message,"Penalty amount");
 }
Esempio n. 8
0
 ///<summary>
 /// Creates a CM_DDI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_DDI(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new NM(message,"Delay days");
     data[1] = new NM(message,"Amount");
     data[2] = new NM(message,"Number of days");
 }
Esempio n. 9
0
File: RCD.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a RCD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public RCD(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new ST(message,"HL7 item number");
     data[1] = new ST(message,"HL7 date type");
     data[2] = new NM(message,"Maximum column width");
 }
Esempio n. 10
0
 ///<summary>
 /// Creates a CM_CCP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_CCP(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new NM(message,"Sensitivity correction factory");
     data[1] = new NM(message,"Baseline");
     data[2] = new NM(message,"Time skew");
 }
Esempio n. 11
0
 ///<summary>
 /// Creates a CM_PTA.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_PTA(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new IS(message, 147,"Policy type");
     data[1] = new IS(message, 193,"Amount class");
     data[2] = new NM(message,"Amount");
 }
Esempio n. 12
0
 ///<summary>
 /// Creates a CM_RMC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_RMC(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new IS(message, 145,"Room type");
     data[1] = new IS(message, 0,"Amount type");
     data[2] = new NM(message,"Coverage amount");
 }
Esempio n. 13
0
File: SN.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a SN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public SN(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"Comparator");
     data[1] = new NM(message,"Num1");
     data[2] = new ST(message,"Separator or suffix");
     data[3] = new NM(message,"Num2");
 }
Esempio n. 14
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. 15
0
File: NA.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a NA.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public NA(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new NM(message,"Value1");
     data[1] = new NM(message,"Value2");
     data[2] = new NM(message,"Value3");
     data[3] = new NM(message,"Value4");
 }
Esempio n. 16
0
 ///<summary>
 /// Creates a CM_ELD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_ELD(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"Segment ID");
     data[1] = new NM(message,"Sequence");
     data[2] = new NM(message,"Field position");
     data[3] = new CE(message,"Code identifying error");
 }
Esempio n. 17
0
 ///<summary>
 /// Creates a CM_DLT.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_DLT(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new CM_RANGE(message,"Range");
     data[1] = new NM(message,"Numeric threshold");
     data[2] = new ST(message,"Change");
     data[3] = new NM(message,"Length of time-days");
 }
Esempio n. 18
0
 ///<summary>
 /// Creates a CM_ABS_RANGE.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_ABS_RANGE(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new CM_RANGE(message,"Range");
     data[1] = new NM(message,"Numeric Change");
     data[2] = new NM(message,"Percent per Change");
     data[3] = new NM(message,"Days");
 }
Esempio n. 19
0
File: CD.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a CD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CD(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new CM_WVI(message,"Channel identifier");
     data[1] = new CM_CD_ELECTRODE(message,"Electrode names");
     data[2] = new CM_CSU(message,"Channel sensitivity/units");
     data[3] = new CM_CCP(message,"Calibration parameters");
     data[4] = new NM(message,"Sampling frequency");
     data[5] = new CM_MDV(message,"Minimum/maximum data values");
 }
Esempio n. 20
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. 21
0
File: MA.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a MA.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public MA(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new NM(message,"Sample 1 from channel 1");
     data[1] = new NM(message,"Sample 1 from channel 2");
     data[2] = new NM(message,"Sample 1 from channel 3");
     data[3] = new NM(message,"Sample 2 from channel 1");
     data[4] = new NM(message,"Sample 2 from channel 2");
     data[5] = new NM(message,"Sample 2 from channel 3");
 }
Esempio n. 22
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. 23
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. 24
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. 25
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. 26
0
 ///<summary>
 /// Creates a CM_UVC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_UVC(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0, "Value code");
     data[1] = new NM(message, "Value amount");
 }
Esempio n. 27
0
 ///<summary>
 /// Creates a CM_MDV.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_MDV(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new NM(message, "Minimum Value");
     data[1] = new NM(message, "Maximum Value");
 }
Esempio n. 28
0
 ///<summary>
 /// Creates a CQ.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CQ(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new NM(message, "Quantity");
     data[1] = new CE(message, "Units");
 }
Esempio n. 29
0
 ///<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. 30
0
File: PSH.cs Progetto: snosrap/nhapi
 /**
    * Returns all repetitions of Number of Product Experience Reports Filed by Distributor (PSH-14).
    */
 public NM[] getNumberOfProductExperienceReportsFiledByDistributor()
 {
     NM[] ret = null;
     try {
     Type[] t = this.getField(14);
     ret = new NM[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (NM)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;
 }
Esempio n. 31
0
File: BTS.cs Progetto: snosrap/nhapi
 /**
    * Returns all repetitions of Batch Totals (BTS-3).
    */
 public NM[] getBatchTotals()
 {
     NM[] ret = null;
     try {
     Type[] t = this.getField(3);
     ret = new NM[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (NM)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;
 }
Esempio n. 32
0
 ///<summary>
 /// Creates a CM_DTN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_DTN(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0, "Day type");
     data[1] = new NM(message, "Number of days");
 }
Esempio n. 33
0
 ///<summary>
 /// Creates a CM_WVI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_WVI(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new NM(message, "Channel Number");
     data[1] = new ST(message, "Channel Name");
 }