///<summary> /// Creates a CM_SPD. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_SPD(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a CM_DLT. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_DLT(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a QSC. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public QSC(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a CK. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CK(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a CM_PLN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_PLN(IMessage message, string description) : base(message, description){ data = new IType[4]; data[0] = new ST(message,"ID number"); data[1] = new IS(message, 0,"Type of ID number (IS)"); data[2] = new ST(message,"State/other qualifying info"); data[3] = new DT(message,"Expiration date"); }
///<summary> /// Creates a SN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public SN(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a EI. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public EI(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a RP. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public RP(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a CM_ELD. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_ELD(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a ED. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public ED(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a CX. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CX(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a CE. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CE(IMessage message, string description) : base(message, description){ data = new IType[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 ID(message, 0,"Alternate identifier"); data[4] = new ST(message,"Alternate text"); data[5] = new ST(message,"Name of alternate coding system"); }
///<summary> /// Creates a CM_CSU. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_CSU(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a CM_RFR. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_RFR(IMessage message, string description) : base(message, description){ data = new IType[7]; data[0] = new CM_RANGE(message,"Reference range"); data[1] = new IS(message, 0,"Sex"); data[2] = new CM_RANGE(message,"Age range"); data[3] = new CM_RANGE(message,"Age gestation"); data[4] = new TX(message,"Species"); data[5] = new ST(message,"Race/subspecies"); data[6] = new TX(message,"Conditions"); }
///<summary> /// Creates a AD. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public AD(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a XPN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public XPN(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a XON. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public XON(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a PL. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public PL(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a CN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CN(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a XTN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public XTN(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a TQ. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public TQ(IMessage message, string description) : base(message, description){ data = new IType[10]; data[0] = new CQ(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 ST(message,"Priority"); data[6] = new ST(message,"Condition"); data[7] = new TX(message,"Text (TX)"); data[8] = new ST(message,"Conjunction"); data[9] = new CM_OSD(message,"Order sequencing"); }
///<summary> /// Creates a CM_OSD. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_OSD(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a CM_NDL. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_NDL(IMessage message, string description) : base(message, description){ data = new IType[11]; data[0] = new CN(message,"Name"); data[1] = new TS(message,"Start date/time"); data[2] = new TS(message,"End date/time"); data[3] = new IS(message, 0,"Point of care (IS)"); data[4] = new IS(message, 0,"Room"); data[5] = new IS(message, 0,"Bed"); data[6] = new HD(message,"Facility (HD)"); data[7] = new IS(message, 0,"Location status"); data[8] = new IS(message, 0,"Person location type"); data[9] = new IS(message, 0,"Building"); data[10] = new ST(message,"Floor"); }
///<summary> /// Returns all repetitions of Where Subject Filter (QRF-1). ///</summary> public ST[] GetWhereSubjectFilter() { ST[] ret = null; try { IType[] t = this.GetField(1); 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; }
///<summary> /// Creates a XCN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public XCN(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a CM_LA1. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_LA1(IMessage message, string description) : base(message, description){ data = new IType[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"); }
///<summary> /// Creates a QIP. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public QIP(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new ST(message, "Field name"); data[1] = new ST(message, "Value1&value2&value3"); }
///<summary> /// Creates a DLN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public DLN(IMessage message, string description) : base(message, description){ data = new IType[3]; data[0] = new ST(message,"Driver´s License Number"); data[1] = new IS(message, 0,"Issuing State, province, country"); data[2] = new DT(message,"Expiration date"); }
///<summary> /// Creates a QIP. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public QIP(IMessage message, string description) : base(message, description){ data = new IType[2]; data[0] = new ST(message,"Field name"); data[1] = new ST(message,"Value1&value2&value3"); }
///<summary> /// Creates a RI. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public RI(IMessage message, string description) : base(message, description){ data = new IType[2]; data[0] = new IS(message, 0,"Repeat pattern"); data[1] = new ST(message,"Explicit time interval"); }
///<summary> /// Creates a SCV. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public SCV(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new IS(message, 0, "Parameter class"); data[1] = new ST(message, "Parameter value"); }
/// <summary> Creates a CM_RI. </summary> /// /// <param name="message"> The Message to which this Type belongs. </param> /// <param name="description"> The description of this type. </param> public CM_RI(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new IS(message, 0, "Repeat pattern"); data[1] = new ST(message, "Explicit time interval"); }
///<summary> /// Creates a TS. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public TS(IMessage message, string description) : base(message, description){ data = new IType[2]; data[0] = new TSComponentOne(message,"Time of an event"); data[1] = new ST(message,"Degree of precision"); }
/// <summary> Creates a CM_WVI. </summary> /// /// <param name="message"> The Message to which this Type belongs. </param> /// <param name="description"> The description of this type. </param> public CM_WVI(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new NM(message, "Channel Number"); data[1] = new ST(message, "Channel Name"); }