Logo: Relish

  1. Sign in

Project: Seleniumwebtestingsk

NoteWriter

First draft of NoteWriter cucumber cases. Only includes Portal Smoke cases at the moment.
Might need some updates when writing the supporting Ruby code.

Background
Given
I am logged into the portal with user "pkadmin" and password "123"
And
I am on the "Patient List" tab
And
"Molly Darr" is on the patient list
And
provider "Gman" exists
Scenarios
  • @PortalSmoke
  • @donotrun
01 NW Smoke Test Setup
Given
the "Progress Note" template is loaded
And
the "History & Physical" template is loaded
And
the "Progress Note" department picker is available
And
the "History & Physical" department picker is available
  • @PortalSmoke
  • @donotrun
02 NW Select Note Template Pane Opens
When
I select patient "Molly Darr" from the patient list
And
I select "Write Note" from the "Actions" menu
Then
the "Select Note Template" pane should load
  • @PortalSmoke
  • @donotrun
03 NW Wizard Opens_Sign_Submit
When
I select patient "Molly Darr" from the patient list
And
I select "Write Note" from the "Actions" menu
And
I click the "Create New" button in the "Notes in Draft Status" pane
And
I select "Progress Note" from the "Select a Template" list
And
I am on the "A/P" tab in the "NoteWriter" pane
And
I enter "Gman" in the "Provider Search" field in the "NoteWriter" pane
And
I click the "Lookup" button
And
I click the "Sign/Submit" button
And
I click the "Yes" button in the "Sign/Submit" confirmation box
And
I select "Clinical Notes" from clinical navigation
Then
the following rows should appear in the "Clinical Notes" table
Date Note Type (\d) Author
%Current Date MM/DD/YY% Progress Note KADMIN, PERRY
When
I select "KADMIN, PERRY" from the "Author" column the "Progress Note" pane should load
Then
the text "Final" should appear in the "Progress Note" pane
  • @PortalSmoke
  • @donotrun
04 NW Wizard Opens Save_as_Draft
When
I select patient "Molly Darr" from the patient list
And
I select "Write Note" from the "Actions" menu
And
I click the "Create New" button in the "Notes in Draft Status" pane
And
I select "Progress Note" from the "Select a Template" list
And
I am on the "A/P" tab in the "NoteWriter" pane
And
I enter "Gman" in the "Provider Search" field in the "NoteWriter" pane
And
I click the "Lookup" button
And
I click the "Save as Draft" button
And
I click the "Yes" button in the "Question" confirmation box
And
I select "Clinical Notes" from clinical navigation
Then
the following rows should appear in the "Clinical Notes" table
Date Note Type (\d) Author
%Current Date MM/DD/YY% *DRAFT* Progress Note KADMIN, PERRY
When
I select "KADMIN, PERRY" from the "Author" column the "Progress Note" pane should load
Then
the text "Draft" should appear in the "Progress Note" pane
  • @PortalSmoke
  • @donotrun
05 QuickText
When
I select patient "Molly Darr" from the patient list
And
I select "Write Note" from the "Actions" menu
And
I click the "Create New" button in the "Notes in Draft Status" pane
And
I select "Progress Note" from the "Select a Template" list
And
I enter "The quick brown fox jumped over the lazy dog" in the "Patient Narrative" field in the "NoteWriter" pane
And
I am on the "A/P" tab in the "NoteWriter" pane
And
I enter "Gman" in the "Provider Search" field in the "NoteWriter" pane
And
I click the "Lookup" button in the "NoteWriter" pane
And
I click the "Sign/Submit" button
And
I click the "Yes" button in the "Sign/Submit" confirmation box
And
I select "Clinical Notes" from clinical navigation
Then
the following rows should appear in the "Clinical Notes" table
Date Note Type (\d) Author
%Current Date MM/DD/YY% Progress Note KADMIN, PERRY
When
I select "KADMIN, PERRY" from the "Author" column the "Progress Note" pane should load
Then
the text "The quick brown fox jumped over the lazy dog" should appear in the "Progress Note" pane
  • @PortalSmoke
  • @donotrun
06 Preselecting Clinicals
When
I select patient "Molly Darr" from the patient list
And
I select "Write Note" from the "Actions" menu
And
I click the "Create New" button in the "Notes in Draft Status" pane
And
I select "Progress Note" from the "Select a Template" list
And
I click the "Data" tab in the "NoteWriter" pane
And
I click the "Allergies" link in the "NoteWriter" pane
And
I click the "NoteWriter Preselection Icon" in the "Allergies" table
And
I click the "Lab Results" link in the "Patient Data" pane
And
I click the "NoteWriter Preselection Icon" in the "Panels" table
And
I click the "Copy to Note" button in the "Patient Data" pane
Then
the text "Bee sting" should appear in the "NoteWriter" pane
Then
the text "Penicillin" should appear in the "NoteWriter" pane
Then
the text "CBC" should appear in the "NoteWriter" pane
Then
the text "Chem7" should appear in the "NoteWriter" pane
And
I am on the "A/P" tab in the "NoteWriter" pane
And
I enter "Gman" in the "Provider Search" field in the "NoteWriter" pane
And
I click the "Lookup" button in the "NoteWriter" pane
And
I click the "Sign/Submit" button
And
I click the "Yes" button in the "Sign/Submit" confirmation box
And
I select "Clinical Notes" from clinical navigation
Then
the following rows should appear in the "Clinical Notes" table
Date Note Type (\d) Author
%Current Date MM/DD/YY% Progress Note KADMIN, PERRY
When
I select "KADMIN, PERRY" from the "Author" column the "Progress Note" pane should load
Then
the text "Bee sting" should appear in the "Progress Note" pane
Then
the text "Penicillin" should appear in the "Progress Note" pane
Then
the text "Chem7" should appear in the "Progress Note" pane
Then
the text "CBC" should appear in the "Progress Note" pane
  • @PortalSmoke
  • @donotrun
07 Problems
When
I select patient "Molly Darr" from the patient list
And
I select "Write Note" from the "Actions" menu
And
I click the "Create New" button in the "Notes in Draft Status" pane
And
I select "History and Physical" from the "Select a Template" list
And
I am on the "A/P" tab in the "NoteWriter" pane
And
I click the "Search/Free Text" button
And
I enter "Toe Duplication" in the "Search" field in the "Search/Free Text" field
And
I click the "Search" button
And
I select "Toe Duplication" from the "Description (IMO)" column in the "Select Keywords" table
Then
the text "Toe duplication" should appear in the "NoteWriter" pane
Then
the text "PROBLEM 1:" should appear in the "NoteWriter" pane
Then
the text "Toe duplication" should appear in the "NoteWriter" pane
And
I am on the "Search/Free Text" tab of the "Select Problems to Add to Note" pane
And
I enter "eye" in the "Search" field in the "Select Problems to Add to Note" pane
When
I select "379.93" from the "Code" column in the "Select Keywords" table
Then
the "Select Keywords" table should close
Then
the text "Eye discharge" should appear in the "NoteWriter" pane
Then
the text "PROBLEM 2:" should appear in the "NoteWriter" pane
And
I click the "Sign/Submit" button
And
I click the "Yes" button in the "Sign/Submit" confirmation box
And
I select "Clinical Notes" from clinical navigation
Then
the following rows should appear in the "Clinical Notes" table
Date Note Type (\d) Author
%Current Date MM/DD/YY% Progress Note KADMIN, PERRY
When
I select "KADMIN; PERRY" from the "Author" column the "Progress Note" pane should load
Then
the text "ASSESSMENT / PLAN" should appear in the "Progress Note" pane
Then
the text "Toe Duplication" should appear in the "Progress Note" pane
Then
the text "Eye discharge" should appear in the "Progress Note" pane
  • @PortalSmoke
  • @donotrun
08 CC Integration
When
I select patient "Molly Darr" from the patient list
And
I select "Write Note" from the "Actions" menu
And
I click the "Create New" button in the "Notes in Draft Status" pane
And
I select "Progress Note" from the "Select a Template" list
And
I am on the "A/P" tab in the "NoteWriter" pane
And
I enter "Gman" in the "Provider Search" field in the "NoteWriter" pane
And
I click the "Lookup" button in the "NoteWriter" pane
And
I am on the "Add Charge" tab in the "NoteWriter" pane
And
I select "Sample Family Practice" from the "Bill Area" dropdown
And
I select "Inpatient" from the "Svc Site" dropdown
And
I click the "Diagnoses Search" tab in the "Charge Entry" pane
And
I enter "743.9" in the "Diagnosis Search" field in the "Charge Entry" pane
And
I click the "Diagnosis Search" button in the "Charge Entry" pane
And
I click the "Charge Search" tab in the "Charge Entry" pane
And
I enter "87101" in the "Search" field in the "Charges" pane
And
I click the "Charge Search" button in the "Charge Entry" pane
And
I click the "Sign/Submit" button
And
I click the "Yes" button in the "Sign/Submit" confirmation box
And
I select "Clinical Notes" from clinical navigation
Then
the following rows should appear in the "Clinical Notes" table
Date Note Type (\d) Author
%Current Date MM/DD/YY% Progress Note KADMIN, PERRY
When
I select "KADMIN, PERRY" from the "Author" column the "Progress Note" pane should load
When
I select "Charges" from clinical navigation
Then
the following rows should appear in the "Clinical Notes" table
Date/Time Prov/Team Proc Qty Diag
%Current Date MM/DD/YY% KADMIN, PERRY 87101 skin fungi culture 1 743.9
  • @PortalSmoke
  • @donotrun
09 Edit Draft Note
When
I select patient "Molly Darr" from the patient list
And
I select "Write Note" from the "Actions" menu
And
I click the "Create New" button in the "Notes in Draft Status" pane
And
I select "Progress Note" from the "Select a Template" list
And
I am on the "Subjective" tab in the "NoteWriter" pane
And
I enter "ABC DEF" in the "Patient Narrative" field in the "NoteWriter" pane
And
I click the "Save as Draft" button
And
I click the "Yes" button in the "Question" confirmation box
And
I select "Clinical Notes" from clinical navigation
Then
the following rows should appear in the "Clinical Notes" table
Date Note Type (\d) Author
%Current Date MM/DD/YY% *DRAFT* Progress Note KADMIN, PERRY
When
I select "KADMIN, PERRY" from the "Author" column the "Progress Note" pane should load
And
I click the "Edit" button in the "Progress Note" pane
And
I am on the "Subjective" tab in the "NoteWriter" pane
And
I enter "DEF GHI JKL" in the "Patient Narrative" field in the "NoteWriter" pane
And
I am on the "A/P" tab in the "NoteWriter" pane
And
I enter "Gman" in the "Provider Search" field in the "NoteWriter" pane
And
I click the "Lookup" button in the "NoteWriter" pane
And
I click the "Sign/Submit" button
And
I click the "Yes" button in the "Sign/Submit" confirmation box
Then
the "NoteWriter" pane should close
And
I select "Clinical Notes" from clinical navigation
Then
the following rows should appear in the "Clinical Notes" table
Date Note Type (\d) Author
%Current Date MM/DD/YY% Progress Note KADMIN, PERRY
When
I select "KADMIN, PERRY" from the "Author" column the "Progress Note" pane should load
Then
the text "DEF GHI JKL" should appear in the "Progress Note" pane
Then
the text "Final" should appear in the "Progress Note" pane
  • @PortalSmoke
  • @donotrun
10 Delete Draft Note
When
I select patient "Molly Darr" from the patient list
And
I select "Write Note" from the "Actions" menu
And
I click the "Create New" button in the "Notes in Draft Status" pane
When
I select "Progress Note" from the "Select a Template" list
When
I am on the "Subjective" tab in the "NoteWriter" pane
When
I enter "Delete this" in the "Patient Narrative" field in the "NoteWriter" pane
And
I click the "Delete" button in the "Progress Note" pane
And
I click the "Yes" button in the "Question" confirmation box
Then
the "NoteWriter" pane should close
Then
the following rows should appear in the "Clinical Notes" table
Date Note Type (\d) Author
%Current Date MM/DD/YY% *DRAFT* Progress Note KADMIN, PERRY

Last published over 4 years ago by ess kay.