Selenium OMD Tests TODO List

OMD Tests TODO list

 


Hibernate:

  • view schedule for multiple providers
    • needs multiple scheduled users in a group
  • access demo/chart from appointment in schedule
    • this requires an appointment to be already booked on oscardoc’s day schedule
  • must be able to ad-hoc double book
    • this requires the first appointment to be already boooked
  • prevent creation of duplicate demographic records (by health card no.) 
    • this requires a patient to be already in the database using hibernate

Alternative Contacts:

  • Must be able to maintain multiple contacts (add one contact to an already existing patient, addRelationTest will take care of the rest of the OMD requirements)

Encounter Notes:

  • Staff with NO rights to patient data must still be able to enter notes (Admin => Under Security => Add Role/Rights to Objects) (add a provider with no rights for checking) 
    Printing:
  • Must be able to print all encounter documentation in chronological order (add a few notes on a patient) 
  • Must be able to print encounter information over a given date range (add a few notes on a patient spread over a large date span)

Ticklers:

  • Ticklers associated with a patient should show up in that patient's record regardless of where the tickler was created (add a tickler to a patient) 
  • Must show ticklers for outstanding consults (add an outstanding consult)

 Inbox: - need a few messages that meet certain criteria i.e. a lab in the past, a lab in the future, an abnormal lab, etc. 

  • Need to be able to sort to show abnormal labs at the top 
  • Must be able to re-display 
    • acknowledged 
    • filed labs 
    • documents 
    • Must be able to manually enter labs

Administration: 

Merge demographics:

  • User must be notified of permanence of the action and must confirm (This condition is not satisfied) - needs two demographics 

Automated OMD Requirements:

  • search for next available appointment for a provider/day of week/time of day/appointment type 
  • search for a patient by health number

Patient Demographic:

  •  Must have a list of previous enrolment status (On patient demo screen click on the link ‘Enrollment History’ to view previous status) 
  • Must include drugref interaction preference (Rx Interaction waring level on demo screen)

Contacts:

  • On contact screen, must be able to display all mandatory OMD contact data - (Appendix A 2.2.1.1.2 - Patient Contact Information)

Appt History:

  • Must be able to view appt history for any given patient (must include both past and future appts) (On patient demo screen under Appt. History)

Alternative Contacts:

  • Must be able to display all mandatory OMD contact data - (Appendix A 2.2.1.1.3 - Patient Alternative Contact) 
  • Each contact must be able to have more than one role (ie wife and SDM, or sister and power of attorney) (On Demo screen under Manage Contacts)

EChart:   

CPP: - this is a lot of work to do for selenium (might be better to just manually check this one) 

  •   Providers must be able to select which items display on the CPP (Preferences => Configure eChart CPP) 
  •   Providers must be able to manually re-order items as desired (Preference => Configure eChart CPP)

Encounter Notes: - The current implementations for encounter notes causes issues with selenium tests due to AJAX

Templates:  

  • Templates for notes must exist and be modifiable by users - test the drop down list in e-chart (no id/name)

Preventions: 

  • Must maintain a record of preventative care/screening activities (procedure & date performed) 
  • Preventative care activities must automatically become visually distinct when past due - prevention recommendations (no red outlining SF Bug)
  • Should include patient name, dob, health card number, (for each immunization:) name, date administered, name of primary physician -(dob or health card number is connected to the demographic no need to display)
  • Prevention data should not be entered in more than one location (ie info entered in preventions should not have to be entered in flowsheets, etc)

Forms: 

Measurements:

  • Measurements should be copied into an open encounter note

Flowsheets: - implement for current implementation of flowsheets

  • 5 OMD flowsheets: diabetes (Appendix C 3.1) (Cannot find HbA1C and Neurological Exam), asthma, heart failure, COPD, hypertension - maybe create a patient with all these diseases using hibernate? 
  • Items that are out of treatment target/interval should be visually flagged 
  • Users should be able to modify flowsheets (add/remove items/change targets/intervals) both for a single patient and overall for a provider - no edit button in flowsheets SF Bug
  • Users should be able to create flowsheets - use admin -> create new flowsheet (moved into the admin tests as there is no create flowsheet button implemented in the E-Chart)

Views: - implement for current implementation of flowsheets (not health tracker)

  • Need to allow a date-range selection for which entries to display - not currently available for flowsheets
  • Out of range view/latest entry view/latest X entries view (ie last 3) - not currently available for flowsheets

Prescriptions (Rx):

  • Must be able to see date of drugref database (click "drugref info" at top of rx page) 

  • Must be able to "discontinue" a medication from the treatment plan without changing the status of the prescription 

  • Must be able to create a custom drug (ie for compound script) 

  • Must be able to record a medication prescribed in the past - This is done by view the Expired view? 

  • Must be able to record (and identify) a medication prescribed by an external provider - check under more when entering a prescription

  • Must be able to show current vs past medications, active vs inactive prescriptions - can not complete due to SF Bug  

  • Must be able to filter on current/past/all - best we can do is check for the link options as there is no way to differentiate if it successfully loaded or not  

  • Must include drug-to-drug/drug-to-allergy interaction information via drugref including severity of interaction and allowing override - !!!!

  • Providers must be able to create a list of favorite prescriptions - xpath locators/AJAX objects causing issues

  • Must be able to select whether or not items will display on the eChart Rx box

Other Meds:

  • must be able to show over-the-counter meds such as herbal or nutritional supplements (that are not "drugs")

Reports:

Demographic report tool: - This SF Bug needs to get fixed first

  • Providers must be able to set up static cohorts of patients (patients may belong to more than one cohort) (Report -> Demographic Report Tool) 

Prevention Report i18n: - This SF Bug needs to get fixed first

  • Generates patient recall list for preventative care activities 
  • Generates patient letters directly from recall list 
  • Generates report which determine percentages needed to submit billings for preventative care enhancement codes

Preferences:

  • Have ability to set provider drugref warning level (Pref => Rx Interaction Warning Level) 
  • Have ability to add/remove CPP categories from display or modify presentation and maintain this across sessions - may need to manual test across sessions? (automated tests implemented for CPP preferences)

Ticklers:

  • Must be able to set tickler priority

  • Must support free text notes associated with a tickler

  • Must be able to link to a patient record and open the patient record from the tickler screen directly

  • Must be able to create ticklers and assign them to other users

  • Must be able to create ticklers and assign them to a role (ie 'this task is for a nurse') 

  • Must be able to create/access/action ticklers from anywhere in the application 

  • Ticklers created from lab results/documents must include link to lab result/document - need a lab result/document to create a tickler from (not sure how to do this)  

  • Must include some automatically generated ticklers for follow-up tasks (ie outstanding referrals) - how can we check this?

Administration: 

  • Have ability to set default drugref warning level for clinic  

Security record:

  • Must include ability to set @password expiry

Roles:

  • Changes applied to a role will apply to all members of that role 
  • Must be able to create new roles with customized permissions (Admin => Under Security => Assign Role/Rights to Object) 
  • Access controls to functions/data can be based on roles (Admin => Under Security => Assign Role/Rights to Object) 
  • Access controls to functions/data can also be based on individual users (Admin => Under Security => Assign Role/Rights to Object)
  • Multiple roles can be assigned to users (Admin => Under Security => Assign Role to Provider) - this needs some sort of locator name/id

Query By Example:

  • Able to search and report on any text/data fields in EMR (excepting binary stuff ie images/PDFs)

Manual Tests:

EChart:

CPP:

  • Must be able to print the CPP to a single document (Print button on E-chart)

Preventions:

  • Must be able to print an immunizations summary for a patient

Flowsheets:

Views:

  • Need to be able to select which elements display

Lab Requirements: 

  • Must include most recent versions 
  • must auto populate patient and provider demographics  
  • must allow checking/filling in all boxes (check all columns)

Labs: - most just need a lab to be available (might be better to do manually as labs are a complicated process)

  • Must include a visually distinct method of indicating a new lab report (this is done via *asterisks*) (put in a new lab report) 
  • Must include a visually distinct notification of indicating abnormal reports (this is done via red text)  (put in an abnormal lab report) 
  • Must be able to create a table or graph lab results and normal reference ranges over time for a given test code (Inbox => Select a lab => Choose a test => Hit Plot) (send a lab to a provider?) 
    • Graph/table needs to show: test codes (name), lab results, normal reference ranges, and test dates (prefer collection date if available) 
    • Graphs/table need to be printable

Lab display:

  • needs a lab to complete (might be better to do manually as labs are a complicated process) 
  • Clearly identify which results within a lab report are abnormal (these are IDed by red text) 
  • Records lab result values and normative range values as separate data fields 
  • Must be able to add text notes to lab report (add notes to the text box under ‘Acknowledge’ button and hit Acknowledge or comment, also use annotation to add notes) 
  • Must be able to associate lab req with lab report (click "Req #" button at top of report) 
  • Must be able to create tickler from lab report/result (Inbox => Select a Lab => Tickler button)

Flowsheets:

  • Flowsheets should be printable

Prescriptions(Rx):

  • Drugref info must be able to include drug/condition interactions, drug/lab interactions, recommended dosing, or theraputic alternatives  

  • Must be able to show dosage information over time for a given medication and can print (see "timeline drug profile")  

  • Must be able to sort prescriptions as desired (including manually)  
  • Drugref interaction preferences should be respected with Patient prefs overriding Provider prefs which overrides Clinic prefs   

 Printing: 

Printed prescriptions must include:

    • patient name/address/phone  
    • provider name/address/phone  
    • name of medication  
    • strength and unit 
    • form
    • dosage
    •  frequency 
    • repeats
    • qty/duration 
    • start date 
    • notes to pharmacist 
    • Note: OMD also made noises about wanting refill qty/duration to show up
    • Must be able to print more than one medication on a single form 
    • If form goes multiple pages, demographic info and signatures must be included on each page 
    • On the prescription module, must be able to display printing history for a prescription
Administration:
  • Security Log Report (Audit Trail) (Admin > Under Security > Security Log Report) 
    • Must be printable 

Report By Template: - This requires uploading a template which can not be automated

  • Able to search and report on any text/data fields in EMR (excepting binary stuff ie images/PDFs) 
  • Provides report templates that may be modified by the user

Reports

Day sheet:

  • Must be able to print daysheet sorted by patient name, chronologically, chart number (Report - > Under Day Sheet select provider’s name and a range for dates)