Exemple #1
0
 ///<summary>
 /// Creates a TS.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public TS(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new TSComponentOne(message,"Time of an event");
     data[1] = new ST(message,"Degree of precision");
 }
Exemple #2
0
 ///<summary>
 /// Creates a CM_MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_MOC(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new ST(message,"Dollar amount");
     data[1] = new ST(message,"Charge code");
 }
Exemple #3
0
 ///<summary>
 /// Creates a CM_EIP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_EIP(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new ST(message,"Parent´s placer order number");
     data[1] = new ST(message,"Parent´s filler order number");
 }
Exemple #4
0
 ///<summary>
 /// Creates a CM_RI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_RI(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new ST(message,"Repeat pattern");
     data[1] = new ST(message,"Explicit time intevall");
 }
Exemple #5
0
 ///<summary>
 /// Creates a CQ_QUANTITY.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CQ_QUANTITY(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new ST(message,"Quantity");
     data[1] = new ST(message,"Units");
 }
Exemple #6
0
 ///<summary>
 /// Creates a CM_VR.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_VR(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new ST(message,"First data code value");
     data[1] = new ST(message,"Last data code calue");
 }
Exemple #7
0
 ///<summary>
 /// Creates a CM_LICENSE_NO.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_LICENSE_NO(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new ST(message,"License Number");
     data[1] = new ST(message,"Issuing state,province,country");
 }
Exemple #8
0
 ///<summary>
 /// Creates a CM_PARENT_RESULT.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_PARENT_RESULT(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new CE(message,"Observation identifier (OBX-3) of parent result");
     data[1] = new ST(message,"Sub-ID (OBX-4) of parent result");
     data[2] = new CE(message,"Result (OBX-5) from parent");
 }
Exemple #9
0
 ///<summary>
 /// Creates a CM_PLN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_PLN(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new ST(message,"ID number");
     data[1] = new ID(message, 0,"Type of ID number (ID)");
     data[2] = new ST(message,"State/other qualifiying info");
 }
Exemple #10
0
 ///<summary>
 /// Creates a CM_POSITION.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_POSITION(Message message, string description)
     : base(message, description)
 {
     data = new Type[3];
     data[0] = new ST(message,"Saal");
     data[1] = new ST(message,"Tisch");
     data[2] = new ST(message,"Stuhl");
 }
Exemple #11
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 ST(message,"Delay days");
     data[1] = new NM(message,"Amount");
     data[2] = new NM(message,"Number of days");
 }
Exemple #12
0
 ///<summary>
 /// Creates a CM_AUI.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_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");
 }
Exemple #13
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");
 }
Exemple #14
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");
 }
Exemple #15
0
 ///<summary>
 /// Creates a CK_PAT_ID.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CK_PAT_ID(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new ST(message,"Patient ID");
     data[1] = new NM(message,"Check digit");
     data[2] = new ID(message, 0,"Check digit scheme");
     data[3] = new ID(message, 0,"Facility ID");
 }
Exemple #16
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");
 }
Exemple #17
0
 ///<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 ST(message,"ID Number");
     data[1] = new NM(message,"Check Digit");
     data[2] = new ID(message, 0,"Check Digit Scheme");
     data[3] = new ID(message, 0,"Facility ID");
 }
Exemple #18
0
 ///<summary>
 /// Creates a PN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public PN(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new ST(message,"Familiy 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)");
 }
Exemple #19
0
 ///<summary>
 /// Creates a CE.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CE(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new ID(message, 0,"Identifier");
     data[1] = new ST(message,"Text");
     data[2] = new ST(message,"Name of coding system");
     data[3] = new ST(message,"Alternate identifier");
     data[4] = new ST(message,"Alternate text");
     data[5] = new ST(message,"Name of alternate coding system");
 }
Exemple #20
0
 ///<summary>
 /// Creates a CM_RFR.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_RFR(Message message, string description)
     : base(message, description)
 {
     data = new Type[7];
     data[0] = new CM_RANGE(message,"Reference Range");
     data[1] = new ID(message, 0,"Sex");
     data[2] = new CM_RANGE(message,"Age Range");
     data[3] = new CM_RANGE(message,"Gestational Age Range");
     data[4] = new ST(message,"Species");
     data[5] = new ID(message, 0,"Race / Subspecies");
     data[6] = new ST(message,"Text Condition");
 }
Exemple #21
0
 ///<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 ID(message, 0,"Zip or postal code");
     data[5] = new ID(message, 0,"Country");
     data[6] = new ID(message, 0,"Type");
     data[7] = new ST(message,"Other geographic designation");
 }
Exemple #22
0
 ///<summary>
 /// Creates a CN_PERSON.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CN_PERSON(Message message, string description)
     : base(message, description)
 {
     data = new Type[8];
     data[0] = new ID(message, 0,"ID number");
     data[1] = new ST(message,"Familiy 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 id");
 }
Exemple #23
0
 ///<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[10];
     data[0] = new CQ_QUANTITY(message,"Quantity");
     data[1] = new CM_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 ID(message, 0,"Priority");
     data[6] = new ST(message,"Condition");
     data[7] = new TX(message,"Text (TX)");
     data[8] = new ID(message, 0,"Conjunction");
     data[9] = new ST(message,"Order sequencing");
 }
Exemple #24
0
 ///<summary>
 /// Creates a CN_PHYSICIAN.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CN_PHYSICIAN(Message message, string description)
     : base(message, description)
 {
     data = new Type[13];
     data[0] = new ID(message, 0,"Physician ID");
     data[1] = new ST(message,"Familiy 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 id");
     data[8] = new AD(message,"Adresse");
     data[9] = new TN(message,"Telefon");
     data[10] = new TN(message,"Faxnummer");
     data[11] = new TN(message,"Online-Nummer");
     data[12] = new ST(message,"E-Mail");
 }
Exemple #25
0
 ///<summary>
 /// Creates a CM_VR.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_VR(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new ST(message, "First data code value");
     data[1] = new ST(message, "Last data code calue");
 }
Exemple #26
0
 /**
    * Returns all repetitions of Patient Valuables (PV2-5).
    */
 public ST[] getPatientValuables()
 {
     ST[] ret = null;
     try {
     Type[] t = this.getField(5);
     ret = new ST[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (ST)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;
 }
Exemple #27
0
 ///<summary>
 /// Creates a CM_MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_MOC(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new ST(message, "Dollar amount");
     data[1] = new ST(message, "Charge code");
 }