///<summary> /// Creates a CM_DIN. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public CM_DIN(Message message, string description) : base(message, description) { data = new Type[2]; data[0] = new TS(message,"Date"); data[1] = new CE(message,"Institution name"); }
///<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"); }
///<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"); }
///<summary> /// Creates a DR. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public DR(Message message, string description) : base(message, description) { data = new Type[2]; data[0] = new TS(message,"Range start date/time"); data[1] = new TS(message,"Range end date/time"); }
///<summary> /// Creates a FC. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public FC(Message message, string description) : base(message, description) { data = new Type[2]; data[0] = new IS(message, 0,"Financial Class"); data[1] = new TS(message,"Effective Date"); }
///<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 TS(message,"Date"); data[2] = new ST(message,"Source"); }
///<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"); }
///<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(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_NDL. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public CM_NDL(Message message, string description) : base(message, description) { data = new Type[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> /// Creates a PPN. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public PPN(Message message, string description) : base(message, description) { data = new Type[15]; data[0] = new ST(message,"ID number"); 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 code"); 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"); data[14] = new TS(message,"Date/Time Action Performed"); }
/** * Returns all repetitions of Edit Date/Time (TXA-8). */ public TS[] getEditDateTime() { TS[] ret = null; try { Type[] t = this.getField(8); ret = new TS[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (TS)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 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"); }
///<summary> /// Creates a FC. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public FC(Message message, string description) : base(message, description) { data = new Type[2]; data[0] = new IS(message, 0, "Financial Class"); data[1] = new TS(message, "Effective Date"); }
///<summary> /// Creates a CM_DIN. /// <param name="message">The Message to which this Type belongs</param> ///</summary> public CM_DIN(Message message, string description) : base(message, description) { data = new Type[2]; data[0] = new TS(message, "Date"); data[1] = new CE(message, "Institution name"); }