mv: Enums

* Move enums
This commit is contained in:
2025-01-28 20:48:00 -05:00
parent bcc32bf445
commit e08e23d647
18 changed files with 29 additions and 17 deletions

View File

@ -0,0 +1,12 @@
<?php
namespace App\Enums\Case;
enum CaseLevel: int
{
case PARAPROFESSIONAL = 0;
case BACHELOR = 1;
case MASTER = 2;
case DOCTORATE = 3;
case ADMIN = 99;
}

View File

@ -0,0 +1,27 @@
<?php
namespace App\Enums\Case;
enum DischargeReason: string
{
case AGENCY_WITHDREW = 'Agency withdrew family';
case COMPLETED_PLANNED_SERVICES = 'Completed planned services';
case DCS_OR_PROBATION_WITHDREW = 'DCS or Probation withdrew services';
case CLIENT_MOVED = 'Client Moved';
case CLIENT_WITHDREW = 'Client/youth/family withdrew from service';
case FAMILY_REFUSED = 'Family refused services';
case OTHER = 'Other, Please Specify';
case CLIENT_REFUSED = 'Client refused to initiate services';
case CLIENT_REFERRED = 'Client referred to another service';
case ADMINISTRATIVE_TERMINATION = 'Administrative termination';
case REFERRAL_EXPIRED = 'Referral expired';
case SERVICE_ON_HOLD = 'Service on hold/intermittant';
case UNKNOWN = 'Unknown';
case TRANSFER_COUNTY = 'Transfer to another county';
case ASSIGNED_TO_DIFFERENT_IC = 'Assigned to different IC';
case SERVICES_NOT_NEEDED = 'Services not needed at this time, per FCM';
case CHANGE_IN_OBJECTIVE = 'Change in objective/referred person added';
case DCS_PROBATION_CASE_CLOSED = 'DCS/Probation case closed';
case TEMP_COVERAGE = 'Temporary coverage only for another IC';
case UPDATED_REFERRAL = 'Updated referral received';
}

View File

@ -0,0 +1,36 @@
<?php
namespace App\Enums\Case;
enum NoteLocation: string
{
case AGENCY_OTHER_PROFESSIONAL = 'Agency/Other Professional';
case AT_HOME = 'At Home';
case CHILDPLACE = 'Childplace';
case CHURCH = 'Church';
case CLIENT_HOME = 'Client Home';
case CLIENT_SEARCH = 'Client Search';
case COMMUNITY_OUTING = 'Community Outing';
case COURT_HOUSE = 'Court House';
case DCS_OFFICE = 'DCS Office';
case DENTIST_EYE_APPOINTMENT = 'Dentist/Eye appointment';
case DOCTOR_DENTIST_APPOINTMENT = 'Doctor/Dentist Appointment';
case EMPLOYMENT_SEARCH = 'Employment Search';
case FOOD_PANTRY = 'Food Pantry';
case FOSTER_HOME = 'Foster home';
case HOUSING_SEARCH = 'Housing Search';
case JAIL_CORRECTIONAL_FACILITY = 'Jail/Correctional Facility';
case LIBRARY = 'Library';
case OTHER = 'Other';
case PARK = 'Park';
case PROBATION_OFFICE = 'Probation Office';
case RELATIVE_HOME = 'Relative home';
case RESTAURANT = 'Restaurant';
case SCHOOL = 'School';
case SHOPPING_CENTER = 'Shopping Center';
case TELEPHONE = 'Telephone';
case TEXT_MESSAGE = 'Text Message';
case THERAPY_APPOINTMENT = 'Therapy Appointment';
case VEHICLE_TRANSPORTATION = 'Vehicle/Transportation';
case WELLSTONE = 'Wellstone';
}

View File

@ -0,0 +1,25 @@
<?php
namespace App\Enums\Case;
enum NoteMethod: int
{
case DCS_PROBATION_CONTACT = 0;
case BILLABLE = 1;
case BILLABLE_CASE_CONFERENCE = 2;
case BILLABLE_CFTM = 3;
case BILLABLE_COURT = 4;
case BILLABLE_CRISIS_PHONE_CALL = 6;
case BILLABLE_FACE_TO_FACE = 7;
case BILLABLE_PA_DENIED_BY_MEDIACID_SERVICES_TO_BE_PAID_BY_DCS = 8;
case BILLABLE_REPORT_WRITING = 9;
case BILLABLE_SUPERVISED_VISIT = 10;
case BILLABLE_TESTING_INTERPRETATION = 11;
case BILLED_TO_MEDIACID_INSURANCE = 12;
case CANCEL_BY_CLIENT = 13;
case CANCEL_BY_PROVIDER = 14;
case COLLATERAL = 15;
case NO_SHOW = 16;
case NON_BILLABLE = 17;
case SUPERVISED_VISIT_PRIVATE = 18;
}

View File

@ -0,0 +1,15 @@
<?php
namespace App\Enums\Case;
enum NoteStatus: string
{
case DRAFT = 'draft';
case IN_PROGRESS = 'in progress';
case IN_REVIEW = 'in review';
case PUBLISHED = 'published';
case SUBMITTED = 'submitted';
case APPROVED = 'approved';
case REJECTED = 'rejected';
case PAID = 'paid';
}

View File

@ -0,0 +1,20 @@
<?php
namespace App\Enums\Case;
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';
}

View File

@ -0,0 +1,11 @@
<?php
namespace App\Enums\Case;
enum ReferralServiceType: string
{
case FE_FF = 'FE-FF';
case VS_THBB = 'VS-THBB';
case VS_THBBT = 'VS-THBBT';
case VS_THBBCT = 'VS-THBBCT';
}

View File

@ -0,0 +1,28 @@
<?php
namespace App\Enums\Case;
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';
}

View File

@ -0,0 +1,13 @@
<?php
namespace App\Enums\Case;
enum ResourceType: int
{
case FOOD_PANTRY = 0;
case CLOTHES_CLOSET = 1;
case JOB_OPENINGS = 2;
case HOUSING = 3;
case PARENT_SUPPORT = 4;
case PLAY_AREA = 5;
}

View File

@ -0,0 +1,11 @@
<?php
namespace App\Enums\Case;
enum VisitQualityLevel: int
{
case RARELY = 0;
case OFTEN = 1;
case OCCASIONALLY = 2;
case ALWAYS = 3;
}