public PID(compositeType parent) : base(parent, "PID") { data = new abstractType[30]; data[0] = new SI("Set"); //data[1] = new CX("PID"); //data[2] = new CX("Patient ID"); //data[3] = new CX("Patient Identifier List"); //data[4] = new XPN("Alternate Patient"); //data[5] = new XPN("PID"); data[6] = new TS("Patient Name"); data[7] = new IS("Maiden Name"); //data[8] = new XPN("Of Birth"); data[9] = new CE(parent, "Sex"); //data[10] = new XAD("Patient Alias"); data[11] = new IS("Race"); //data[12] = new XTN("Patient Address"); //data[13] = new XTN("County Code"); //data[14] = new CE(parent, "Phone"); data[15] = new CE(parent, "Home"); data[16] = new CE(parent, "Phone"); //data[17] = new CX("Business"); data[18] = new ST("Primary Language"); //data[19] = new DLN("Marital Status"); //data[20] = new CX("Religion"); data[21] = new CE(parent, "Patient Account Number"); data[22] = new ST("SSN"); //data[23] = new ID("Patient"); data[24] = new NM("License"); data[25] = new CE(parent, "Patient"); data[26] = new CE(parent, "Identifier"); data[27] = new CE(parent, "Ethnic Group"); data[28] = new TS("Birth Place"); data[29] = new ID("Multiple Birth Indicator"); }
public PV1(compositeType parent) : base(parent, "PV1") { data = new abstractType[51]; data[0] = new SI("Setidpv1"); data[1] = new IS("Patient Class"); //data[2] = new PL("Assigned Patient Location"); data[3] = new IS("Admission Type"); //data[4] = new CX("Preadmit Number"); //data[5] = new PL("Prior Patient Location"); data[6] = new XCN(parent, "Attending Doctor"); data[7] = new XCN(parent, "Referring Doctor"); data[8] = new XCN(parent, "Consulting Doctor"); data[9] = new IS("Hospital Service"); //data[10] = new PL("Temporary Location"); data[11] = new IS("Preadmit Test Indicator"); data[12] = new IS("Indicator"); data[13] = new IS("Admit Source"); data[14] = new IS("Ambulatory Status"); data[15] = new IS("VIP Indicator"); data[16] = new XCN(parent, "Admitting Doctor"); data[17] = new IS("Patient Type"); //data[18] = new CX("Visit Number"); //data[19] = new FC("Financial Class"); data[20] = new IS("Charge Price Indicator"); data[21] = new IS("Courtesy Code"); data[22] = new IS("Credit Rating"); data[23] = new IS("Contract Code"); data[24] = new DT("Contract Effective Date"); data[25] = new NM("Contract Amount"); data[26] = new NM("Contract Period"); data[27] = new IS("Interest Code"); data[28] = new IS("Transfer to Bad Debt Code"); data[29] = new DT("Transfer to Bad Debt Date"); data[30] = new IS("Bad Debt Agency Code"); data[31] = new NM("Bad Debt Transfer Amount"); data[32] = new NM("Bad Debt Recovery Amount"); data[33] = new IS("Delete Account Indicator"); data[34] = new DT("Delete Account Date"); data[35] = new IS("Discharge Disposition"); data[36] = new CE(parent, "Diet Type"); data[37] = new IS("Servicing Facility"); data[38] = new IS("Bed Status"); data[39] = new IS("Account Status"); //data[40] = new PL("Pending Location"); //data[41] = new PL("Prior Temporary Location"); data[42] = new TS("Admit DateTime"); data[43] = new TS("Discharge DateTime"); data[44] = new NM("Current Patient Balance"); data[45] = new NM("Total Charges"); data[46] = new NM("Total Adjustments"); data[47] = new NM("Total Payments"); //data[48] = new CX("Alternate Visit ID"); data[49] = new IS("Visit Indicator"); data[50] = new XCN(parent, "Other Healthcare Provider"); }