@Before
  public void setUp() throws Exception {
    gen.clearAllTables();
    b1 = new BillingBean();
    b1.setAmt(40);
    b1.setInsAddress1("123 else drive");
    b1.setInsAddress2(" ");
    b1.setInsCity("Durham");
    b1.setInsHolderName("dad");
    b1.setInsID("1234");
    b1.setInsPhone("333-333-3333");
    b1.setInsProviderName("Cigna");
    b1.setInsState("NC");
    b1.setInsZip("27607");
    b1.setPatient(PATIENT_MID);
    b1.setStatus(BillingBean.PENDING);
    b1.setSubTime(new Timestamp(new Date().getTime()));
    ov = new OfficeVisitBean();
    ov.setAppointmentType("Mammogram");
    ov.setBilled(true);
    ov.setHcpID(DOCTOR_MID);
    ov.setPatientID(PATIENT_MID);
    int ovID = (int) init2.add(ov);
    b1.setApptID(ovID);

    b1.setBillID((int) init.addBill(b1));
    init.editBill(b1);
    subject = new VerifyClaimAction(factory, b1.getBillID());
  }
コード例 #2
0
 @Override
 protected void setUp() throws Exception {
   gen = new TestDataGenerator();
   gen.clearAllTables();
   gen.patient1();
   gen.patient2();
 }
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   gen.clearAllTables();
   gen.standardData();
   gen.hcp4();
 }
コード例 #4
0
 @Before
 public void setUp() throws Exception {
   gen.clearAllTables();
   gen.patient2();
   action = new ViewPatientAction(factory, 2L, "2");
   badAction = new ViewPatientAction(factory, -1L, "2");
 }
コード例 #5
0
  @Override
  protected void setUp() throws Exception {
    TestDataGenerator gen = new TestDataGenerator();
    gen.clearAllTables();
    gen.standardData();

    action = new ViewMyRecordsAction(factory, pid);
    fmbList = famDAO.getParents(5);
    fmBean = fmbList.get(0);
  }
コード例 #6
0
 @Override
 protected void setUp() throws Exception {
   factor = new ChildhoodInfectionFactor(factory, 2L, 250.3, 487);
   gen = new TestDataGenerator();
   gen.clearAllTables();
   gen.hospitals();
   gen.hcp0();
   gen.patient2();
   p = factory.getPatientDAO().getPatient(2L);
 }
コード例 #7
0
  @Override
  protected void setUp() throws Exception {
    gen.clearAllTables();
    gen.hospitals();
    gen.hcp0();
    gen.patient1();
    gen.admin1();
    gen.officeVisit1();
    gen.ndCodes();

    action = new EditOfficeVisitAction(factory, 9000000001L, "1", "1");
  }
コード例 #8
0
 @Override
 protected void setUp() throws Exception {
   gen = new TestDataGenerator();
   gen.clearAllTables();
   gen.transactionLog();
 }
コード例 #9
0
 protected void setUp() throws Exception {
   gen.clearAllTables();
   gen.standardData();
   allPatients = pDAO.getAllPatients();
 }
コード例 #10
0
 @Override
 protected void setUp() throws Exception {
   gen = new TestDataGenerator();
   gen.clearAllTables();
   gen.labProcedures();
 }
コード例 #11
0
 @Override
 protected void setUp() throws Exception {
   gen.clearAllTables();
   gen.patient2();
 }