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
File: DTN.cs Progetto: 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");
 }
Esempio n. 3
0
File: NR.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a NR.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public NR(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new NM(message,"Low Value");
     data[1] = new NM(message,"High Value");
 }
Esempio n. 4
0
File: WVI.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a WVI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public 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. 5
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. 6
0
File: CCP.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a CCP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CCP(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new NM(message,"Channel Calibration Sensitivity Correction Factor");
     data[1] = new NM(message,"Channel Calibration Baseline");
     data[2] = new NM(message,"Channel Calibration Time Skew");
 }
Esempio n. 7
0
File: DDI.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a DDI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DDI(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new NM(message,"Delay Days");
     data[1] = new MO(message,"Monetary Amount");
     data[2] = new NM(message,"Number of Days");
 }
Esempio n. 8
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,"Segment Field Name");
     data[1] = new ID(message, 440,"HL7 Data Type");
     data[2] = new NM(message,"Maximum Column Width");
 }
Esempio n. 9
0
File: MOP.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a MOP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public MOP(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new ID(message, 148,"Money or Percentage Indicator");
     data[1] = new NM(message,"Money or Percentage Quantity");
     data[2] = new ID(message, 0,"Currency Denomination");
 }
Esempio n. 10
0
File: RMC.cs Progetto: 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");
 }
Esempio n. 11
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/Suffix");
     data[3] = new NM(message,"Num2");
 }
Esempio n. 12
0
File: PTA.cs Progetto: 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");
 }
Esempio n. 13
0
File: DLT.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a DLT.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public DLT(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new NR(message,"Normal Range");
     data[1] = new NM(message,"Numeric Threshold");
     data[2] = new ID(message, 523,"Change Computation");
     data[3] = new NM(message,"Days Retained");
 }
Esempio n. 14
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. 15
0
File: ELD.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a ELD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public ELD(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"Segment ID");
     data[1] = new NM(message,"Segment Sequence");
     data[2] = new NM(message,"Field Position");
     data[3] = new CE(message,"Code Identifying Error");
 }
Esempio n. 16
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 N");
     data[3] = new NM(message,"Sample 2 From Channel 1");
     data[4] = new NM(message,"Sample 2 From Channel N");
     data[5] = new NM(message,"Sample N From Channel N");
 }
Esempio n. 17
0
File: ERL.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a ERL.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public ERL(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new ST(message,"Segment ID");
     data[1] = new NM(message,"Segment Sequence");
     data[2] = new NM(message,"Field Position");
     data[3] = new NM(message,"Field Repetition");
     data[4] = new NM(message,"Component Number");
     data[5] = new NM(message,"Sub-Component Number");
 }
Esempio n. 18
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, 205,"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, 298,"Range Type");
 }
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 WVI(message,"Channel Identifier");
     data[1] = new WVS(message,"Waveform Source");
     data[2] = new CSU(message,"Channel Sensitivity/Units");
     data[3] = new CCP(message,"Channel Calibration Parameters");
     data[4] = new NM(message,"Channel Sampling Frequency");
     data[5] = new NR(message,"Minimum/Maximum Data Values");
 }
Esempio n. 20
0
File: CSU.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a CSU.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CSU(Message message, string description)
     : base(message, description)
 {
     data = new Type[7];
     data[0] = new NM(message,"Channel Sensitivity");
     data[1] = new ST(message,"Unit of Measure Identifier");
     data[2] = new ST(message,"Unit of Measure Description");
     data[3] = new ID(message, 396,"Unit of Measure Coding System");
     data[4] = new ST(message,"Alternate Unit of Measure Identifier");
     data[5] = new ST(message,"Alternate Unit of Measure Description");
     data[6] = new ID(message, 396,"Alternate Unit of Measure Coding System");
 }
Esempio n. 21
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[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");
 }
Esempio n. 22
0
File: OSD.cs Progetto: 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");
 }
Esempio n. 23
0
File: RPT.cs Progetto: 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");
 }
Esempio n. 24
0
File: TQ.cs Progetto: snosrap/nhapi
 ///<summary>
 /// Creates a TQ.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public TQ(Message message, string description)
     : base(message, description)
 {
     data = new Type[12];
     data[0] = new CQ(message,"Quantity");
     data[1] = new RI(message,"Interval");
     data[2] = new ST(message,"Duration");
     data[3] = new TS(message,"Start Date/Time");
     data[4] = new TS(message,"End Date/Time");
     data[5] = new ST(message,"Priority");
     data[6] = new ST(message,"Condition");
     data[7] = new TX(message,"Text");
     data[8] = new ID(message, 472,"Conjunction");
     data[9] = new OSD(message,"Order Sequencing");
     data[10] = new CE(message,"Occurrence Duration");
     data[11] = new NM(message,"Total Occurrences");
 }
Esempio n. 25
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[12];
     data[0] = new ST(message,"Telephone Number");
     data[1] = new ID(message, 201,"Telecommunication Use Code");
     data[2] = new ID(message, 202,"Telecommunication Equipment Type");
     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,"Local Number");
     data[7] = new NM(message,"Extension");
     data[8] = new ST(message,"Any Text");
     data[9] = new ST(message,"Extension Prefix");
     data[10] = new ST(message,"Speed Dial Code");
     data[11] = new ST(message,"Unformatted Telephone number");
 }
Esempio n. 26
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. 27
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. 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");
 }
Esempio n. 29
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. 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
 ///<summary>
 /// Creates a WVI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public 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. 32
0
 ///<summary>
 /// Creates a NR.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public NR(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new NM(message, "Low Value");
     data[1] = new NM(message, "High Value");
 }