///<summary> /// Creates a PPN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public PPN(IMessage message, string description) : base(message, description) { data = new IType[26]; data[0] = new ST(message, "Person Identifier"); data[1] = new FN(message, "Family Name"); data[2] = new ST(message, "Given Name"); data[3] = new ST(message, "Second and Further Given Names or Initials Thereof"); data[4] = new ST(message, "Suffix (e.g., JR or III)"); data[5] = new ST(message, "Prefix (e.g., DR)"); // Withdrawn as of v2.7 data[6] = new ST(message, "Degree (e.g., MD)"); data[7] = new CWE(message, "Source Table"); data[8] = new HD(message, "Assigning Authority"); data[9] = new ID(message, 200, "Name Type Code"); data[10] = new ST(message, "Identifier Check Digit"); data[11] = new ID(message, 61, "Check Digit Scheme"); data[12] = new ID(message, 203, "Identifier Type Code"); data[13] = new HD(message, "Assigning Facility"); data[14] = new DTM(message, "Date/Time Action Performed"); data[15] = new ID(message, 465, "Name Representation Code"); data[16] = new CWE(message, "Name Context"); // Withdrawn as of v2.7 data[17] = new ST(message, "Name Validity Range"); data[18] = new ID(message, 444, "Name Assembly Order"); data[19] = new DTM(message, "Effective Date"); data[20] = new DTM(message, "Expiration Date"); data[21] = new ST(message, "Professional Suffix"); data[22] = new CWE(message, "Assigning Jurisdiction"); data[23] = new CWE(message, "Assigning Agency or Department"); data[24] = new ST(message, "Security Check"); data[25] = new ID(message, 904, "Security Check Scheme"); }
///<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, 834, "Type of Data"); data[3] = new ID(message, 291, "Subtype"); }
///<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, 834, "Type of Data"); data[2] = new ID(message, 291, "Data Subtype"); data[3] = new ID(message, 299, "Encoding"); data[4] = new TX(message, "Data"); }
///<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[10]; data[0] = new ST(message, "Organization Name"); data[1] = new CWE(message, "Organization Name Type Code"); data[2] = new ST(message, "ID Number"); data[3] = new ST(message, "Identifier Check Digit"); data[4] = new ST(message, "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"); }
///<summary> /// Creates a NDL. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public NDL(IMessage message, string description) : base(message, description) { data = new IType[11]; data[0] = new CNN(message, "Name"); data[1] = new DTM(message, "Start Date/time"); data[2] = new DTM(message, "End Date/time"); data[3] = new IS(message, 302, "Point of Care"); data[4] = new IS(message, 303, "Room"); data[5] = new IS(message, 304, "Bed"); data[6] = new HD(message, "Facility"); data[7] = new IS(message, 306, "Location Status"); data[8] = new IS(message, 305, "Patient Location Type"); data[9] = new IS(message, 307, "Building"); data[10] = new IS(message, 308, "Floor"); }
///<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[11]; data[0] = new HD(message, "Point of Care"); data[1] = new HD(message, "Room"); data[2] = new HD(message, "Bed"); data[3] = new HD(message, "Facility"); data[4] = new IS(message, 306, "Location Status"); data[5] = new IS(message, 305, "Person Location Type"); data[6] = new HD(message, "Building"); data[7] = new HD(message, "Floor"); data[8] = new ST(message, "Location Description"); data[9] = new EI(message, "Comprehensive Location Identifier"); data[10] = new HD(message, "Assigning Authority for Location"); }
///<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[12]; data[0] = new ST(message, "ID Number"); data[1] = new ST(message, "Identifier Check Digit"); data[2] = new ID(message, 61, "Check Digit Scheme"); data[3] = new HD(message, "Assigning Authority"); data[4] = new ID(message, 203, "Identifier Type Code"); data[5] = new HD(message, "Assigning Facility"); data[6] = new DT(message, "Effective Date"); data[7] = new DT(message, "Expiration Date"); data[8] = new CWE(message, "Assigning Jurisdiction"); data[9] = new CWE(message, "Assigning Agency or Department"); data[10] = new ST(message, "Security Check"); data[11] = new ID(message, 904, "Security Check Scheme"); }