@@ -25,6 +25,49 @@ def create_hope_field_definitions() -> None:
2525 field_type = forms .ChoiceField ,
2626 attrs = {"choices" : [["not disabled" , "not disabled" ], ["disabled" , "disabled" ]]},
2727 )
28+ FieldDefinition .objects .get_or_create (
29+ name = "HOPE HH ResidenceStatus" ,
30+ slug = slugify ("HOPE HH ResidenceStatus" ),
31+ field_type = forms .ChoiceField ,
32+ attrs = {
33+ "choices" : [
34+ ["" , "" ],
35+ ["IDP" , "Displaced | Internally Displaced People" ],
36+ ["REFUGEE" , "Displaced | Refugee / Asylum Seeker" ],
37+ ["OTHERS_OF_CONCERN" , "Displaced | Others of Concern" ],
38+ ["HOST" , "Non-displaced | Host" ],
39+ ["NON_HOST" , "Non-displaced | Non-host" ],
40+ ["RETURNEE" , "Displaced | Returnee" ],
41+ ]
42+ },
43+ )
44+ FieldDefinition .objects .get_or_create (
45+ name = "HOPE IND Relationship" ,
46+ slug = slugify ("HOPE IND Relationship" ),
47+ field_type = forms .ChoiceField ,
48+ attrs = {
49+ "choices" : [
50+ ["RELATIONSHIP_UNKNOWN" , "Unknown" ],
51+ ["AUNT_UNCLE" , "Aunt / Uncle" ],
52+ ["BROTHER_SISTER" , "Brother / Sister" ],
53+ ["COUSIN" , "Cousin" ],
54+ ["DAUGHTERINLAW_SONINLAW" , "Daughter-in-law / Son-in-law" ],
55+ ["GRANDDAUGHTER_GRANDSON" , "Granddaughter / Grandson" ],
56+ ["GRANDMOTHER_GRANDFATHER" , "Grandmother / Grandfather" ],
57+ ["HEAD" , "Head of household (self)" ],
58+ ["MOTHER_FATHER" , "Mother / Father" ],
59+ ["MOTHERINLAW_FATHERINLAW" , "Mother-in-law / Father-in-law" ],
60+ ["NEPHEW_NIECE" , "Nephew / Niece" ],
61+ ["NON_BENEFICIARY" , "Not a Family Member. Can only act as a recipient." ],
62+ ["RELATIONSHIP_OTHER" , "Other" ],
63+ ["SISTERINLAW_BROTHERINLAW" , "Sister-in-law / Brother-in-law" ],
64+ ["SON_DAUGHTER" , "Son / Daughter" ],
65+ ["WIFE_HUSBAND" , "Wife / Husband" ],
66+ ["FOSTER_CHILD" , "Foster child" ],
67+ ["FREE_UNION" , "Free union" ],
68+ ]
69+ },
70+ )
2871
2972 SyncLog .objects .create_lookups ()
3073
0 commit comments