public MSH(compositeType parent) : base(parent, "MSH") { data = new abstractType[21]; data[0] = new ST("Field Separator"); data[1] = new ST("Encoding Characters"); data[2] = new HD(this, "Sending Application"); data[3] = new HD(this, "Sending Facility"); data[4] = new HD(this, "Receiving Application"); data[5] = new HD(this, "Receiving Facility"); data[6] = new TS("Of Message"); data[7] = new ST("Security"); data[8] = new MSG(this, "Message Type"); data[9] = new ST("Message Control ID"); data[10] = new PT(this, "Processing ID"); data[11] = new VID(this, "Version ID"); data[12] = new NM("Sequence Number"); data[13] = new ST("Continuation Pointer"); data[14] = new ID("Accept Acknowledgment Type"); data[15] = new ID("Application Acknowledgment Type"); data[16] = new ID("Country Code"); data[17] = new ID("Character Set"); data[18] = new CE(this, "Principal Language Of Message"); data[19] = new ID("Alternate Character Set Handling Scheme"); data[20] = new TS("Date Time Of Message"); }
public XCN(compositeType parent, string name) : base(parent, name) { data = new abstractType[20]; data[0] = new ST("ID numbee"); data[1] = new FN(this, "family name"); data[2] = new ST("given name"); data[3] = new ST("second and further given names or initials thereof"); data[4] = new IS("JR or"); data[5] = new HD(this, "source table"); data[6] = new ID("assigning authority"); data[7] = new ST("name type code"); data[8] = new ID("identifier check digit"); data[9] = new ID("check digit scheme"); data[10] = new HD(this, "identifier type code"); data[11] = new ID("assigning facility"); data[12] = new CE(this, "name representation code"); data[13] = new DR(this, "name context"); data[14] = new ID("name validity range"); data[15] = new TS("name assembly order"); data[16] = new TS("effective date"); data[17] = new ST("expiration date"); data[18] = new CWE("professional suffix"); data[19] = new CWE("assigning jurisdiction"); }