private static void CreateNine() { long provNum = ProviderC.ListShort[1].ProvNum; //dentist#2 Patient pat = Patients.GetPat(PatientTC.PatNum7); //patient#7, Madeleine Arpege Procedure proc; Procedure procLab; List <Procedure> procList = new List <Procedure>(); procList.Add(ProcTC.AddProc("01201", pat.PatNum, new DateTime(1999, 1, 1), "", "", 27.5, "X", provNum)); procList.Add(ProcTC.AddProc("02102", pat.PatNum, new DateTime(1999, 1, 1), "", "", 87.25, "X", provNum)); proc = ProcTC.AddProc("67301", pat.PatNum, new DateTime(1999, 1, 1), "11", "", 412.6, "X", provNum); procList.Add(proc); procLab = ProcTC.AddProc("99111", pat.PatNum, new DateTime(1999, 1, 1), "", "", 380, "", provNum); ProcTC.AttachLabProc(proc.ProcNum, procLab); Claim claim = CreateClaim(pat, procList, provNum); claim.CanadianMaterialsForwarded = ""; //billing prov already handled claim.CanadianReferralProviderNum = ""; claim.CanadianReferralReason = 0; //pat.SchoolName //assignBen can't be set here because it changes per claim in the scripts claim.AccidentDate = DateTime.MinValue; claim.PreAuthString = ""; claim.CanadianIsInitialUpper = "Y"; claim.CanadianDateInitialUpper = DateTime.MinValue; claim.CanadianIsInitialLower = "X"; claim.CanadianDateInitialLower = DateTime.MinValue; //claim.CanadianMandProsthMaterial=4; claim.IsOrtho = true; Claims.Update(claim); ClaimNums.Add(claim.ClaimNum); }
private static void CreateThree() { long provNum = ProviderC.ListShort[0].ProvNum; //dentist#1 Patient pat = Patients.GetPat(PatientTC.PatNum2); //patient#2, John Smith Procedure proc; Procedure procLab; List <Procedure> procList = new List <Procedure>(); procList.Add(ProcTC.AddProc("01201", pat.PatNum, new DateTime(1999, 1, 1), "", "", 27.5, "X", provNum)); procList.Add(ProcTC.AddProc("02102", pat.PatNum, new DateTime(1999, 1, 1), "", "", 87.25, "X", provNum)); procList.Add(ProcTC.AddProc("21223", pat.PatNum, new DateTime(1999, 1, 1), "46", "DOV", 107.6, "X", provNum)); proc = ProcTC.AddProc("56112", pat.PatNum, new DateTime(1999, 1, 1), "", "L", 217.2, "S", provNum); //lower procList.Add(proc); procLab = ProcTC.AddProc("99111", pat.PatNum, new DateTime(1999, 1, 1), "", "", 315, "", provNum); ProcTC.AttachLabProc(proc.ProcNum, procLab); Claim claim = CreateClaim(pat, procList, provNum); claim.CanadianMaterialsForwarded = ""; //billing prov already handled claim.CanadianReferralProviderNum = ""; claim.CanadianReferralReason = 0; //pat.SchoolName //assignBen can't be set here because it changes per claim in the scripts claim.AccidentDate = DateTime.MinValue; claim.PreAuthString = ""; claim.CanadianIsInitialUpper = "X"; claim.CanadianDateInitialUpper = DateTime.MinValue; claim.CanadianIsInitialLower = "N"; claim.CanadianDateInitialLower = new DateTime(1984, 4, 7); claim.CanadianMandProsthMaterial = 4; claim.IsOrtho = false; Claims.Update(claim); ClaimNums.Add(claim.ClaimNum); }
private static void CreateSeven_1() { long provNum = ProviderC.ListShort[0].ProvNum; //dentist#1 Patient pat = Patients.GetPat(PatientTC.PatNum3); //patient#3, Mary Walls Procedure proc; Procedure procLab; List <Procedure> procList = new List <Procedure>(); procList.Add(ProcTC.AddProc("01201", pat.PatNum, new DateTime(1999, 1, 1), "", "", 27.5, "X", provNum)); procList.Add(ProcTC.AddProc("02102", pat.PatNum, new DateTime(1999, 1, 1), "", "", 87.25, "X", provNum)); proc = ProcTC.AddProc("67301", pat.PatNum, new DateTime(1999, 1, 1), "21", "", 450, "X", provNum); procList.Add(proc); procLab = ProcTC.AddProc("99111", pat.PatNum, new DateTime(1999, 1, 1), "", "", 300, "", provNum); ProcTC.AttachLabProc(proc.ProcNum, procLab); procLab = ProcTC.AddProc("99222", pat.PatNum, new DateTime(1999, 1, 1), "", "", 40, "", provNum); ProcTC.AttachLabProc(proc.ProcNum, procLab); procList.Add(ProcTC.AddProc("21223", pat.PatNum, new DateTime(1999, 1, 1), "25", "MIV", 107.6, "X", provNum)); procList.Add(ProcTC.AddProc("21223", pat.PatNum, new DateTime(1999, 1, 1), "14", "DIV", 107.6, "X", provNum)); proc = ProcTC.AddProc("27211", pat.PatNum, new DateTime(1999, 1, 1), "24", "", 450, "X", provNum); procList.Add(proc); procLab = ProcTC.AddProc("99111", pat.PatNum, new DateTime(1999, 1, 1), "", "", 238, "", provNum); ProcTC.AttachLabProc(proc.ProcNum, procLab); proc = ProcTC.AddProc("27213", pat.PatNum, new DateTime(1999, 1, 1), "26", "", 450, "E", provNum); procList.Add(proc); procLab = ProcTC.AddProc("99111", pat.PatNum, new DateTime(1999, 1, 1), "", "", 210, "", provNum); ProcTC.AttachLabProc(proc.ProcNum, procLab); procLab = ProcTC.AddProc("99222", pat.PatNum, new DateTime(1999, 1, 1), "", "", 35, "", provNum); ProcTC.AttachLabProc(proc.ProcNum, procLab); Claim claim = CreatePredetermination(pat, procList, provNum); claim.CanadianMaterialsForwarded = "M"; //billing prov already handled claim.CanadianReferralProviderNum = ""; claim.CanadianReferralReason = 0; //pat.SchoolName //assignBen can't be set here because it changes per claim in the scripts claim.AccidentDate = DateTime.MinValue; claim.PreAuthString = ""; claim.CanadianIsInitialUpper = "Y"; claim.CanadianDateInitialUpper = DateTime.MinValue; claim.CanadianIsInitialLower = "X"; claim.CanadianDateInitialLower = DateTime.MinValue; claim.IsOrtho = false; Claims.Update(claim); ClaimNums.Add(claim.ClaimNum); }
private static void CreateThree() { long provNum = ProviderC.ListShort[0].ProvNum; //dentist#1 Patient pat = Patients.GetPat(PatientTC.PatNum4); //patient#4, John Smith Procedure proc; Procedure procLab; List <Procedure> procList = new List <Procedure>(); procList.Add(ProcTC.AddProc("01201", pat.PatNum, new DateTime(1999, 1, 1), "", "", 27.5, "X", provNum)); procList.Add(ProcTC.AddProc("02102", pat.PatNum, new DateTime(1999, 1, 1), "", "", 87.25, "X", provNum)); proc = ProcTC.AddProc("67301", pat.PatNum, new DateTime(1999, 1, 1), "41", "", 450, "X", provNum); procList.Add(proc); procLab = ProcTC.AddProc("99111", pat.PatNum, new DateTime(1999, 1, 1), "", "", 300, "", provNum); ProcTC.AttachLabProc(proc.ProcNum, procLab); procLab = ProcTC.AddProc("99222", pat.PatNum, new DateTime(1999, 1, 1), "", "", 40, "", provNum); ProcTC.AttachLabProc(proc.ProcNum, procLab); Claim claim = CreatePredetermination(pat, procList, provNum); claim.CanadianMaterialsForwarded = "MI"; //L=MI //billing prov already handled claim.CanadianReferralProviderNum = ""; claim.CanadianReferralReason = 0; //pat.SchoolName //assignBen can't be set here because it changes per claim in the scripts claim.AccidentDate = new DateTime(1997, 03, 02); claim.PreAuthString = ""; claim.CanadianIsInitialUpper = "X"; claim.CanadianDateInitialUpper = DateTime.MinValue; claim.CanadianIsInitialLower = "Y"; claim.CanadianDateInitialLower = DateTime.MinValue; claim.IsOrtho = true; claim.CanadaEstTreatStartDate = new DateTime(1999, 04, 01); claim.CanadaInitialPayment = 1000; claim.CanadaPaymentMode = 3; claim.CanadaTreatDuration = 48; claim.CanadaNumAnticipatedPayments = 16; claim.CanadaAnticipatedPayAmount = 200; Claims.Update(claim); ClaimNums.Add(claim.ClaimNum); }