Logo: Relish

  1. Sign in

Project: Lombard

User views patient forms

In order to track procedures for a patients in the registry
As a signed in user
I want to see a list of surveys when viewing the patient

  • Patient page displays all available procedure forms
  • Sorted by name
  • Fields displayed include: -- title -- registry_id
Background
Given
the following patients:
subject_id dob
12345 2/4/1967
And
the following registries:
name
Baylor
Scenarios
  • @audit
Scenario
Given
I am signed in as an admin
And
I am on the registries page
And
I follow "Baylor"
And
I follow "Add Import"
When
I attach the file "baylor_angioplasty.txt" to "survey_import_document"
And
I press "Upload"
Then
I should see "baylor_angioplasty.txt"
When
I am on the newpatient page
And
I fill in "Subject ID" with "123"
And
I press "Find Patient"
And
I follow "12345"
And
I press "Angioplasty"
Then
I should see "Basic questions"
When
I fill in "Name" with "Joe Smith"
And
I fill in "Site #" with "1211"
And
I choose "Yes"
And
I choose "1 year"
And
I press "Click here to finish"
Then
I should see "12345"
When
I am on the newpatient page
And
I fill in "Subject ID" with "123"
And
I press "Find Patient"
And
I follow "12345"
And
I follow "Audit"
Then
I should see "Audit Trail for 12345"
And
I should see "Create"

Last published over 5 years ago by wminsinger.