Add Enums and formtypes
This commit is contained in:
11
src/Enums/GenderType.php
Normal file
11
src/Enums/GenderType.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum GenderType: string
|
||||
{
|
||||
case MALE = 'male';
|
||||
case FEMALE = 'female';
|
||||
case OTHER = 'other';
|
||||
case TRANSGENDER = 'transgender';
|
||||
}
|
20
src/Enums/RaceType.php
Normal file
20
src/Enums/RaceType.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum RaceType: string
|
||||
{
|
||||
case AFRICAN_AMERICAN = 'African American';
|
||||
case AMERICAN_INDIANA = 'American Indian';
|
||||
case ASIAN = 'Asian';
|
||||
case ASIAN_PACIFIC = 'Asian/Pacific Islander';
|
||||
case BIRACIAL = 'Biracial, Non-Hispanic';
|
||||
case BLACK = 'Black, Non-Hispanic';
|
||||
case CAUCASIAN = 'Caucasian';
|
||||
case HISPANIC = 'Hispanic';
|
||||
case MISSING_DATA = 'Missing Data';
|
||||
case MULTIRACIAL = 'Multi-racial';
|
||||
case NATIVE_AMERICAN = 'Native American';
|
||||
case OTHER = 'Other';
|
||||
case UNKNOWN = 'Unknown';
|
||||
}
|
28
src/Enums/RelationshipType.php
Normal file
28
src/Enums/RelationshipType.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum RelationshipType: string
|
||||
{
|
||||
case ADULT_CHILD = 'Adult Child';
|
||||
case AUNT = 'Aunt';
|
||||
case SO_OF_PARENT = 'Boy/Girlfriend of Parent';
|
||||
case CAREGIVER = 'Caregiver';
|
||||
case CHILD = 'Child';
|
||||
case FATHER = 'Father';
|
||||
case FOSTER_FATHER = 'Foster Father';
|
||||
case FOSTER_MOTHER = 'Foster Mother';
|
||||
case FOSTER_SIBLING = 'Foster Sibling';
|
||||
case GRANDFATHER = 'Grandfather';
|
||||
case GRANDMOTHER = 'Grandmother';
|
||||
case HALF_SIBLING = 'Half Sibling';
|
||||
case HOMESTUDY_PREPARATION = 'Homestudy Preparation';
|
||||
case MOTHER = 'Mother';
|
||||
case OTHER_RELATIVE = 'Other Relative';
|
||||
case PARENT_PARAMOUR = 'Parent Paramour';
|
||||
case SIBLING = 'Sibling';
|
||||
case STEP_SIBLING = 'Step Sibling';
|
||||
case STEP_FATHER = 'Stepfather';
|
||||
case STEP_MOTHER = 'Stepmother';
|
||||
case UNCLE = 'Uncle';
|
||||
}
|
Reference in New Issue
Block a user