Openelis Qa Framework Report
Home > Register a patient's sample for Covid testing and send the lab request and sample to the Central Health Laboratory
Report generated 24-07-2023 10:10

Referral Work Flow

 Referral (tag)

Register a patient's sample for Covid testing and send the lab request and sample to the Central Health Laboratory

Scenario Outline

When User logs in into the OpenELIS System
Then User is able to log in
When User Goes to Order tab--> Add Order
Then User turns on contact tracing configuration
And User Completes the Order section of the Order form with accesionNumber "<labNo>"
Then Lab number "<labNo>" can be entered|scanned successfully
When User Completes the Sample section of the Order form
Then Sample Type list displays all needed options
And Panels and Tests appear correctly
When User Completes the Referral sub-section under Sample section of the Order form, with referral Institute "<referalInstitute>"
Then Referral details fields appear when the Refer test to a reference lab box is ticked
And Reasons for Referral shows default value 'Test not performed'
And Reasons for Referral list appears in alphabetical order
And Referrer field is autofilled with name of logged in user
And Laboratory names appear in alphabetical order under Institute
And Sent Date is autofilled with current date
And Sent Date can be modified
And Test Name defaults to original test requested for sample above
When User Enters search parameter Patient ID "<patientId>" for a known patient and click Search
Then Patient details appear in search results table
When User Enters search parameter Last Name "<lastName>" for a known patient and click Search
Then Patient details appear in search results table
When User Enters search parameter First Name "<firstName>" for a known patient and click Search
Then Patient details appear in search results table
When User Enter search parameter [Previous] Lab Number "<existinglabNo>" for a known patient and click Search
Then Patient search shows green wheel while searching internally ,OE database
And Patient details appear in search results table
And If correct patient is selected, their information populates the Patient section of the order form
When User Reviews and completes the Patient Information section
Then Save button is activated ,if all required fields are filled
And User Ticks the boxes for Patient notification by Email and SMS
And User Ticks the boxes for Requester notification by Email and SMS
When User Clicks Save to save form on Add Order Page
And Message 'Save Was Successful' appears at the top of the page
When User Clicks 'Print labels' Button
Then User is able to print barcode label that matches all order information
When User Go to Order tab --> Modify Order
And User Enters lab number "<labNo>" from test order
Then Order details are correct

Examples: 

# Lab No Incorect Lab Number Existinglab No Patient Last Name First Name Referal Institute
1 20230000000008182 BETA119000047 20230000000008423 202307D9P musa muranga Test referral lab
Steps Outcome
FAILURE 1m 42s
FAILURE 101.84s
Serenity BDD version 2.5.7