To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorUser audits patient
In order to view changes to a patient
As an admin user viewing a patient
I want to audit changes to a patient
- Background
-
- Given
-
the following patients:
subject_id dob 12345 2/4/1967
- Scenarios
-
- Scenario
-
- Given
- I am signed in
- And
- I am on the patients page
- When
- I follow "Add Patient"
- And
- I fill in "Subject ID" with "Justin"
- And
- I fill in "Date of birth" with "01/01/1965"
- And
- I press "Create New Patient"
- Then
- I should see "Justin"
- When
- I follow "Audit"
- Then
- I should see "Audit Trail for Justin"
- Scenario
-
- Given
- I am signed in
- And
- I am on the new patient page
- When
- I fill in "Subject ID" with "123"
- And
- I press "Find Patient"
- Then
- I should see "12345"
- When
- I follow "12345"
- Then
- I should see "12345"
- When
- I follow "Audit"
- Then
- I should see "searched_at"
- And
- I should see "viewed_at"
Last published almost 7 years ago by wminsinger.