Skip to content

Instantly share code, notes, and snippets.

@stephenroller
Created February 18, 2009 08:23
Show Gist options
  • Save stephenroller/66257 to your computer and use it in GitHub Desktop.
Save stephenroller/66257 to your computer and use it in GitHub Desktop.

UC31

  • Added getExpiredPrescriptions to PatientDAO.java
    • Pulls from the DB
  • added getExpiredPrescriptionsForPatient in ViewPrescriptionRecordsAction.java
    • Business logic for UC31
  • Added VIEW_EXPIRED_PRESCRIPTIONS to TransactionType.java (for logging)
  • Added menu item for View My Expired Prescriptions

Unit Tests

  • added testGetExpiredPrescriptionsForPatient in ViewPrescriptionRecordsActionTest
    • Tests whether the business logic for UC31 is correct
  • Fixed CreateHCPTest.java
    • ValidationFormat.java: Added a dash to valid email symbols to make a unit test pass.

HTTPUnitTests

  • added ViewExpiredPrescriptionRecordsTest.java
    • Checks the
  • Updated unit test DetermineOperationalProfileTest
    • The added HTTPUnit test caused an additional row on this page

Not sure if I need this:

  • added testExpiredPrescriptions in PrescriptionBeanTest
  • added ExpiredPrescriptionGenerator.java
  • Added viewExpiredPrescriptionRecords.jsp
  • Added removePrescriptions.sql and addprescriptions.sql
  • added isExpired to PrescriptionBean.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment