As a case investigator, I want to search by a patient's name, so that I can find all their relevant eCRs in the Library.
Acceptance Criteria
[x] The search bar is rendered according to the designs
[x] Default text is included when search bar is not in use
[x] Searching by any part of a patient's name pulls up all matching eCRs
NOT an acceptance criteria: we're just doing strict search at this point, not fuzzy matching. If I search "Jon", I'm not going to see any patients named "John" (note different spelling).
Scenarios
Scenario 1:
I click on the search bar at the top of the Library
I type "Emma" and click the button for search
All eCRs for any "Emma"s are listed (i.e., "Emma Alpha" "Emmaline Bravo" "Gemma Charlie" or "Jane Emma" are all shown)
Scenario 2:
I click on the search bar at the top of the Libary
I type "John" and hit the enter button
All eCRs for any "John"s are listed (i.e., "John Doe", "Johnny Smith" "Jane Johnson")
User Story
As a case investigator, I want to search by a patient's name, so that I can find all their relevant eCRs in the Library.
Acceptance Criteria
NOT an acceptance criteria: we're just doing strict search at this point, not fuzzy matching. If I search "Jon", I'm not going to see any patients named "John" (note different spelling).
Scenarios
Scenario 1:
Scenario 2:
Design Notes
Link to Figma design in Dev mode No search prototype available
Screenshots below should not be used for working on this ticket - always refer to Figma design for most up-to-date designs: