Skip to content

Add New Case | Demographic Details | Add Defendants Gender #89

@chenhuyr

Description

@chenhuyr

Background on the problem the feature will solve/improved user experience

As a Public Defender/Staff Member,
I want to add an add the defendants gender to a new case,
so that the new case will have demographic details to determine if bias was present in sentencing

Describe the solution you'd like

  • Match gender list with the list on the aggregator
  • Extract gender to its own class
  • Extract validation to its own module
  • Add unit tests
  • Show "Select Gender" placeholder
  • Show error when Gender is not select after first touch.

Tasks

  • Add unknown to the existing list.
  • Match gender list with the list on the aggregator
  • Extract gender to its own class
  • Extract validation to its own module
  • Add unit tests
  • Show "Select Gender" placeholder
  • Show error when Gender is not select after first touch.

Acceptance Criteria

  • Creates a new case with the defendants gender
  • Gender options should be Female, Male, Other, Unknown

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions