parent
d6d5e717d0
commit
5c2e5af0f2
|
@ -0,0 +1,998 @@
|
|||
<?xml version="1.0"?>
|
||||
<components>
|
||||
<section name="uncategorized">
|
||||
<section name="conditions">
|
||||
<condition id="CD000-016-241" summary="this user is the self" type="user">GQ000-000-002:MQ000-000-005 eq 'self'</condition>
|
||||
<!--completion condition reverted to CD000-001-941 (was CD000-015-054 in initial version of new HH)-->
|
||||
<condition id="CD000-001-941" summary="User has completed HouseHold module" label="HH completion condition">GQ000-001-155:MQ000-001-253 == 1</condition>
|
||||
|
||||
<condition id="CD000-018-598" summary="client said Y to home address">GQ000-005-700:MQ000-006-882 eq 'y'</condition>
|
||||
<condition id="CD000-003-619" summary="older than 18 years old in hh" label="all people older than 18" type="user" bmod_id="BM000-000-026">FM000-000-060 >= 18</condition>
|
||||
<!-- above added by rcb from BM1 -->
|
||||
<condition id="CD000-000-002">'GQ000-000-002:MQ000-000-005' ne 'self'</condition>
|
||||
<condition id="CD000-000-007" label="user has SSN">'GQ000-000-008:MQ000-000-011' eq 'y'</condition>
|
||||
<condition id="CD000-016-183" label="user has SSN or user changed answer to N and has old SSN">GQ000-000-008:MQ000-000-011 eq 'y' || (CD000-010-933 && NOT(IS_NULL(GQ000-000-009:MQ000-000-012)))</condition>
|
||||
<condition id="CD000-018-578" label="user said N to SSN and has old SSN">CD000-010-933 && NOT(IS_NULL(GQ000-000-009:MQ000-000-012))</condition>
|
||||
<condition id="CD000-010-933" summary="User has no SSN (answered 'no' to having one)" label="no SSN" bmod_id="BM000-000-001">GQ000-000-008:MQ000-000-011 eq 'n'</condition>
|
||||
<condition id="CD000-010-447" summary="User is female" label="female">GQ000-000-007:MQ000-000-010 eq 'f'</condition>
|
||||
<condition id="CD000-010-448" summary="User is male" label="male">GQ000-000-007:MQ000-000-010 eq 'm'</condition>
|
||||
<condition id="CD000-000-046" summary="client checked y for separate mailing address" label="separate mailing address">GQ000-000-013:MQ000-000-021 eq 'y'</condition>
|
||||
<condition id="CD000-000-120">FM000-000-060 == 17</condition>
|
||||
<condition id="CD000-000-121">FM000-000-060 >= 17</condition>
|
||||
<condition id="CD000-000-122" summary="True for US citizens." label="US citizen" tags="fed04, filing status, marital status, dependents, form">'GQ000-000-016:MQ000-000-023' eq 'y'</condition>
|
||||
<condition id="CD000-011-335" summary="This user is not a US CITIZEN" type="user">GQ000-000-016:MQ000-000-023 eq 'n'</condition>
|
||||
<condition id="CD000-000-128" bmod_id="BM000-000-001">'GQ000-000-012:MQ000-000-019' eq 'pa'</condition>
|
||||
<condition id="CD000-000-130" summary="marital status divorced">'GQ000-000-004:MQ000-000-007' eq 'divorced'</condition>
|
||||
<condition id="CD000-000-135" summary="marital status widowed">'GQ000-000-004:MQ000-000-007' eq 'widowed'</condition>
|
||||
<condition id="CD000-000-220" summary="marital status married living separately">'GQ000-000-004:MQ000-000-007' eq 'married living separately'</condition>
|
||||
<condition id="CD000-000-221" summary="marital status legally separated">'GQ000-000-004:MQ000-000-007' eq 'legally separated'</condition>
|
||||
<condition id="CD000-000-225">FM000-000-060 <= 24</condition>
|
||||
<condition id="CD000-000-226">HAS_MEMBERS(FS000-000-144)</condition>
|
||||
<condition id="CD000-000-227" summary="there are HH members legally separated or married living separately">HAS_MEMBERS(FS000-000-143)</condition>
|
||||
<condition id="CD000-000-228" summary="there are HH members divorced">HAS_MEMBERS(FS000-000-060)</condition>
|
||||
<condition id="CD000-000-229" summary="there are HH members widowed">HAS_MEMBERS(FS000-000-142)</condition>
|
||||
<condition id="CD000-000-230" summary="there are HH members with SSNs">HAS_MEMBERS(FS000-000-050)</condition>
|
||||
<condition id="CD000-000-231" summary="there are HH members w/o SSNs">HAS_MEMBERS(FS000-000-140)</condition>
|
||||
<condition id="CD000-000-232">HAS_MEMBERS(FS000-000-141)</condition>
|
||||
<condition id="CD000-002-087" summary="this user has child detail 'other child'" label="other child">GQ000-000-185:MQ000-000-121 eq 'other child'</condition>
|
||||
<condition id="CD000-000-234" summary="there are users who have relationship to self 'other child'">HAS_MEMBERS(FS000-000-145)</condition>
|
||||
<condition id="CD000-000-235" summary="User lives in household" label="in household" bmod_id="BM000-000-001">'GQ000-000-211:MQ000-000-150' eq 'y'</condition>
|
||||
<condition id="CD000-000-290" summary="client checked box to add HH member" label="client wants to add a HH member" type="non-group">GQ000-000-225:MQ000-000-227 eq 'check'</condition>
|
||||
<condition id="CD000-011-604">INSTANCE(GQ000-000-225:MQ000-000-227) eq 'check'</condition>
|
||||
<condition id="CD000-000-291" summary="there are HH members divorced, widowed, legally separated or married living separately">(CD000-000-227 || CD000-000-228 || CD000-000-229)</condition>
|
||||
<condition id="CD000-000-286" summary="self user has a spouse" label="HH spouse exists" dereference="FS171 depends on CD247" bmod_id="BM000-000-001">HAS_MEMBERS(FS000-000-171)</condition>
|
||||
<condition id="CD000-000-285" summary="self has no spouse entered in the HH module" label="No HH spouse exists" bmod_id="BM000-000-001">NOT(HAS_MEMBERS(FS000-000-171))</condition>
|
||||
<condition id="CD000-000-247" summary="User lives in household and is the spouse." label="user is HH spouse" bmod_id="BM000-000-001">GQ000-000-211:MQ000-000-150 eq 'y' && GQ000-000-002:MQ000-000-005 eq 'spouse'</condition>
|
||||
<!--Conditions for Alias self, spouse-->
|
||||
<condition id="CD000-001-721" summary="condition for self alias" label="self">'GQ000-000-002:MQ000-000-005' eq 'self'</condition>
|
||||
<condition id="CD000-001-722" summary="condition for spouse alias" label="spouse" bmod_id="BM000-000-009">'GQ000-000-002:MQ000-000-005' eq 'spouse'</condition>
|
||||
<condition id="CD000-001-734" summary="this user is (under 24yo or has relationship to self 'child') and is not self and is not spouse of self">(CD000-000-225 || 'GQ000-000-002:MQ000-000-005' eq 'child') && NOT('GQ000-000-002:MQ000-000-005' eq 'self') && NOT('GQ000-000-002:MQ000-000-005' eq 'spouse')</condition>
|
||||
<condition id="CD000-001-768" summary="there are HH members with child relationship to self" label="transition BN1904-BN1010">HAS_MEMBERS(FS000-000-512)</condition>
|
||||
<!-- household v1.04 -->
|
||||
<condition id="CD000-001-905" summary="agrees to disclaimer">'GQ000-001-147:MQ000-001-244' eq 'y'</condition>
|
||||
<!-- household v1.05 -->
|
||||
<condition id="CD000-001-903" summary="First time user who has never seen the disclaimer before">IS_NULL(GQ000-001-147:MQ000-001-244)</condition>
|
||||
<condition id="CD000-002-060" summary="residence state eq PA" label="Lives in PA">'GQ000-000-012:MQ000-000-019' eq 'pa'</condition>
|
||||
<condition id="CD000-002-061" summary="residence state eq FL" label="Lives in FL">'GQ000-000-012:MQ000-000-019' eq 'fl'</condition>
|
||||
<condition id="CD000-002-062" summary="residence state eq KS" label="Lives in KS">'GQ000-000-012:MQ000-000-019' eq 'ks'</condition>
|
||||
<condition id="CD000-005-519" summary="residence state eq OH" label="Lives in OH">'GQ000-000-012:MQ000-000-019' eq 'oh'</condition>
|
||||
<condition id="CD000-005-520" summary="residence state eq MS" label="Lives in MS" bmod_id="BM000-000-001">'GQ000-000-012:MQ000-000-019' eq 'ms'</condition>
|
||||
<condition id="CD000-005-521" summary="residence state eq DC" label="Lives in DC">'GQ000-000-012:MQ000-000-019' eq 'dc'</condition>
|
||||
<condition id="CD000-002-063" summary="Does not live in PA, FL, or KS or OH">NOT(CD000-005-519) && NOT(CD000-002-060) && NOT(CD000-002-061) && NOT(CD000-002-062)</condition>
|
||||
<!-- end household v1.06 -->
|
||||
<condition id="CD000-001-120">(CD000-000-235) && ('GQ000-000-002:MQ000-000-005' ne 'self')</condition>
|
||||
<!--Household module: clean-up for no-county bug-->
|
||||
<condition id="CD000-011-266" summary="No county set, and lives in a place with counties" label="no county and needs one">IS_NULL(GQ000-000-184:MQ000-000-120) && CD000-010-016</condition>
|
||||
<!--General primary relationship tests-->
|
||||
<condition id="CD000-005-967" summary="the user is related to the client through other blood relationship" label="this users primary relationship is other" type="user">GQ000-000-002:MQ000-000-005 eq 'other'</condition>
|
||||
<condition id="CD000-005-966" summary="the user is unrelated to the client" label="this users primary relationship is unrelated" type="user">GQ000-000-002:MQ000-000-005 eq 'unrelated'</condition>
|
||||
<condition id="CD000-001-785" summary="grandparent" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'grandmother' || 'GQ000-000-002:MQ000-000-005' eq 'grandfather'</condition>
|
||||
<condition id="CD000-001-786" summary="parent" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'mother' || 'GQ000-000-002:MQ000-000-005' eq 'father'</condition>
|
||||
<condition id="CD000-001-787" summary="brother" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'brother'</condition>
|
||||
<condition id="CD000-001-788" summary="sister" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'sister'</condition>
|
||||
<condition id="CD000-001-789" summary="aunt" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'aunt'</condition>
|
||||
<condition id="CD000-001-790" summary="uncle" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'uncle'</condition>
|
||||
<condition id="CD000-001-791" summary="nephew" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'nephew'</condition>
|
||||
<condition id="CD000-001-792" summary="niece" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'niece'</condition>
|
||||
<condition id="CD000-001-784" summary="grandchild" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'grandchild'</condition>
|
||||
<condition id="CD000-001-794" summary="none" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'unrelated'</condition>
|
||||
<condition id="CD000-001-795" summary="other" tags="fed04, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'cousin' || GQ000-000-002:MQ000-000-005 eq 'other'</condition>
|
||||
<condition id="CD000-001-619" summary="(self:has SSN)" label="self has SSN" tags="fed04, form, schedule b" bmod_id="BM000-000-001">'self:GQ000-000-008:MQ000-000-011' eq 'y'</condition>
|
||||
<!--CD2-207 modified by systems to check that we have also answerd yes to the question do you have a SSN?-->
|
||||
<condition id="CD000-002-207" summary="User has entered SSN data" label="SSN defined" tags="fed04, dependents, additional dependents, credits, eitc, qualifying child, additional qc">'GQ000-000-008:MQ000-000-011' eq 'y' && NOT(IS_NULL(GQ000-000-009:MQ000-000-012))</condition>
|
||||
<!--Married dependents-->
|
||||
<condition id="CD000-001-472" summary="User is married" label="married" tags="fed04, dependents">GQ000-000-004:MQ000-000-007 eq 'married'</condition>
|
||||
<condition id="CD000-001-671" summary="User wants to add an income instance" label="add income instance" tags="fed04, income, w-2, 1099-misc, interest, dividend, 1099-R, SSA-1099, 1099-G">'GQ000-001-075:MQ000-001-171' eq 'add'</condition>
|
||||
<condition id="CD000-001-835" summary="User wants to edit an income instance" label="edit income instance" tags="fed04, income, w-2, 1099-misc, interest, dividend, 1099-R, SSA-1099, 1099-G">'GQ000-001-075:MQ000-001-171' eq 'edit'</condition>
|
||||
<condition id="CD000-001-672" summary="User wants to delete an income instance" label="delete income instance" tags="fed04, income, w-2, 1099-misc, interest, dividend, 1099-R, SSA-1099, 1099-G">'GQ000-001-075:MQ000-001-171' eq 'delete'</condition>
|
||||
<!--Begin FedTax part I-->
|
||||
<condition id="CD000-000-249">HAS_MEMBERS(FS000-000-147)</condition>
|
||||
<condition id="CD000-001-238" summary="mailing address not separate">'GQ000-000-013:MQ000-000-021' eq 'n'</condition>
|
||||
<!--KJHB: changing FM000-001-065 with FM1 in CD2156 and CD2157, so it will stop throwing errors. It was supposed to calculate the substantial presence test for non-citizens but was never written-->
|
||||
<condition id="CD000-002-156">self:FM000-000-001 >= 183</condition>
|
||||
<condition id="CD000-002-187">IS_NULL(GQ000-000-014:MQ000-000-016) || IS_NULL(GQ000-000-012:MQ000-000-016)</condition>
|
||||
<!--conditions needed for e-file letters...-->
|
||||
<condition id="CD000-002-059" summary="state in which taxpayer is filing">('GQ000-000-012:MQ000-000-019' eq 'ct') || ('GQ000-000-012:MQ000-000-019' eq 'de') || ('GQ000-000-012:MQ000-000-019' eq 'dc') || ('GQ000-000-012:MQ000-000-019' eq 'fl') || ('GQ000-000-012:MQ000-000-019' eq 'in') || ('GQ000-000-012:MQ000-000-019' eq 'ky') || ('GQ000-000-012:MQ000-000-019' eq 'me') || ('GQ000-000-012:MQ000-000-019' eq 'md') || ('GQ000-000-012:MQ000-000-019' eq 'ma') || ('GQ000-000-012:MQ000-000-019' eq 'mi') || ('GQ000-000-012:MQ000-000-019' eq 'nh') || ('GQ000-000-012:MQ000-000-019' eq 'nj') || ('GQ000-000-012:MQ000-000-019' eq 'oh') || ('GQ000-000-012:MQ000-000-019' eq 'pa') || ('GQ000-000-012:MQ000-000-019' eq 'ny') || ('GQ000-000-012:MQ000-000-019' eq 'ri') || ('GQ000-000-012:MQ000-000-019' eq 'wv') || ('GQ000-000-012:MQ000-000-019' eq 'sc')</condition>
|
||||
<condition id="CD000-002-067" summary="state in which taxpayer is filing">('GQ000-000-012:MQ000-000-019' eq 'al') || ('GQ000-000-012:MQ000-000-019' eq 'ak') || ('GQ000-000-012:MQ000-000-019' eq 'az') || ('GQ000-000-012:MQ000-000-019' eq 'ar') || ('GQ000-000-012:MQ000-000-019' eq 'ca') || ('GQ000-000-012:MQ000-000-019' eq 'co') || ('GQ000-000-012:MQ000-000-019' eq 'ga') || ('GQ000-000-012:MQ000-000-019' eq 'hi') || ('GQ000-000-012:MQ000-000-019' eq 'id') || ('GQ000-000-012:MQ000-000-019' eq 'il') || ('GQ000-000-012:MQ000-000-019' eq 'ia') || ('GQ000-000-012:MQ000-000-019' eq 'ks') || ('GQ000-000-012:MQ000-000-019' eq 'la') || ('GQ000-000-012:MQ000-000-019' eq 'mn') || ('GQ000-000-012:MQ000-000-019' eq 'ms') || ('GQ000-000-012:MQ000-000-019' eq 'mo') || ('GQ000-000-012:MQ000-000-019' eq 'mt') || ('GQ000-000-012:MQ000-000-019' eq 'ne') || ('GQ000-000-012:MQ000-000-019' eq 'nv') || ('GQ000-000-012:MQ000-000-019' eq 'nm') || ('GQ000-000-012:MQ000-000-019' eq 'nc') || ('GQ000-000-012:MQ000-000-019' eq 'nd') || ('GQ000-000-012:MQ000-000-019' eq 'ok') || ('GQ000-000-012:MQ000-000-019' eq 'or') || ('GQ000-000-012:MQ000-000-019' eq 'sd') || ('GQ000-000-012:MQ000-000-019' eq 'tn') || ('GQ000-000-012:MQ000-000-019' eq 'tx') || ('GQ000-000-012:MQ000-000-019' eq 'ut') || ('GQ000-000-012:MQ000-000-019' eq 'wa') || ('GQ000-000-012:MQ000-000-019' eq 'wi') || ('GQ000-000-012:MQ000-000-019' eq 'wy')</condition>
|
||||
<!-- end fedtaxmodule 1 v1.14 -->
|
||||
<condition id="CD000-002-146" summary="self employment income summary page navigation -- add">'GQ000-001-075:MQ000-001-171' eq 'add'</condition>
|
||||
<!-- Start Immigration Module v1.00 -->
|
||||
<condition id="CD000-002-557" type="user" summary="This user is NOT a US Citizen and in the household">CD000-000-235 && CD000-011-335</condition>
|
||||
<condition id="CD000-000-848" type="user" summary="Non-citizens whose deportation is being withheld">'GQ000-000-018:MQ000-000-025' eq 'withheld deportation'</condition>
|
||||
<condition id="CD000-000-849" type="user" summary="Non-citizens admitted with conditional">'GQ000-000-018:MQ000-000-025' eq 'conditional entrant'</condition>
|
||||
<condition id="CD000-000-855" type="user" summary="Amerasians.">'GQ000-000-018:MQ000-000-025' eq 'amerasian'</condition>
|
||||
<condition id="CD000-000-860" type="user" summary="This user has military connection">'GQ000-000-018:MQ000-000-025' eq 'military connection'</condition>
|
||||
<condition id="CD000-000-867" type="user" summary="This user is a battered spouse with a petition pending, a Battered child with a petition pending, or the Parent or the child of a battered person with a petition pending">IS_ONE_OF(GQ000-000-018:MQ000-000-025, 'battered child', 'battered spouse', 'parent or child of a battered person')</condition>
|
||||
<condition id="CD000-002-639" type="user" summary="this user is under 22">FM000-000-060 < 22</condition>
|
||||
<condition id="CD000-002-631" type="non-group" summary="there are users ineligible for MEDICAID, SCHIP and SILVER SAVER">'GQ000-000-012:MQ000-000-019' eq 'fl'</condition>
|
||||
<!--FLFS Employment V1.0 -->
|
||||
<condition id="CD000-000-395" type="user" summary="age above 50" label="this person is above 50yo" notes="">FM000-000-060 > 50</condition>
|
||||
<condition id="CD000-000-423" type="user" summary="age between 18 && 50" label="this person is between 18 and 50yo" notes="">NOT(CD000-000-394) && NOT(CD000-000-395)</condition>
|
||||
<!-- new FLFS demographic section v1.05 -->
|
||||
<condition id="CD000-000-394" type="user" summary="Under 18" label="This person is under 18" notes="">FM000-000-060 < 18</condition>
|
||||
<condition id="CD000-004-990" type="user" summary="age is greater than or equal to 18" label="This person is 18 or older" notes="">NOT(CD000-000-394)</condition>
|
||||
<condition id="CD000-000-409" type="user" summary="checked as disabled in HH module" label="This person may be disabled" notes="">'GQ000-000-427:MQ000-000-596' eq 'y'</condition>
|
||||
<condition id="CD000-002-433" type="user" summary="user is TANF recipient and is married" label="" notes="">CD000-000-401 && 'GQ000-000-004:MQ000-000-007' eq 'married'</condition>
|
||||
<!-- new FLFS demographic section v1.07 -->
|
||||
<condition id="CD000-002-577" type="user" summary="this user is a female" label="female members of Household" notes="">'GQ000-000-007:MQ000-000-010' eq 'f'</condition>
|
||||
<condition id="CD000-002-579" type="user" summary="all user in household but self" label="all user in household but self" notes="">CD000-000-235 && CD000-000-002</condition>
|
||||
<condition id="CD000-001-059" type="user" summary="yes to US Citizens" label="" notes="">'GQ000-000-016:MQ000-000-023' eq 'y'</condition>
|
||||
<condition id="CD000-001-307" type="user" summary="user is less than 2 yo" label="This student is yesible for food stamp" notes="">FM000-000-060 < 2</condition>
|
||||
<condition id="CD000-002-493" type="user" summary="this user is disabled" label="" notes="" bmod_id="BM000-000-001">'GQ000-000-427:MQ000-000-596' eq 'y'</condition>
|
||||
<condition id="CD000-002-502" type="user" summary="sponsored noncitizen" label="" notes="">'GQ000-000-018:MQ000-000-112' eq 'y'</condition>
|
||||
<condition id="CD000-002-504" type="user" summary="has alien ID #" label="" notes="">NOT(IS_NULL(GQ000-000-018:MQ000-000-024))</condition>
|
||||
<condition id="CD000-002-611" type="user" summary="18 or younger" label="18 or younger" notes="">CD000-000-394 || FM000-000-060 == 18</condition>
|
||||
<condition id="CD000-003-381" type="user" summary="age above 50" label="this person is above 50yo" notes="">FM000-001-925 > 50</condition>
|
||||
<condition id="CD000-003-408" replicated_from="CD000-002-580" type="non-group" summary="there are users other than self" label="there are users other than self" notes="">HAS_MEMBERS(FS000-000-846)</condition>
|
||||
<condition id="CD000-003-410" type="user" summary="age >=6 and age <18" label="this user is between age 6 && 18" notes="">FM000-001-925>=6 && FM000-001-925<18</condition>
|
||||
<condition id="CD000-003-411" replicated_from="CD000-002-493" type="user" summary="this user is disabled" label="" notes="">'GQ000-000-427:MQ000-000-596' eq 'y'</condition>
|
||||
<condition id="CD000-003-413" type="user" summary="This user is an asylee, refugee, deportation withheld, conditionnal entrant or cuban/haitian or amerasians">IS_ONE_OF(GQ000-000-018:MQ000-000-025, 'asylee', 'amerasian', 'withheld deportation', 'cuban haitian', 'refugee', 'conditional entrant')</condition>
|
||||
<condition id="CD000-003-418" type="user" summary="This user is a conditionnal entrant or the battered spouse with a petition pending, the Battered child with a petition pending, or the Parent or the child of a battered person with a petition pending or an LPR or a parolee ">IS_ONE_OF(GQ000-000-018:MQ000-000-025, 'battered child', 'battered spouse', 'parent or child of a battered person', 'parolee', 'lawful permanent resident')</condition>
|
||||
<condition id="CD000-003-419" type="user" summary="this user is a female" label="female members of Household" notes="">'GQ000-000-007:MQ000-000-010' eq 'f'</condition>
|
||||
<condition id="CD000-003-422" type="user" summary="Hmong or Laotians tribe">'GQ000-000-018:MQ000-000-025' eq 'hmong'</condition>
|
||||
<condition id="CD000-003-433" type="user" summary="18 or younger" label="18 or younger" notes="">CD000-003-577 || FM000-001-925 == 18</condition>
|
||||
<condition id="CD000-003-446" replicated_from="CD000-002-497" type="user" summary="has official foster child in hh" label="" notes="">'GQ000-000-185:MQ000-000-121' eq 'official foster child'</condition>
|
||||
<condition id="CD000-003-448" replicated_from="CD000-002-494" type="user" summary="there are users that are disabled" label="" notes="">HAS_MEMBERS(FS000-000-835)</condition>
|
||||
<condition id="CD000-003-461" replicated_from="CD000-002-555" type="user" summary="this user is a victim of human trafficking">'GQ000-000-018:MQ000-000-025' eq 'human trafficking'</condition>
|
||||
<condition id="CD000-003-478" replicated_from="CD000-000-872" type="user" summary="under 18">FM000-001-925 < 18</condition>
|
||||
<condition id="CD000-003-489">'GQ000-000-002:MQ000-000-005' ne 'self'</condition>
|
||||
<condition id="CD000-003-503" replicated_from="CD000-002-498" type="non-group" summary="has official foster child in hh" label="" notes="">HAS_MEMBERS(FS000-000-832)</condition>
|
||||
<condition id="CD000-003-512" summary="always true">1</condition>
|
||||
<condition id="CD000-003-524" type="user" summary="under age 5" label="this user is under age 5" notes="">FM000-001-925<5 && CD000-003-577</condition>
|
||||
<condition id="CD000-003-539" type="user" summary="age between 18 && 50" label="this person is between 18 and 50yo" notes="">NOT(CD000-003-577) || NOT(CD000-003-381)</condition>
|
||||
<condition id="CD000-003-549" type="user" summary="American Indians born outside the United States">'GQ000-000-018:MQ000-000-025' eq 'american indians'</condition>
|
||||
<condition id="CD000-003-554" type="user" summary="all user in household but self" label="all user in household but self" notes="">CD000-000-235 && CD000-003-489</condition>
|
||||
<condition id="CD000-003-577" type="user" summary="Under 18" label="This person is under 18" notes="">FM000-001-925 < 18</condition>
|
||||
<!-- MPoling removed CD3590 on 1/17/07 -->
|
||||
<condition id="CD000-003-660" replicated_from="CD000-002-580" type="non-group" summary="there are users other than self" label="there are users other than self" notes="">HAS_MEMBERS(FS000-000-893)</condition>
|
||||
<condition id="CD000-003-663" replicated_from="CD000-002-493" type="user" summary="this user is disabled" label="" notes="">'GQ000-000-427:MQ000-000-596' eq 'y'</condition>
|
||||
<condition id="CD000-003-712" replicated_from="CD000-002-497" type="user" summary="has official foster child in hh" label="" notes="">'GQ000-000-185:MQ000-000-121' eq 'official foster child'</condition>
|
||||
<condition id="CD000-003-714" replicated_from="CD000-002-494" type="user" summary="there are users that are disabled" label="" notes="">HAS_MEMBERS(FS000-000-880)</condition>
|
||||
<condition id="CD000-003-751" replicated_from="CD000-000-872" type="user" summary="under 18">FM000-000-060 < 18</condition>
|
||||
<condition id="CD000-003-788" replicated_from="CD000-002-498" type="non-group" summary="has official foster child in hh" label="" notes="">HAS_MEMBERS(FS000-000-877)</condition>
|
||||
<!-- MPoling removed CD3897 on 1/17/07 -->
|
||||
<!--start of FL Benefits-->
|
||||
<condition id="CD000-004-014" type="non-group" summary="Living in Palm Beach County" label="Living in Palm Beach County" notes="">'GQ000-000-184:MQ000-000-120' eq 'palm beach'</condition>
|
||||
<condition id="CD000-002-903" summary="younger than 21" label="younger than 21" type="user">FM000-000-060 < 21</condition>
|
||||
<condition id="CD000-002-914" summary="all the males in the hh and older than 12" label="all the males in the hh and older than 12" type="user">'GQ000-000-007:MQ000-000-010' eq 'm' && FM000-000-060 > 12</condition>
|
||||
<condition id="CD000-002-915" summary="age 12 and 60" label="age 12 and 60" type="user">FM000-000-060 < 60 || FM000-000-060 > 12</condition>
|
||||
<condition id="CD000-002-928" summary="children in HH less than 21 years old" label="children in HH less than 21 years old" type="user">FM000-000-060 < 21</condition>
|
||||
<condition id="CD000-004-025" summary="the user is not married" label="the user is not married" type="user">'GQ000-000-004:MQ000-000-007' eq 'single'</condition>
|
||||
<condition id="CD000-003-599" summary="less than 19 yrs old" label="less than 19" type="user">FM000-000-060 < 19</condition>
|
||||
<condition id="CD000-004-146" summary="below age 1" label="below age 1" type="user">FM000-000-060 < 1</condition>
|
||||
<condition id="CD000-004-147" summary="age between 1 and 6" label="age between 1 and 6" type="user">FM000-000-060 < 6 && FM000-000-060 >= 1</condition>
|
||||
<condition id="CD000-004-148" summary="age btw 6 and 19" label="age btw 6 and 19" type="user">FM000-000-060 < 19 && FM000-000-060 >= 6</condition>
|
||||
<condition id="CD000-004-182" summary="age between 1 and 5" label="age between 1 and 5" type="user">FM000-000-060 < 5 && FM000-000-060 >= 1</condition>
|
||||
<condition id="CD000-004-183" summary="age btw 6 and 18" label="age btw 6 and 18" type="user">FM000-000-060 <= 18 && FM000-000-060 >= 6</condition>
|
||||
<condition id="CD000-004-184" summary="age 5" label="age 5" type="user">FM000-000-060 == 5</condition>
|
||||
<condition id="CD000-004-185" summary="age btw 0 and 18" label="age btw 0 and 18" type="user">FM000-000-060 <= 18 && FM000-000-060 >= 0</condition>
|
||||
<condition id="CD000-004-311" summary="has 2nd line street information" label="has 2nd line street information" type="non-group">NOT(IS_NULL(GQ000-000-012:MQ000-000-016))</condition>
|
||||
<condition id="CD000-004-312" summary="has apt number" label="has apt number" type="non-group">NOT(IS_NULL(GQ000-000-012:MQ000-000-017))</condition>
|
||||
<condition id="CD000-004-343" summary="has 2nd line street information in mailing address" label="has 2nd line street information in mailing address" type="non-group">NOT(IS_NULL(GQ000-000-014:MQ000-000-016))</condition>
|
||||
<condition id="CD000-004-344" summary="has apt number information in mailing address" label="has apt number information in mailing address" type="non-group">NOT(IS_NULL(GQ000-000-014:MQ000-000-017))</condition>
|
||||
<condition id="CD000-004-348" bmod_id="BM000-000-001" summary="the user has applied for SSN" label="the user has applied for SSN" type="user">'GQ000-000-180:MQ000-000-110' eq 'y' && IS_NULL(GQ000-000-009:MQ000-000-012)</condition>
|
||||
<condition id="CD000-004-437" summary="context user is self" label="context user is self" type="user">CONTEXT_USER() == GET_ID_USER(self)</condition>
|
||||
<condition id="CD000-004-439" summary="self has entered work phone number in hh module" label="self has entered work phone number in hh module" type="user">NOT(IS_NULL(GQ000-000-061:MQ000-000-115))</condition>
|
||||
<condition id="CD000-004-447" summary="condition to print work phone number on form" label="condition to print work phone number on form" type="user">CD000-004-437 && CD000-004-439</condition>
|
||||
<condition id="CD000-004-448" summary="self has entered other phone number in hh module" label="self has entered other phone number in hh module" type="user">NOT(IS_NULL(GQ000-000-061:MQ000-000-116))</condition>
|
||||
<condition id="CD000-004-449" summary="condition to print other phone number on form" label="condition to print other phone number on form" type="user">CD000-004-437 && CD000-004-448</condition>
|
||||
<condition id="CD000-004-522" summary="this user is an adult" label="this user is an adult" type="user">FM000-000-060 >= 18</condition>
|
||||
<condition id="CD000-004-768" summary="condition to show additional relationship module" label="show additional relationship module in subportal page" type="non-group">FM000-002-447 >= 3</condition>
|
||||
<condition id="CD000-004-740" summary="Lives in KY">'GQ000-000-012:MQ000-000-019' eq 'ky'</condition>
|
||||
<condition id="CD000-004-741" summary="Lives in MI">'GQ000-000-012:MQ000-000-019' eq 'mi'</condition>
|
||||
<!--Beginning of CCP Form Formulae cd's-->
|
||||
<condition id="CD000-005-011" summary="marital status is married" label="marital status is married" type="user">GQ000-000-004:MQ000-000-007 eq 'married' || GQ000-000-004:MQ000-000-007 eq 'married living separately'</condition>
|
||||
<condition id="CD000-005-012" summary="marital status is single" label="marital status for self is single" type="user">GQ000-000-004:MQ000-000-007 eq 'single'</condition>
|
||||
<condition id="CD000-005-013" summary="marital status is divorced" label="marital status is divorced" type="user">GQ000-000-004:MQ000-000-007 eq 'divorced'</condition>
|
||||
<condition id="CD000-005-014" summary="marital status is legally separated" label="marital status is legally separated" type="user">GQ000-000-004:MQ000-000-007 eq 'legally separated'</condition>
|
||||
<condition id="CD000-005-015" summary="marital status is widowed" label="marital status is widowed" type="user">GQ000-000-004:MQ000-000-007 eq 'widowed'</condition>
|
||||
<condition id="CD000-004-137" summary="checked yes to understands english" label="checked yes to understands english" type="non-group">'GQ000-000-183:MQ000-000-118' eq 'y'</condition>
|
||||
<condition id="CD000-004-194" summary="user has middle name" label="user has middle name" type="user">NOT(IS_NULL(GQ000-000-001:MQ000-000-002))</condition>
|
||||
<condition id="CD000-005-181" summary="person doesn't have SSN and hasn't applied yet" label="user has no SSN and hasn't applied" type="user">NOT(CD000-004-348 || CD000-002-207)</condition>
|
||||
<condition id="CD000-005-451" summary="client doesn't understand English" label="client doesn't understand English" type="non-group">GQ000-000-183:MQ000-000-118 eq 'n'</condition>
|
||||
<condition id="CD000-005-511" summary="lives in PA" label="lives in PA" type="non-group">GQ000-000-012:MQ000-000-019 eq 'pa'</condition>
|
||||
<condition id="CD000-005-378" summary="household size == 2">COUNT_MEMBERS(FS000-000-147) == 2</condition>
|
||||
<!-- start of FedTax2005 replication -->
|
||||
<condition id="CD000-005-999" replicated_from="CD000-000-002">'GQ000-000-002:MQ000-000-005' ne 'self'</condition>
|
||||
<condition id="CD000-006-003" replicated_from="CD000-000-007" label="user has SSN" bmod_id="BM000-000-001">'GQ000-000-008:MQ000-000-011' eq 'y'</condition>
|
||||
<condition id="CD000-006-005" replicated_from="CD000-000-120">FM000-004-144 == 17</condition>
|
||||
<condition id="CD000-006-006" replicated_from="CD000-000-121">FM000-004-144 >= 17</condition>
|
||||
<!-- ##?REVIEW: should this be lowercase? -->
|
||||
<condition id="CD000-006-009" replicated_from="CD000-000-128">'GQ000-000-012:MQ000-000-019' eq 'pa'</condition>
|
||||
<condition id="CD000-006-010" replicated_from="CD000-000-130">'GQ000-000-004:MQ000-000-007' eq 'divorced'</condition>
|
||||
<condition id="CD000-006-017" replicated_from="CD000-000-225" bmod_id="BM000-000-001">(FM000-004-144 <= 24)</condition>
|
||||
<condition id="CD000-006-018" replicated_from="CD000-000-226">HAS_MEMBERS(FS000-001-215)</condition>
|
||||
<condition id="CD000-006-022" replicated_from="CD000-000-230">HAS_MEMBERS(FS000-001-204)</condition>
|
||||
<condition id="CD000-006-023" replicated_from="CD000-000-231">HAS_MEMBERS(FS000-001-211)</condition>
|
||||
<!--Conditions for Alias self, spouse-->
|
||||
<!--reverted all uses to pre-replicated version <condition id="CD000-006-535" replicated_from="CD000-001-721" summary="condition for self alias (unnecessarily replicated for fed05)" label="self" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'self'</condition> -->
|
||||
<!--unused <condition id="CD000-006-536" replicated_from="CD000-001-722" summary="condition for spouse alias" label="spouse" tags="fed05">'GQ000-000-002:MQ000-000-005' eq 'spouse'</condition> -->
|
||||
<condition id="CD000-006-548" replicated_from="CD000-001-734">CD000-006-017 && NOT('GQ000-000-002:MQ000-000-005' eq 'self') && NOT('GQ000-000-002:MQ000-000-005' eq 'spouse')</condition>
|
||||
<condition id="CD000-006-580" replicated_from="CD000-001-768">HAS_MEMBERS(FS000-001-328)</condition>
|
||||
<condition id="CD000-006-716" replicated_from="CD000-002-060" summary="Lives in PA">'GQ000-000-012:MQ000-000-019' eq 'pa'</condition>
|
||||
<condition id="CD000-006-717" replicated_from="CD000-002-061" summary="Lives in FL">'GQ000-000-012:MQ000-000-019' eq 'fl'</condition>
|
||||
<condition id="CD000-006-718" replicated_from="CD000-002-062" summary="Lives in KS">'GQ000-000-012:MQ000-000-019' eq 'ks'</condition>
|
||||
<condition id="CD000-007-656" replicated_from="CD000-005-519" summary="Lives in OH">'GQ000-000-012:MQ000-000-019' eq 'oh'</condition>
|
||||
<condition id="CD000-007-657" replicated_from="CD000-005-520" summary="Lives in MS">'GQ000-000-012:MQ000-000-019' eq 'ms'</condition>
|
||||
<condition id="CD000-007-658" replicated_from="CD000-005-521" summary="Lives in KS">'GQ000-000-012:MQ000-000-019' eq 'dc'</condition>
|
||||
<condition id="CD000-006-719" replicated_from="CD000-002-063" summary="Does not live in PA, FL, or KS">NOT(CD000-006-716) && NOT(CD000-006-717) && NOT(CD000-006-718)</condition>
|
||||
<condition id="CD000-006-295" replicated_from="CD000-001-120">(CD000-006-027) && ('GQ000-000-002:MQ000-000-005' ne 'self')</condition>
|
||||
<condition id="CD000-006-596" replicated_from="CD000-001-785" summary="grandparent" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'grandmother' || 'GQ000-000-002:MQ000-000-005' eq 'grandfather'</condition>
|
||||
<condition id="CD000-006-597" replicated_from="CD000-001-786" summary="parent" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'mother' || 'GQ000-000-002:MQ000-000-005' eq 'father'</condition>
|
||||
<condition id="CD000-006-598" replicated_from="CD000-001-787" summary="brother" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'brother'</condition>
|
||||
<condition id="CD000-006-599" replicated_from="CD000-001-788" summary="sister" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'sister'</condition>
|
||||
<condition id="CD000-006-600" replicated_from="CD000-001-789" summary="aunt" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'aunt'</condition>
|
||||
<condition id="CD000-006-601" replicated_from="CD000-001-790" summary="uncle" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'uncle'</condition>
|
||||
<condition id="CD000-006-602" replicated_from="CD000-001-791" summary="nephew" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'nephew'</condition>
|
||||
<condition id="CD000-006-603" replicated_from="CD000-001-792" summary="niece" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'niece'</condition>
|
||||
<condition id="CD000-006-595" replicated_from="CD000-001-784" summary="grandchild" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'grandchild'</condition>
|
||||
<condition id="CD000-006-605" replicated_from="CD000-001-794" summary="none" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'unrelated'</condition>
|
||||
<condition id="CD000-006-606" replicated_from="CD000-001-795" summary="other" tags="fed05, relationship" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'cousin' || GQ000-000-002:MQ000-000-005 eq 'other'</condition>
|
||||
<condition id="CD000-006-464" replicated_from="CD000-001-619" summary="(self:has SSN)" label="self has SSN" tags="fed05, form, schedule b" bmod_id="BM000-000-001">'self:GQ000-000-008:MQ000-000-011' eq 'y'</condition>
|
||||
<!--Spouse2005 conditions-->
|
||||
<condition id="CD000-006-027" replicated_from="CD000-000-235" summary="User lives in household" label="in household" tags="fed05, filing status, marital status" bmod_id="BM000-000-001">'GQ000-000-211:MQ000-000-150' eq 'y'</condition>
|
||||
<condition id="CD000-006-196" replicated_from="CD000-000-822" summary="True for the self user" label="self" tags="fed05, filing status" bmod_id="BM000-000-001">'GQ000-000-002:MQ000-000-005' eq 'self'</condition>
|
||||
<!--Client SSN check-->
|
||||
<condition id="CD000-010-593" summary="User has no SSN" label="No SSN" tags="fed05" bmod_id="BM000-000-001">NOT(CD000-000-007)</condition>
|
||||
<!--Married dependent-->
|
||||
<condition id="CD000-006-377" replicated_from="CD000-001-472" summary="User is married" label="married" tags="fed05, dependents">GQ000-000-004:MQ000-000-007 eq 'married'</condition>
|
||||
<!--CD2-207 modified by systems to check that we have also answerd yes to the question do you have a SSN?-->
|
||||
<condition id="CD000-006-835" replicated_from="CD000-002-207" summary="User has entered SSN data" label="SSN defined" tags="fed05, dependents, additional dependents, credits, eitc, qualifying child, additional qc" bmod_id="BM000-000-001">'GQ000-000-008:MQ000-000-011' eq 'y' && NOT(IS_NULL(GQ000-000-009:MQ000-000-012))</condition>
|
||||
<!--Begin FedTax part I-->
|
||||
<condition id="CD000-006-038" replicated_from="CD000-000-249">HAS_MEMBERS(FS000-001-217)</condition>
|
||||
<!--KJHB: changing FM000-001-065 with FM1 in CD2156 and CD2157, so it will stop throwing errors. It was supposed to calculate the substantial presence test for non-citizens but was never written-->
|
||||
<condition id="CD000-006-798" replicated_from="CD000-002-156">self:FM000-000-001 >= 183</condition>
|
||||
<condition id="CD000-006-816" replicated_from="CD000-002-187">IS_NULL(GQ000-000-014:MQ000-000-016) || IS_NULL(GQ000-000-012:MQ000-000-016)</condition>
|
||||
<condition id="CD000-009-349" summary="user is between 2 and 18, or disabled" label="user is between 2 and 18, or disabled" type="user">(NOT(CD000-001-307) && CD000-006-221) || (CD000-000-409)</condition>
|
||||
<!--conditions needed for e-file letters...-->
|
||||
<condition id="CD000-006-715" replicated_from="CD000-002-059" summary="state in which taxpayer is filing">('GQ000-000-012:MQ000-000-019' eq 'ct') || ('GQ000-000-012:MQ000-000-019' eq 'de') || ('GQ000-000-012:MQ000-000-019' eq 'dc') || ('GQ000-000-012:MQ000-000-019' eq 'fl') || ('GQ000-000-012:MQ000-000-019' eq 'in') || ('GQ000-000-012:MQ000-000-019' eq 'ky') || ('GQ000-000-012:MQ000-000-019' eq 'me') || ('GQ000-000-012:MQ000-000-019' eq 'md') || ('GQ000-000-012:MQ000-000-019' eq 'ma') || ('GQ000-000-012:MQ000-000-019' eq 'mi') || ('GQ000-000-012:MQ000-000-019' eq 'nh') || ('GQ000-000-012:MQ000-000-019' eq 'nj') || ('GQ000-000-012:MQ000-000-019' eq 'oh') || ('GQ000-000-012:MQ000-000-019' eq 'pa') || ('GQ000-000-012:MQ000-000-019' eq 'ny') || ('GQ000-000-012:MQ000-000-019' eq 'ri') || ('GQ000-000-012:MQ000-000-019' eq 'wv') || ('GQ000-000-012:MQ000-000-019' eq 'sc')</condition>
|
||||
<condition id="CD000-006-721" replicated_from="CD000-002-067" summary="state in which taxpayer is filing">('GQ000-000-012:MQ000-000-019' eq 'al') || ('GQ000-000-012:MQ000-000-019' eq 'ak') || ('GQ000-000-012:MQ000-000-019' eq 'az') || ('GQ000-000-012:MQ000-000-019' eq 'ar') || ('GQ000-000-012:MQ000-000-019' eq 'ca') || ('GQ000-000-012:MQ000-000-019' eq 'co') || ('GQ000-000-012:MQ000-000-019' eq 'ga') || ('GQ000-000-012:MQ000-000-019' eq 'hi') || ('GQ000-000-012:MQ000-000-019' eq 'id') || ('GQ000-000-012:MQ000-000-019' eq 'il') || ('GQ000-000-012:MQ000-000-019' eq 'ia') || ('GQ000-000-012:MQ000-000-019' eq 'ks') || ('GQ000-000-012:MQ000-000-019' eq 'la') || ('GQ000-000-012:MQ000-000-019' eq 'mn') || ('GQ000-000-012:MQ000-000-019' eq 'ms') || ('GQ000-000-012:MQ000-000-019' eq 'mo') || ('GQ000-000-012:MQ000-000-019' eq 'mt') || ('GQ000-000-012:MQ000-000-019' eq 'ne') || ('GQ000-000-012:MQ000-000-019' eq 'nv') || ('GQ000-000-012:MQ000-000-019' eq 'nm') || ('GQ000-000-012:MQ000-000-019' eq 'nc') || ('GQ000-000-012:MQ000-000-019' eq 'nd') || ('GQ000-000-012:MQ000-000-019' eq 'ok') || ('GQ000-000-012:MQ000-000-019' eq 'or') || ('GQ000-000-012:MQ000-000-019' eq 'sd') || ('GQ000-000-012:MQ000-000-019' eq 'tn') || ('GQ000-000-012:MQ000-000-019' eq 'tx') || ('GQ000-000-012:MQ000-000-019' eq 'ut') || ('GQ000-000-012:MQ000-000-019' eq 'wa') || ('GQ000-000-012:MQ000-000-019' eq 'wi') || ('GQ000-000-012:MQ000-000-019' eq 'wy')</condition>
|
||||
<!--Fed2005rep: Start Immigration Module v1.00 -->
|
||||
<condition id="CD000-006-969" replicated_from="CD000-002-557" type="user" summary="This user is NOT a US Citizen" bmod_id="BM000-000-001">NOT(CD000-000-122)</condition>
|
||||
<!-- this conditiom will need to be changed to determine if the client entered before august 22 1997 -->
|
||||
<condition id="CD000-006-221" replicated_from="CD000-000-872" type="user" summary="under 18" bmod_id="BM000-000-001">FM000-004-144 <= 18</condition>
|
||||
<condition id="CD000-006-990" replicated_from="CD000-002-631" type="non-group" summary="there are users ineligible for MEDICAID, SCHIP and SILVER SAVER">'GQ000-000-012:MQ000-000-019' eq 'fl'</condition>
|
||||
<!--Fed2005rep: FLFS Employment V1.0 -->
|
||||
<condition id="CD000-006-162" replicated_from="CD000-000-395" type="user" summary="age above 50" label="this person is above 50yo" notes="">FM000-004-144 > 50</condition>
|
||||
<condition id="CD000-006-163" replicated_from="CD000-000-396" type="user" summary="age above 60" label="this person is above 60yo" notes="">FM000-004-144 > 60</condition>
|
||||
<condition id="CD000-006-167" replicated_from="CD000-000-423" type="user" summary="age between 18 && 50" label="this person is between 18 and 50yo" notes="">NOT(CD000-006-161) || NOT(CD000-006-162)</condition>
|
||||
<!--Fed2005rep: new FLFS demographic section v1.05 -->
|
||||
<condition id="CD000-006-161" replicated_from="CD000-000-394" type="user" summary="Under 18" label="This person is under 18" notes="">FM000-004-144 < 18</condition>
|
||||
<condition id="CD000-007-480" replicated_from="CD000-004-990" type="user" summary="age is greater than or equal to 18" label="This person is 18 or older" notes="">NOT(CD000-006-161)</condition>
|
||||
<condition id="CD000-006-293" replicated_from="CD000-001-116" type="user" summary="under age 5" label="this user is under age 5" notes="">FM000-004-144<5 && CD000-006-161</condition>
|
||||
<condition id="CD000-006-924" replicated_from="CD000-002-433" type="user" summary="user is TANF recipient and is married" label="" notes="">CD000-000-401 && 'GQ000-000-004:MQ000-000-007' eq 'married'</condition>
|
||||
<condition id="CD000-006-972" replicated_from="CD000-002-579" type="user" summary="all user in household but self" label="all user in household but self" notes="">CD000-006-027 && CD000-005-999</condition>
|
||||
<condition id="CD000-006-973" replicated_from="CD000-002-580" type="non-group" summary="there are users other than self" label="there are users other than self" notes="">HAS_MEMBERS(FS000-001-418)</condition>
|
||||
<condition id="CD000-006-268" replicated_from="CD000-001-059" type="user" summary="yes to US Citizens" label="" notes="">'GQ000-000-016:MQ000-000-023' eq 'y'</condition>
|
||||
<condition id="CD000-006-953" replicated_from="CD000-002-494" type="user" summary="there are users that are disabled" label="" notes="">HAS_MEMBERS(FS000-001-402)</condition>
|
||||
<condition id="CD000-006-984" replicated_from="CD000-002-611" type="user" summary="18 or younger" label="18 or younger" notes="">CD000-006-161 || FM000-004-144 == 18</condition>
|
||||
<!--Fed2005rep: People expenses module v1.00-->
|
||||
<condition id="CD000-007-483" replicated_from="CD000-005-001" type="non-group" summary="HH has members 18 and older" label="HH has members 18 and older" notes="">HAS_MEMBERS(FS000-001-542)</condition>
|
||||
<condition id="CD000-007-045" replicated_from="CD000-003-408" type="non-group" summary="there are users other than self" label="there are users other than self" notes="">HAS_MEMBERS(FS000-001-467)</condition>
|
||||
<condition id="CD000-007-050" replicated_from="CD000-003-448" type="user" summary="there are users that are disabled" label="" notes="">HAS_MEMBERS(FS000-001-457)</condition>
|
||||
<condition id="CD000-007-063" replicated_from="CD000-003-489">'GQ000-000-002:MQ000-000-005' ne 'self'</condition>
|
||||
<condition id="CD000-007-070" replicated_from="CD000-003-503" type="non-group" summary="has official foster child in hh" label="" notes="">HAS_MEMBERS(FS000-001-454)</condition>
|
||||
<condition id="CD000-007-080" replicated_from="CD000-003-554" type="user" summary="all user in household but self" label="all user in household but self" notes="">CD000-006-027 && CD000-007-063</condition>
|
||||
<!--Fed2005rep: New stuff for relationship information. -->
|
||||
<condition id="CD000-007-092" replicated_from="CD000-003-600" type="non-group" summary="There is only one user in the household.">COUNT_MEMBERS(FS000-001-217) == 1</condition>
|
||||
<condition id="CD000-007-108" replicated_from="CD000-003-660" type="non-group" summary="there are users other than self" label="there are users other than self" notes="">HAS_MEMBERS(FS000-001-508)</condition>
|
||||
<condition id="CD000-007-122" replicated_from="CD000-003-714" type="user" summary="there are users that are disabled" label="" notes="">HAS_MEMBERS(FS000-001-498)</condition>
|
||||
<condition id="CD000-007-150" replicated_from="CD000-003-788" type="non-group" summary="has official foster child in hh" label="" notes="">HAS_MEMBERS(FS000-001-495)</condition>
|
||||
<condition id="CD000-007-158" replicated_from="CD000-003-825" type="non-group" summary="everyone is a resident of Florida" label="" notes="">FM000-005-181 == COUNT_MEMBERS(FS000-001-217)</condition>
|
||||
<!--Fed2005rep: start of FL Benefits-->
|
||||
<condition id="CD000-007-017" replicated_from="CD000-002-903" summary="younger than 21" label="younger than 21" type="user" bmod_id="BM000-000-001">FM000-004-144 < 21</condition>
|
||||
<condition id="CD000-007-018" replicated_from="CD000-002-914" summary="all the males in the hh and older than 12" label="all the males in the hh and older than 12" type="user">'GQ000-000-007:MQ000-000-010' eq 'm' && FM000-004-144 > 12</condition>
|
||||
<condition id="CD000-007-019" replicated_from="CD000-002-915" summary="age 12 and 60" label="age 12 and 60" type="user">FM000-004-144 < 60 || FM000-004-144 > 12</condition>
|
||||
<condition id="CD000-007-091" replicated_from="CD000-003-599" summary="less than 19 yrs old" label="less than 19" type="user" bmod_id="BM000-000-001">FM000-004-144 < 19</condition>
|
||||
<condition id="CD000-007-230" replicated_from="CD000-004-148" summary="age btw 6 and 19" label="age btw 6 and 19" type="user">FM000-004-144 < 19 && FM000-004-144 >= 6</condition>
|
||||
<condition id="CD000-007-282" replicated_from="CD000-004-311" summary="has 2nd line street information" label="has 2nd line street information" type="non-group">NOT(IS_NULL(GQ000-000-012:MQ000-000-016))</condition>
|
||||
<condition id="CD000-007-283" replicated_from="CD000-004-312" summary="has apt number" label="has apt number" type="non-group">NOT(IS_NULL(GQ000-000-012:MQ000-000-017))</condition>
|
||||
<condition id="CD000-007-301" replicated_from="CD000-004-421" summary="has children without SSN number" label="has children without SSN number" type="user">HAS_MEMBERS(FS000-001-574)</condition>
|
||||
<condition id="CD000-007-307" replicated_from="CD000-004-437" summary="context user is self" label="context user is self" type="user">CONTEXT_USER() == GET_ID_USER(self)</condition>
|
||||
<condition id="CD000-007-315" replicated_from="CD000-004-447" summary="condition to print work phone number on form" label="condition to print work phone number on form" type="user">CD000-007-307 && CD000-004-439</condition>
|
||||
<condition id="CD000-007-316" replicated_from="CD000-004-449" summary="condition to print other phone number on form" label="condition to print other phone number on form" type="user">CD000-007-307 && CD000-004-448</condition>
|
||||
<!-- rcb !this may be necessary when we run with all univeral modules! condition id="CD000-007-399" replicated_from="CD000-004-768" summary="condition to show additional relationship module" label="show additional relationship module in subportal page" type="non-group">FM000-005-034 >= 3</condition-->
|
||||
<condition id="CD000-007-387" replicated_from="CD000-004-740" summary="Lives in KY">'GQ000-000-012:MQ000-000-019' eq 'ky'</condition>
|
||||
<condition id="CD000-007-388" replicated_from="CD000-004-741" summary="Lives in MI">'GQ000-000-012:MQ000-000-019' eq 'mi'</condition>
|
||||
<condition id="CD000-007-523" replicated_from="CD000-005-159" summary="checks if a hh members is an adult and not disabled" label="hh ABAs" type="user">CD000-007-480 && NOT(CD000-000-409)</condition>
|
||||
<condition id="CD000-007-528" replicated_from="CD000-005-174" summary="checks if there members in the hh ABA filter set" label="hh has ABAs" type="non-group">HAS_MEMBERS(FS000-001-626)</condition>
|
||||
<!--Fed2005rep: Beginning of CCP Form Formulae cd's-->
|
||||
<condition id="CD000-007-490" replicated_from="CD000-005-011" summary="marital status for self is married" label="marital status for self is married" type="user">GQ000-000-004:MQ000-000-007 eq 'married' || GQ000-000-004:MQ000-000-007 eq 'married living separately'</condition>
|
||||
<condition id="CD000-007-491" replicated_from="CD000-005-012" summary="marital status for self is single" label="marital status for self is single" type="user">GQ000-000-004:MQ000-000-007 eq 'single'</condition>
|
||||
<condition id="CD000-007-492" replicated_from="CD000-005-013" summary="marital status for self is divorced" label="marital status for self is divorced" type="user">GQ000-000-004:MQ000-000-007 eq 'divorced'</condition>
|
||||
<condition id="CD000-007-493" replicated_from="CD000-005-014" summary="marital status for self is legally separated" label="marital status for self is legally separated" type="user">GQ000-000-004:MQ000-000-007 eq 'legally separated'</condition>
|
||||
<condition id="CD000-007-494" replicated_from="CD000-005-015" summary="marital status for self is widowed" label="marital status for self is widowed" type="user">GQ000-000-004:MQ000-000-007 eq 'widowed'</condition>
|
||||
<condition id="CD000-007-541" replicated_from="CD000-005-201" summary="CD to print additional people living in household except context user in statement record in CCP" label="CD to print additional people living in household except context user in statement record in CCP" type="non-group">FM000-005-635 > 7</condition>
|
||||
<!--Fed2005rep: start PA_CA statement record conditions -->
|
||||
<condition id="CD000-007-702" replicated_from="CD000-005-587" summary="number of non-self users is greater than PACA form limit" type="non-group">FM000-005-912 > 7</condition>
|
||||
<!-- CD3 created by Systems because IS551 can't use "CD5114 || CD5113" as its filter -->
|
||||
<condition id="CD000-007-518" replicated_from="CD000-005-140" summary="if a user is unrelated to the client" label="if a user is unrelated to the client" type="user">'GQ000-000-002:MQ000-000-005' eq 'unrelated'</condition>
|
||||
<condition id="CD000-007-519" replicated_from="CD000-005-141" summary="there is at least one unrelated user in the household" label="there is at least one unrelated user in the household" type="non-group">HAS_MEMBERS(FS000-001-625)</condition>
|
||||
<condition id="CD000-007-565" replicated_from="CD000-005-349" summary="user gets checked off as permanent alien on PA LIHEAP form" label="user gets checked off as permanent alien on PA LIHEAP form" type="user">NOT(CD000-006-268) && IS_ONE_OF(GQ000-000-018:MQ000-000-025, 'lawful permanent resident', 'asylee', 'parolee', 'withheld deportation', 'conditional entrant', 'cuban haitian', 'battered spouse', 'battered child', 'parent or child of a battered person', 'american indians', 'amerasian', 'hmong', 'human trafficking') </condition>
|
||||
<condition id="CD000-007-566" replicated_from="CD000-005-351" summary="user gets checked off as temporary alien on PA LIHEAP form" label="user gets checked off as temporary alien on PA LIHEAP form" type="user">NOT(CD000-006-268) && IS_ONE_OF(GQ000-000-018:MQ000-000-025, 'farmworker', 'general amnesty')</condition>
|
||||
<condition id="CD000-007-567" replicated_from="CD000-005-352" summary="user gets checked off as refugee on PA LIHEAP form" label="user gets checked off as refugee on PA LIHEAP form" type="user">NOT(CD000-006-268) && IS_ONE_OF(GQ000-000-018:MQ000-000-025, 'refugee')</condition>
|
||||
<condition id="CD000-007-653" replicated_from="CD000-005-511" summary="lives in PA" label="lives in PA" type="non-group">GQ000-000-012:MQ000-000-019 eq 'pa'</condition>
|
||||
<condition id="CD000-007-577" replicated_from="CD000-005-378" summary="household size == 2">COUNT_MEMBERS(FS000-001-217) == 2</condition>
|
||||
<condition id="CD000-007-634" replicated_from="CD000-005-491" summary="FS515 condition" label="" type="user">(CD000-006-027) && 'GQ000-000-002:MQ000-000-005' eq 'self'</condition>
|
||||
<!--Fed2005rep: more conditions for the immigration module-->
|
||||
<condition id="CD000-007-672" replicated_from="CD000-005-545" summary="lives in pa or fl" label="lives in pa or fl" type="user">CD000-006-717 || CD000-006-716</condition>
|
||||
<condition id="CD000-013-648" summary="Maryland address" type="user">GQ000-000-012:MQ000-000-019 eq 'md'</condition>
|
||||
<condition id="CD000-004-737" summary="Lives in OH">'GQ000-000-012:MQ000-000-019' eq 'oh'</condition>
|
||||
<condition id="CD000-007-673" replicated_from="CD000-005-546" summary="does not live in pa or fl" label="does not live in pa or fl" type="user">NOT(CD000-007-672)</condition>
|
||||
<!--Fed2005rep: fix 8880-->
|
||||
<condition id="CD000-088-888" summary="at least one w2 owned by self or spouse who is under 65 and disabled" label="at least one w2 owned by self or spouse who is under 65 and disabled" type="non-group">GQ000-000-001:MQ000-000-001 eq 'Jimmy'</condition>
|
||||
<condition id="CD000-088-886" summary="at least one w2 owned by self or spouse who is under 65 and disabled" label="at least one w2 owned by self or spouse who is under 65 and disabled" type="non-group">self:CD000-088-888</condition>
|
||||
<condition id="CD000-009-995" summary="there are female household members" type="non-group">HAS_MEMBERS(FS000-001-004)</condition>
|
||||
<condition id="CD000-010-708" summary="context user is under 21 years old" type="user">LOOKUP_ID_USER(CD000-002-903, CONTEXT_USER()) == 1</condition>
|
||||
<condition id="CD000-009-026" summary="true when the year of divorce equals the current calendar year" label="true when the year of divorce equals the current calendar year" type="user">GQ000-000-082:MQ000-000-108 eq FM000-007-565</condition>
|
||||
<condition id="CD000-009-027" summary="true when the year of married living separately or legally separated equals the current calendar year" label="true when the year of married living separately or legally separated equals the current calendar year" type="user">GQ000-000-083:MQ000-000-108 eq FM000-007-565</condition>
|
||||
<condition id="CD000-009-028" summary="user is divorced and the divorce happened in this calendar year" label="user is divorced and the divorce happened in this calendar year" type="user">CD000-009-133 && CD000-009-026</condition>
|
||||
<condition id="CD000-009-029" summary="user is married living separately and the separation happened in this calendar year" label="user is married living separately and the separation happened in this calendar year" type="user">CD000-009-134 && CD000-009-027</condition>
|
||||
<condition id="CD000-009-091" summary="user is at least 65 years old" label="user is at least 65 years old" type="user">FM000-000-060 >= 65</condition>
|
||||
<condition id="CD000-009-108" summary="users who have been PA residents for more than 90 days and are at least 65 years old" label="users who have been PA residents for more than 90 days and are at least 65 years old" type="user">CD000-009-086 && CD000-009-091</condition>
|
||||
<condition id="CD000-009-145" summary="there are HH members who have entered a common law marriage" label="there are HH members who have entered a common law marriage" type="non-group">HAS_MEMBERS(FS000-001-967)</condition>
|
||||
<condition id="CD000-009-149" summary="there are HH members who are married" label="there are HH members who are married" type="non-group">HAS_MEMBERS(FS000-001-968)</condition>
|
||||
<condition id="CD000-009-223" summary="user is eligible for PACE based on age and residency and wants to receive PACE benefits" label="user is eligible for PACE based on age and residency and wants to receive PACE benefits" type="user">CD000-009-108 && 'GQ000-002-917:MQ000-003-844' eq 'y'</condition>
|
||||
<condition id="CD000-009-302" summary="user is eligible for PACE based on age and residency and is a member of the HH" label="user is eligible for PACE based on age and residency and is a member of the HH" type="user">CD000-009-108 && CD000-000-235</condition>
|
||||
<condition id="CD000-009-331" summary="there are HH members over 65 who are divorced" label="there are HH members over 65 who are divorced" type="non-group">HAS_MEMBERS(FS000-002-001)</condition>
|
||||
<condition id="CD000-009-332" summary="there are HH members over 65 who are married living separately" label="there are HH members over 65 who are married living separately" type="non-group">HAS_MEMBERS(FS000-002-002)</condition>
|
||||
<condition id="CD000-009-335" summary="there are HH members over 65 who are divorced, married living separately, or in common law marriage" label="there are HH members over 65 who are divorced, married living separately, or in common law marriage" type="non-group">CD000-009-145 || CD000-009-331 || CD000-009-332</condition>
|
||||
<condition id="CD000-010-127" summary="there are people who meet all PACE technical criteria except length of residency" label="there are people who meet all PACE technical criteria except length of residency" type="non-group">HAS_MEMBERS(FS000-002-060)</condition>
|
||||
<!--PA Med Community Choice Dynamic Factsheet Conditons-->
|
||||
<condition id="CD000-009-171" summary="client home county is delaware county" label="client home county is delaware county" type="non-group">GQ000-000-184:MQ000-000-120 eq 'delaware'</condition>
|
||||
<condition id="CD000-009-172" summary="client home county is chester county" label="client home county is chester county" type="non-group">GQ000-000-184:MQ000-000-120 eq 'chester'</condition>
|
||||
<condition id="CD000-009-173" summary="client home county is philadelphia county" label="client home county is philadelphia county" type="non-group">GQ000-000-184:MQ000-000-120 eq 'philadelphia'</condition>
|
||||
<condition id="CD000-009-174" summary="client home county is either Fayette, Greene or Washington county" type="non-group">IS_ONE_OF(GQ000-000-184:MQ000-000-120,'washington', 'fayette', 'greene')</condition>
|
||||
<condition id="CD000-009-915" replicated_from="CD000-008-907" summary="user is older than seven and younger than 66 and a female" label="user is older than seven and younger than 66 and a female" type="user">(FM000-000-060 > 7) && (FM000-000-060 < 66) && CD000-002-577</condition>
|
||||
<!--end 2005 additional tax CD-->
|
||||
<condition id="CD000-010-016" summary="user does not live in DC or PR, VI, AS, GU" label="live not in DCor PR, VI, AS, GU" type="non-group">NOT(CD000-005-521) && NOT(IS_ONE_OF(GQ000-000-012:MQ000-000-019, 'as', 'gu','pr', 'vi'))</condition>
|
||||
<condition id="CD000-010-323" summary="'client's primary language = english" type="client">self:GQ000-000-001:MQ000-001-312 eq 'en-US'</condition>
|
||||
<!--new conditions for showing counties for all states-->
|
||||
<condition id="CD000-010-877" summary="state is" type="non-group">GQ000-000-012:MQ000-000-019 eq 'al'</condition>
|
||||
<condition id="CD000-010-878" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ak'</condition>
|
||||
<condition id="CD000-010-879" summary="state is">GQ000-000-012:MQ000-000-019 eq 'az'</condition>
|
||||
<condition id="CD000-010-880" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ar'</condition>
|
||||
<condition id="CD000-010-881" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ca'</condition>
|
||||
<condition id="CD000-010-882" summary="state is">GQ000-000-012:MQ000-000-019 eq 'co'</condition>
|
||||
<condition id="CD000-010-883" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ct'</condition>
|
||||
<condition id="CD000-010-884" summary="state is">GQ000-000-012:MQ000-000-019 eq 'de'</condition>
|
||||
<condition id="CD000-010-885" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ga'</condition>
|
||||
<condition id="CD000-010-886" summary="state is">GQ000-000-012:MQ000-000-019 eq 'hi'</condition>
|
||||
<condition id="CD000-010-887" summary="state is">GQ000-000-012:MQ000-000-019 eq 'id'</condition>
|
||||
<condition id="CD000-010-888" summary="state is">GQ000-000-012:MQ000-000-019 eq 'in'</condition>
|
||||
<condition id="CD000-010-889" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ia'</condition>
|
||||
<condition id="CD000-012-623" summary="state is">GQ000-000-012:MQ000-000-019 eq 'il'</condition>
|
||||
<condition id="CD000-010-890" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ky'</condition>
|
||||
<condition id="CD000-010-891" summary="state is">GQ000-000-012:MQ000-000-019 eq 'la'</condition>
|
||||
<condition id="CD000-010-892" summary="state is">GQ000-000-012:MQ000-000-019 eq 'me'</condition>
|
||||
<condition id="CD000-010-893" summary="state is">GQ000-000-012:MQ000-000-019 eq 'md'</condition>
|
||||
<condition id="CD000-010-894" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ma'</condition>
|
||||
<condition id="CD000-010-895" summary="state is">GQ000-000-012:MQ000-000-019 eq 'mi'</condition>
|
||||
<condition id="CD000-010-896" summary="state is">GQ000-000-012:MQ000-000-019 eq 'mn'</condition>
|
||||
<condition id="CD000-010-897" summary="state is">GQ000-000-012:MQ000-000-019 eq 'mo'</condition>
|
||||
<condition id="CD000-010-898" summary="state is">GQ000-000-012:MQ000-000-019 eq 'mt'</condition>
|
||||
<condition id="CD000-011-787" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ms'</condition>
|
||||
<condition id="CD000-010-899" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ne'</condition>
|
||||
<condition id="CD000-010-900" summary="state is">GQ000-000-012:MQ000-000-019 eq 'nv'</condition>
|
||||
<condition id="CD000-010-901" summary="state is">GQ000-000-012:MQ000-000-019 eq 'nh'</condition>
|
||||
<condition id="CD000-010-902" summary="state is">GQ000-000-012:MQ000-000-019 eq 'nj'</condition>
|
||||
<condition id="CD000-010-903" summary="state is">GQ000-000-012:MQ000-000-019 eq 'nm'</condition>
|
||||
<condition id="CD000-010-904" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ny'</condition>
|
||||
<condition id="CD000-010-905" summary="state is">GQ000-000-012:MQ000-000-019 eq 'nc'</condition>
|
||||
<condition id="CD000-010-906" summary="state is">GQ000-000-012:MQ000-000-019 eq 'nd'</condition>
|
||||
<condition id="CD000-010-907" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ok'</condition>
|
||||
<condition id="CD000-010-908" summary="state is">GQ000-000-012:MQ000-000-019 eq 'or'</condition>
|
||||
<condition id="CD000-010-909" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ri'</condition>
|
||||
<condition id="CD000-010-910" summary="state is">GQ000-000-012:MQ000-000-019 eq 'sc'</condition>
|
||||
<condition id="CD000-010-911" summary="state is">GQ000-000-012:MQ000-000-019 eq 'sd'</condition>
|
||||
<condition id="CD000-010-912" summary="state is">GQ000-000-012:MQ000-000-019 eq 'tn'</condition>
|
||||
<condition id="CD000-010-913" summary="state is">GQ000-000-012:MQ000-000-019 eq 'tx'</condition>
|
||||
<condition id="CD000-010-914" summary="state is">GQ000-000-012:MQ000-000-019 eq 'ut'</condition>
|
||||
<condition id="CD000-010-915" summary="state is">GQ000-000-012:MQ000-000-019 eq 'vt'</condition>
|
||||
<condition id="CD000-010-916" summary="state is">GQ000-000-012:MQ000-000-019 eq 'va'</condition>
|
||||
<condition id="CD000-010-917" summary="state is">GQ000-000-012:MQ000-000-019 eq 'wa'</condition>
|
||||
<condition id="CD000-010-918" summary="state is">GQ000-000-012:MQ000-000-019 eq 'wv'</condition>
|
||||
<condition id="CD000-010-919" summary="state is">GQ000-000-012:MQ000-000-019 eq 'wi'</condition>
|
||||
<condition id="CD000-010-920" summary="state is">GQ000-000-012:MQ000-000-019 eq 'wy'</condition>
|
||||
<!-- end of new condition for OHIO self -employment income due to changes in fed taxes-->
|
||||
<condition id="CD000-011-732" summary="FS of HH member US citizens ages 17+ has members" label="there are users potentially eligible to register to vote" type="client">HAS_MEMBERS(FS000-002-412)</condition>
|
||||
<condition id="CD000-011-466" summary="if client has ss#, false, else true" label="" type="user">CD000-000-007 ? CD000-000-000 : CD000-000-001</condition>
|
||||
<condition id="CD000-011-581" summary="there is more than one user over 16 yrs of age" label="" type="user">HAS_MEMBERS(FS000-002-412)</condition>
|
||||
<condition id="CD000-011-804" summary="true for clients in states that don't require party registration; these clients skip the 'choose a party' bnode altogether, needs to be updated along with state table" label="" type="user">(GQ000-000-012:MQ000-000-019 eq 'ms') || (GQ000-000-012:MQ000-000-019 eq 'oh') || (GQ000-000-012:MQ000-000-019 eq 'tx')</condition>
|
||||
<!--Form conditions-->
|
||||
<condition id="CD000-011-830" summary="user lives in a state that require drivers/state id #, else last four of ssn, category 1, most states" label="" type="user">FM000-009-910 eq 'dc' || FM000-009-910 eq 'fl' || FM000-009-910 eq 'md' || FM000-009-910 eq 'ms' || FM000-009-910 eq 'oh' || FM000-009-910 eq 'pa' || FM000-009-910 eq 'tx'</condition>
|
||||
<condition id="CD000-011-835" summary="user lives in a state last that requires las four digits of ssn, category 2, only kansas as of 3/2" label="" type="user">FM000-009-910 eq 'ks'</condition>
|
||||
<!--Sally's tweak on FM1219 suffix-->
|
||||
<condition id="CD000-011-813" summary="empty suffix">IS_NULL(FM000-004-086)</condition>
|
||||
<condition id="CD000-011-489" summary="children 13 to 18, disabled" label="children 13 to 18, disabled" type="user" bmod_id="BM000-000-001">CD000-011-483 && CD000-002-493</condition>
|
||||
<condition id="CD000-011-974" summary="age is less than 13" label="age is less than 13" type="user">FM000-000-060 < 13</condition>
|
||||
<condition id="CD000-012-733" summary="someone in HH checked disabled in HH module" type="non-group" bmod_id="BM000-000-001">HAS_MEMBERS(FS000-002-765)</condition>
|
||||
<condition id="CD000-013-082" bmod_id="BM000-000-001" summary="HH has users under 19" type="non-group">HAS_MEMBERS(FS000-002-847)</condition>
|
||||
<condition id="CD000-013-724" bmod_id="BM000-000-001" summary="HH has users under 21" type="non-group">HAS_MEMBERS(FS000-003-007)</condition>
|
||||
<condition id="CD000-013-088" bmod_id="BM000-000-001" summary="user is child of self" type="user">GQ000-000-002:MQ000-000-005 eq 'child'</condition>
|
||||
<condition id="CD000-013-089" bmod_id="BM000-000-001" summary="user is spouse of self" type="user">GQ000-000-002:MQ000-000-005 eq 'spouse'</condition>
|
||||
<condition id="CD000-013-090" bmod_id="BM000-000-001" summary="HH is just a parent and child" type="non-group">COUNT_MEMBERS(FS000-000-147) == 2 && HAS_MEMBERS(FS000-002-851)</condition>
|
||||
<!--end of DC HF form conditions-->
|
||||
<condition id="CD000-013-395" bmod_id="BM000-000-001" summary="user has no SSN and hasn't applied" type="user">'GQ000-000-180:MQ000-000-110' eq 'n' && IS_NULL(GQ000-000-009:MQ000-000-012)</condition>
|
||||
<condition id="CD000-013-412" bmod_id="BM000-000-001" summary="user is not married" type="user">NOT(IS_NULL(GQ000-000-004:MQ000-000-007)) && NOT(IS_ONE_OF(GQ000-000-004:MQ000-000-007, 'married', 'married living separately'))</condition>
|
||||
<condition id="CD000-012-951" bmod_id="BM000-000-001" summary="Context user is under 19" type="user">FM000-010-869 < 19</condition>
|
||||
<!--Carl MEAP form focus stuff-->
|
||||
<condition id="CD000-013-445" summary="this person is over 60 and disabled" type="user">FM000-000-060 >= 60 && CD000-000-409</condition>
|
||||
<condition id="CD000-013-451" summary="this person is not over 60 and not disabled" type="user">NOT(CD000-013-445)</condition>
|
||||
<condition id="CD000-013-446" summary="context user is over 60 and disabled" type="user">LOOKUP_ID_USER(CD000-013-445, CONTEXT_USER()) == 1</condition>
|
||||
<condition id="CD000-013-447" summary="this person is the oldest person in the group" type="user">FM000-011-279 == FM000-000-060</condition>
|
||||
<condition id="CD000-013-448" summary="the self is not disabled and over 60 or pick out the oldest person in the household" type="user">(self:CD000-013-451 && GET_ID_USER(self) == THIS_ID_USER()) || (self:CD000-013-445 && CD000-013-447)</condition>
|
||||
<condition id="CD000-013-450" summary="user is the non-disabled and elderly self or the oldest person in the household" type="user">LOOKUP_ID_USER(CD000-013-448, CONTEXT_USER()) == 1</condition>
|
||||
<condition id="CD000-013-449" summary="pick out just the elderly and disabled person or everyone in the household who is not elderly and disabled" type="user">(CD000-013-446 && CD000-003-618) || (NOT(CD000-013-446) && CD000-013-450 && NOT(CD000-013-445) && (CD000-003-618 || CD000-000-235))</condition>
|
||||
|
||||
<!-- these following two conditions actually do belong in BM1, because the sneaky sneaky create-relationship-instances-for-2-person-HHs process is in BM1 and uses IS462 -->
|
||||
<condition id="CD000-004-772" summary="has entered relationship" label="has entered relationship" type="instance">NOT(CD000-004-231)</condition>
|
||||
<condition id="CD000-004-231" type="instance" summary="">IS_NULL(INSTANCE(GQ000-001-471:MQ000-000-005))</condition>
|
||||
|
||||
<!-- new CDs for HH revamp -->
|
||||
<condition id="CD000-013-776" summary="client said y to HH has someone disabled" label="disability gateway y">GQ000-004-108:MQ000-005-340 eq 'y'</condition>
|
||||
<condition id="CD000-013-777" summary="client said y to HH has someone blind" label="blind gateway y">GQ000-004-108:MQ000-005-341 eq 'y'</condition>
|
||||
<condition id="CD000-013-788" summary="user is widowed, divorced, or separated" label="transition to dates of separation for single user">CD000-000-135 || CD000-000-130 || (CD000-000-220 || CD000-000-221)</condition>
|
||||
<condition id="CD000-013-789" summary="this_id_user is not self">GET_ID_USER(self) != THIS_ID_USER()</condition>
|
||||
<condition id="CD000-013-790" summary="client wants to edit or add a HH member" label="edit or add HH member">GQ000-001-075:MQ000-001-171 eq 'edit' || CD000-013-806</condition>
|
||||
<condition id="CD000-013-804" summary="client wants to edit address" label="edit address">GQ000-001-075:MQ000-001-172 eq 'edit_address'</condition>
|
||||
<condition id="CD000-018-632" summary="client wants to edit address and has separate mailing" label="edit mailing address">CD000-013-804 && CD000-000-046</condition>
|
||||
<condition id="CD000-013-806" summary="client wants to add a HH member" label="add HH member">GQ000-001-075:MQ000-001-171 eq 'add'</condition>
|
||||
<condition id="CD000-013-895" summary="user is child/grandchild and is older than self" label="age/relationship test">IS_ONE_OF(GQ000-000-002:MQ000-000-005, 'child', 'fosterchild', 'grandchild') && (NOT(IS_NULL(GQ000-000-003:MQ000-000-006)) && DAYS_BETWEEN(FM000-005-910, self:FM000-005-910) >= 0)</condition>
|
||||
<condition id="CD000-013-896" summary="user is parent/grandparent and is younger than self" label="age/relationship test">IS_ONE_OF(GQ000-000-002:MQ000-000-005, 'mother', 'father', 'grandmother', 'grandfather', 'fosterparent') && (NOT(IS_NULL(GQ000-000-003:MQ000-000-006)) && DAYS_BETWEEN(FM000-005-910, self:FM000-005-910) <= 0)</condition>
|
||||
<condition id="CD000-015-094" summary="user is child older than self or parent younger" label="combined age/relationship to self test" type="user">CD000-013-896 || CD000-013-895</condition>
|
||||
<condition id="CD000-015-095" summary="there are users with invalid age-relationship to self" type="non-group">HAS_MEMBERS(FS000-003-234)</condition>
|
||||
<condition id="CD000-015-086" summary="self has HH member to add">GQ000-004-524:MQ000-006-880 eq 'y'</condition>
|
||||
|
||||
<!-- Conditions copied from BM1 on 1/16/07 by MPoling -->
|
||||
<condition id="CD000-011-319" summary="the client did not provide any apt #" type="user">FM000-003-072 eq ''</condition>
|
||||
<condition id="CD000-007-203" replicated_from="CD000-004-025" summary="the user is not married" label="the user is not married" type="user">'GQ000-000-004:MQ000-000-007' eq 'single'</condition>
|
||||
<condition id="CD000-005-148" type="instance" summary="this instance is medical expenses " label="" notes="">'INSTANCE(GQ000-001-432:MQ000-001-570)' eq 'medicalexp'</condition>
|
||||
<condition id="CD000-005-149" type="instance" summary="this instance is child and dependent care expenses " label="" notes="">'INSTANCE(GQ000-001-432:MQ000-001-570)' eq 'childcareexp'</condition>
|
||||
<condition id="CD000-005-516" summary="client home county is philadelphia" type="non-group">GQ000-000-184:MQ000-000-120 eq 'philadelphia'</condition>
|
||||
<condition id="CD000-005-517" summary="client home county is allegheny" type="non-group">GQ000-000-184:MQ000-000-120 eq 'allegheny'</condition>
|
||||
<condition id="CD000-006-978" replicated_from="CD000-002-585" type="non-group" summary="(all elgible expenses instance for FL FS common application form section E)>5" label="" notes="">FM000-005-033 > 5</condition>
|
||||
<condition id="CD000-007-447" replicated_from="CD000-004-915" summary="condition to present additional instance of dat care payments on kidcare form" label="condition to present additional instance of dat care payments on kidcare form" type="non-group">FM000-005-646 > 3</condition>
|
||||
<condition id="CD000-007-667" replicated_from="CD000-005-538" summary="have IS of child support" type="instance">HAS_MEMBERS(IS000-000-945)</condition>
|
||||
<condition id="CD000-001-455" summary="child, grandchild, adopted child, stepchild, brother, sister, parent, grandparent, aunt, uncle, niece, nephew">'GQ000-000-002:MQ000-000-005' eq 'child' || 'GQ000-000-002:MQ000-000-005' eq 'mother' || 'GQ000-000-002:MQ000-000-005' eq 'father' || 'GQ000-000-002:MQ000-000-005' eq 'grandmother' || 'GQ000-000-002:MQ000-000-005' eq 'grandfather' || 'GQ000-000-002:MQ000-000-005' eq 'aunt' || 'GQ000-000-002:MQ000-000-005' eq 'uncle' || 'GQ000-000-002:MQ000-000-005' eq 'sister' || 'GQ000-000-002:MQ000-000-005' eq 'brother' || 'GQ000-000-002:MQ000-000-005' eq 'niece' || 'GQ000-000-002:MQ000-000-005' eq 'nephew' || 'GQ000-000-002:MQ000-000-005' eq 'grandchild'</condition>
|
||||
<condition id="CD000-011-598" summary="household has unrelated people who might go on HEAP app" label="household has unrelated people who might go on HEAP app" type="non-group" bmod_id="BM000-000-082">HAS_MEMBERS(FS000-002-431)</condition>
|
||||
<condition id="CD000-011-622" summary="household member is unrelated" label="household member is unrelated" type="user">GQ000-000-002:MQ000-000-005 eq 'unrelated'</condition>
|
||||
<condition id="CD000-003-546" type="user" summary="this user is under 22">FM000-001-925 < 22</condition>
|
||||
<condition id="CD000-003-558" type="user" summary="this user is single">'GQ000-000-004:MQ000-000-007' eq 'single'</condition>
|
||||
<condition id="CD000-003-920" summary="not blind or disabled and living at home" label="not blind or disabled and living at home" type="user">NOT(CD000-000-409) && CD000-000-235</condition>
|
||||
<condition id="CD000-004-650">'GQ000-000-004:MQ000-000-007' eq 'married'</condition>
|
||||
<condition id="CD000-004-927" summary="older than 12" label="older than 12" type="user">FM000-000-060 > 12</condition>
|
||||
<condition id="CD000-004-930" summary="context user is yonger than 19" label="context user is yonger than 19" type="user">LOOKUP_ID_USER(CD000-003-599, CONTEXT_USER()) == 1</condition>
|
||||
<condition id="CD000-005-640" summary="user is disabled" label="user is disabled" type="user">GQ000-000-427:MQ000-000-596 eq 'y'</condition>
|
||||
<condition id="CD000-006-288" replicated_from="CD000-001-110" type="user" summary="age >=6 and age <18" label="this user is between age 6 && 18" notes="">FM000-004-144 >=6 && FM000-004-144 <18</condition>
|
||||
<condition id="CD000-006-024" replicated_from="CD000-000-232">HAS_MEMBERS(FS000-001-212)</condition>
|
||||
<condition id="CD000-007-099" replicated_from="CD000-003-620" summary="has member older than 18" label="has member older than 18" type="non-group">HAS_MEMBERS(FS000-001-529)</condition>
|
||||
<condition id="CD000-007-098" replicated_from="CD000-003-619" summary="older than 18 years old in hh" label="all people older than 18" type="user">FM000-004-144 >= 18</condition>
|
||||
<condition id="CD000-007-082" replicated_from="CD000-003-558" type="user" summary="this user is single">'GQ000-000-004:MQ000-000-007' eq 'single'</condition>
|
||||
<condition id="CD000-007-135" replicated_from="CD000-003-751" type="user" summary="under 18">FM000-004-144 < 18</condition>
|
||||
<condition id="CD000-007-182" replicated_from="CD000-003-920" summary="not blind or disabled and living at home" label="not blind or disabled and living at home" type="user">NOT(CD000-000-409) && CD000-006-027</condition>
|
||||
<condition id="CD000-007-228" replicated_from="CD000-004-146" summary="below age 1" label="below age 1" type="user">FM000-004-144 < 1</condition>
|
||||
<condition id="CD000-007-235" replicated_from="CD000-004-183" summary="age btw 6 and 18" label="age btw 6 and 18" type="user">FM000-004-144 <= 18 && FM000-004-144 >= 6</condition>
|
||||
<condition id="CD000-007-229" replicated_from="CD000-004-147" summary="age between 1 and 6" label="age between 1 and 6" type="user">FM000-004-144 < 6 && FM000-004-144 >= 1</condition>
|
||||
<condition id="CD000-007-234" replicated_from="CD000-004-182" summary="age between 1 and 5" label="age between 1 and 5" type="user">FM000-004-144 < 5 && FM000-004-144 >= 1</condition>
|
||||
<condition id="CD000-007-236" replicated_from="CD000-004-184" summary="age 5" label="age 5" type="user">FM000-004-144 == 5</condition>
|
||||
<condition id="CD000-007-237" replicated_from="CD000-004-185" summary="age btw 0 and 18" label="age btw 0 and 18" type="user">FM000-004-144 <= 18 && FM000-004-144 >= 0</condition>
|
||||
<condition id="CD000-007-297" replicated_from="CD000-004-397" summary="HH is not married" label="HH is not married" type="non-group">'GQ000-000-004:MQ000-000-007' ne 'married' || 'GQ000-000-004:MQ000-000-007' ne 'married living separately'</condition>
|
||||
<condition id="CD000-007-294" replicated_from="CD000-004-394" summary="HH member is married" label="HH is married" type="non-group">'GQ000-000-004:MQ000-000-007' eq 'married' || 'GQ000-000-004:MQ000-000-007' eq 'married living separately'</condition>
|
||||
<condition id="CD000-007-325" replicated_from="CD000-004-522" summary="this user is an adult" label="this user is an adult" type="user">FM000-004-144 >= 18</condition>
|
||||
<condition id="CD000-007-386" replicated_from="CD000-004-737" summary="Lives in OH">'GQ000-000-012:MQ000-000-019' eq 'oh'</condition>
|
||||
<condition id="CD000-007-349" replicated_from="CD000-004-650">'GQ000-000-004:MQ000-000-007' eq 'married'</condition>
|
||||
<condition id="CD000-007-453" replicated_from="CD000-004-927" summary="older than 12" label="older than 12" type="user">FM000-004-144 > 12</condition>
|
||||
<condition id="CD000-007-465" replicated_from="CD000-004-955" summary="over age 18" label="over age 18" type="user">FM000-004-144 > 18</condition>
|
||||
<condition id="CD000-007-529" replicated_from="CD000-005-181" summary="person doesn't have SSN and hasn't applied yet" label="user has no SSN and hasn't applied" type="user">NOT(CD000-004-348 || CD000-006-835)</condition>
|
||||
<condition id="CD000-007-557" replicated_from="CD000-005-307" summary="user is over 60" label="user is over 60" type="user">FM000-004-144 >= 60</condition>
|
||||
<condition id="CD000-011-154" summary="client home county is one of the PA counties which have only one school district" label="PA single school district counties" type="non-group">IS_ONE_OF(GQ000-000-184:MQ000-000-120, 'cameron', 'forest', 'philadelphia', 'sullivan')</condition>
|
||||
<condition id="CD000-011-484" summary="child younger than 24 is not client's child" label="child younger than 24 is not clients child" type="user">GQ000-000-185:MQ000-000-121 eq 'not my child'</condition>
|
||||
<condition id="CD000-011-563" summary="not self and lives in HH" label="not self and lives in HH" type="user">CD000-000-002 && CD000-000-235</condition>
|
||||
<condition id="CD000-011-612" summary="not marked as Not My Child from HH module" label="not marked as Not My Child from HH module" type="user">NOT(CD000-011-484)</condition>
|
||||
<condition id="CD000-011-617" summary="returns true for self" label="returns true for self" type="non-group">FM000-009-820 == 1</condition>
|
||||
<condition id="CD000-011-446" summary="this user is married" label="this user is married" type="non-group">GQ000-000-004:MQ000-000-007 eq 'married' || GQ000-000-004:MQ000-000-007 eq 'married living separately'</condition>
|
||||
<condition id="CD000-012-404" summary="user is single" type="user">'GQ000-000-004:MQ000-000-007' eq 'single'</condition>
|
||||
<condition id="CD000-012-406" summary="user is divorced" type="user">'GQ000-000-004:MQ000-000-007' eq 'divorced'</condition>
|
||||
<condition id="CD000-012-409" summary="user is legally separated" type="user">'GQ000-000-004:MQ000-000-007' eq 'legally separated'</condition>
|
||||
<condition id="CD000-012-405" summary="user is married" type="user">'GQ000-000-004:MQ000-000-007' eq 'married'</condition>
|
||||
<condition id="CD000-012-408" summary="user is married living separately" type="user">'GQ000-000-004:MQ000-000-007' eq 'married living separately'</condition>
|
||||
<condition id="CD000-012-407" summary="user is widowed" type="user">'GQ000-000-004:MQ000-000-007' eq 'widowed'</condition>
|
||||
<condition id="CD000-013-429" summary="client did not enter work phone in HH module" label="no work phone in HH module" type="user">GQ000-000-002:MQ000-000-005 eq 'self' && IS_NULL(GQ000-000-061:MQ000-000-115)</condition>
|
||||
<condition id="CD000-006-364" replicated_from="CD000-001-455" summary="child, grandchild, adopted child, stepchild, brother, sister, parent, grandparent, aunt, uncle, niece, nephew">'GQ000-000-002:MQ000-000-005' eq 'child' || 'GQ000-000-002:MQ000-000-005' eq 'mother' || 'GQ000-000-002:MQ000-000-005' eq 'father' || 'GQ000-000-002:MQ000-000-005' eq 'grandmother' || 'GQ000-000-002:MQ000-000-005' eq 'grandfather' || 'GQ000-000-002:MQ000-000-005' eq 'aunt' || 'GQ000-000-002:MQ000-000-005' eq 'uncle' || 'GQ000-000-002:MQ000-000-005' eq 'sister' || 'GQ000-000-002:MQ000-000-005' eq 'brother' || 'GQ000-000-002:MQ000-000-005' eq 'niece' || 'GQ000-000-002:MQ000-000-005' eq 'nephew' || 'GQ000-000-002:MQ000-000-005' eq 'grandchild'</condition>
|
||||
<condition id="CD000-004-568" summary="context user is older than 21" type="user">LOOKUP_ID_USER(FM000-000-060,CONTEXT_USER()) >= 21</condition>
|
||||
<condition id="CD000-004-317" summary="the user is a female" label="the user is a female" type="user" bmod_id="BM000-000-026">'GQ000-000-007:MQ000-000-010' eq 'f'</condition>
|
||||
<condition id="CD000-013-054" summary="this user has a middle name" type="user">NOT(IS_NULL(GQ000-000-001:MQ000-000-002))</condition>
|
||||
<!-- End Conditions copied from BM1 on 1/16/07 by MPoling -->
|
||||
|
||||
<!-- Conditions added by MPoling on 2/13/07 -->
|
||||
<condition id="CD000-013-748" summary="Returns true if this user is a parent of context user" label="Returns true if this user is a parent of context user" type="user">HAS_RELATIONSHIP(CONTEXT_USER(), 'parent of child')</condition>
|
||||
<condition id="CD000-013-749" summary="Returns true if this user is an under 22 child of context user" label="Returns true if this user is an under 22 child of context user" type="user">CD000-004-244 && CD000-002-639</condition>
|
||||
|
||||
<!-- Condition added by MPoling on 3/30/07 -->
|
||||
|
||||
<condition id="CD000-020-834" summary="Returns true if there are males in the household" label="Returns true if there are males in the household" type="non-group">HAS_MEMBERS(FS000-002-501)</condition>
|
||||
|
||||
</section>
|
||||
<section name="formulas">
|
||||
<formula id="FM000-019-063" type="instance" summary="returns the name of the owner of this instance">LOOKUP_ID_USER(FM000-001-219, OWNER_OF_INSTANCE(THIS_INSTANCE()))</formula>
|
||||
|
||||
<formula id="FM000-000-060" type="user" summary="age" label="age" description="age as of today in years">AGE(GQ000-000-003:MQ000-000-006, GQ000-000-003:MQ000-000-107, GQ000-000-003:MQ000-000-108)</formula>
|
||||
<formula id="FM000-003-842" summary="change the street address to upper case" label="household, line 1 for street address" type="non-group">UCASE(GQ000-000-012:MQ000-000-015)</formula>
|
||||
<formula id="FM000-003-935" summary="if apt numb exists, print w/concat. punctuation" label="apt number for concatenation" type="non-group">CD000-004-312 ? ', '.GQ000-000-012:MQ000-000-017 : ''</formula>
|
||||
<formula id="FM000-004-729" replicated_from="FM000-000-923" type="user" summary="DOB in YYYYMMDD format">'GQ000-000-003:MQ000-000-108'.'GQ000-000-003:MQ000-000-107'.'GQ000-000-003:MQ000-000-006'</formula>
|
||||
<formula id="FM000-005-019" replicated_from="FM000-001-407" type="user" summary="concatenates DOB for every hh member" label="concatenates DOB for every hh member" description="">'GQ000-000-003:MQ000-000-107' .'/'. 'GQ000-000-003:MQ000-000-006'.'/'.'GQ000-000-003:MQ000-000-108'</formula>
|
||||
<formula id="FM000-009-681" summary="Returns full home address, with all lines separated by a comma, except state and zip separated by a space" label="Full home address, one line" type="non-group">JOIN(',', GQ000-000-012:MQ000-000-015, GQ000-000-012:MQ000-000-016, FM000-010-398, GQ000-000-012:MQ000-000-018, JOIN(' ', UCASE(GQ000-000-012:MQ000-000-019), GQ000-000-012:MQ000-000-020))</formula>
|
||||
<formula id="FM000-010-908" type="user" summary="concatenates first,middle initial, last name and suffix with apostrophe s" label="first, middle initial, last name and suffix and apostrophe s">JOIN("'", FM000-001-219, "s")</formula>
|
||||
<formula id="FM000-011-105" summary="concatenate full living street address with apt number" type="user">'FM000-010-267'.' APT# '.'FM000-003-072'</formula>
|
||||
<formula id="FM000-010-953" summary="if the user has a middle name then print it with a comma in front" type="user">(CD000-013-054) ? ', '.'GQ000-000-001:MQ000-000-002' : ' '</formula>
|
||||
<!-- rcb above added from BM1-->
|
||||
<formula id="FM000-003-247" summary="count the number of people living in household except context user" label="count the number of people living in household except context user" type="non-group">COUNT_MEMBERS(FS000-001-048)</formula>
|
||||
<formula id="FM000-000-404" type="non-group" summary="selfs first name, space, middle initial" label="self: first name and middle initial">self:FM000-000-403</formula>
|
||||
<formula id="FM000-000-403" type="user" summary="first name, space, middle initial" label="first name and middle initial">GQ000-000-001:MQ000-000-001 . ' ' . FM000-000-402</formula>
|
||||
<formula id="FM000-000-402" type="user" summary="first letter of middle name" label="middle initial">SUB_STRING(GQ000-000-001:MQ000-000-002, 0, 1)</formula>
|
||||
<formula id="FM000-000-835" type="user" summary="First Name MI Last Name" label="First Name MI Last Name" bmod_id="BM000-000-001">FM000-000-403 . ' ' . GQ000-000-001:MQ000-000-003</formula>
|
||||
<formula id="FM000-001-219" type="user" summary="concatenates first, middle initial with period, last name and suffix with comma" label="first, middle initial, last name and suffixfor every household member" description="" bmod_id="BM000-000-001">JOIN(' ', GQ000-000-001:MQ000-000-001, FM000-002-354, FM000-006-123, FM000-004-086)</formula>
|
||||
<formula id="FM000-004-042" type="instance" summary="first name last name" label="first name last name">'GQ000-000-001:MQ000-000-001'.' '.'GQ000-000-001:MQ000-000-003'</formula>
|
||||
<formula id="FM000-006-123" type="user" summary="conditionally concatenates last name and comma, if suffix exisits" label="last name with suffix punctuation" bmod_id="BM000-000-001">IS_NULL(GQ000-000-001:MQ000-000-004) ? GQ000-000-001:MQ000-000-003 : GQ000-000-001:MQ000-000-003 . ','</formula>
|
||||
<formula id="FM000-004-086" type="user" summary="returns suffix appropriately capitalized">TABLE_VALUE(TA000-000-095, GQ000-000-001:MQ000-000-004, 'a')</formula>
|
||||
<formula id="FM000-010-954" summary="join together first name and appropriately capitalized suffix" type="user">JOIN(' ', 'GQ000-000-001:MQ000-000-001', 'FM000-004-086')</formula>
|
||||
<formula id="FM000-010-955" summary="last, first (with suffix), and middle name" type="user">'GQ000-000-001:MQ000-000-003'.', '.'FM000-010-954'.'FM000-010-953'</formula>
|
||||
<formula id="FM000-001-020" type="non-group" summary="home address apt no. (ignoring mailing address)" label="home apt. number">GQ000-000-012:MQ000-000-017</formula>
|
||||
<formula id="FM000-001-019" type="non-group" summary="home address city, state zip (ignoring mailing address)" label="home city, state zip">GQ000-000-012:MQ000-000-018 . ', ' . UCASE(GQ000-000-012:MQ000-000-019) . ' ' . GQ000-000-012:MQ000-000-020</formula>
|
||||
<formula id="FM000-003-916" summary="concatenate address of hh" label="address of hh" type="non-group">FM000-001-089 . FM000-001-019</formula>
|
||||
<formula id="FM000-005-936" replicated_from="FM000-003-916" summary="concatenate address of hh" label="address of hh" type="non-group">FM000-001-089 . FM000-001-019</formula>
|
||||
<!--end multi-year tax formulas-->
|
||||
<formula id="FM000-001-034" type="non-group" summary="mailing or home address: street address line 1">(CD000-000-046) ? 'GQ000-000-014:MQ000-000-015' : 'GQ000-000-012:MQ000-000-015'</formula>
|
||||
<formula id="FM000-001-035" type="non-group" summary="mailing or home address: street address line 2">(CD000-000-046) ? 'GQ000-000-014:MQ000-000-016' : 'GQ000-000-012:MQ000-000-016'</formula>
|
||||
<formula id="FM000-001-089" type="non-group" summary="1st line and 2nd line of mailing or home address">'FM000-001-034' . ', ' . ' ' . 'FM000-001-035'</formula>
|
||||
<formula id="FM000-010-267" type="non-group" summary="Concatenates both lines of living street address (no apt number)">'GQ000-000-012:MQ000-000-015' . ((IS_NULL(GQ000-000-012:MQ000-000-015) || IS_NULL(GQ000-000-012:MQ000-000-016)) ? '' : ', ') . 'GQ000-000-012:MQ000-000-016'</formula>
|
||||
<formula id="FM000-011-426" type="non-group" summary="Concatenates both lines of mailing street address (no apt number)">'GQ000-000-014:MQ000-000-015' . ((IS_NULL(GQ000-000-014:MQ000-000-015) || IS_NULL(GQ000-000-014:MQ000-000-016)) ? '' : ', ') . 'GQ000-000-014:MQ000-000-016'</formula>
|
||||
<formula id="FM000-010-451" summary="concatenate the mailing street and apt # of the user" label="concatenate the street and apt # of the user" type="user">(FM000-003-458 eq '') ? 'FM000-011-426' : ('FM000-011-426'.' '. 'APT '.'FM000-003-458')</formula>
|
||||
<formula id="FM000-011-425" summary="Home address 'City, ST' concatenation" type="non-group">'GQ000-000-012:MQ000-000-018'. ((IS_NULL(GQ000-000-012:MQ000-000-018) || IS_NULL(GQ000-000-012:MQ000-000-019)) ? '' : ', ') . UCASE(GQ000-000-012:MQ000-000-019)</formula>
|
||||
<formula id="FM000-010-270" summary="Mailing address 'City, ST' concatenation" type="non-group">'GQ000-000-014:MQ000-000-018' . ((IS_NULL(GQ000-000-014:MQ000-000-018) || IS_NULL(GQ000-000-014:MQ000-000-019)) ? '' : ', ') . UCASE(GQ000-000-014:MQ000-000-019)</formula>
|
||||
<formula id="FM000-001-023" type="non-group" summary="self first name MI last name" label="self first name MI last name" tags="fed04, form, schedule b">'FM000-000-404'.' '.'self:GQ000-000-001:MQ000-000-003'</formula>
|
||||
<!--Filing Status-->
|
||||
<formula id="FM000-001-022" type="user" summary="first name last name" label="first name last name" tags="fed04, filing status, marital status, form, schedule b, credits, eitc, qualifying child" bmod_id="BM000-000-001">'GQ000-000-001:MQ000-000-001'.' '.'GQ000-000-001:MQ000-000-003'</formula>
|
||||
<formula id="FM000-000-822" type="user" summary="Full name" label="Full name" description="" tags="fed04, dependents">'GQ000-000-001:MQ000-000-001' . ' ' . 'GQ000-000-001:MQ000-000-002' . ' ' . 'GQ000-000-001:MQ000-000-003'</formula>
|
||||
<formula id="FM000-000-203" type="user" summary="unsupported for now" label="IRA deduction" description="">0</formula>
|
||||
<formula id="FM000-000-435" type="non-group" summary="(mailing separate) ? Mailing city : living city" label="" description="">(CD000-000-046) ? 'GQ000-000-014:MQ000-000-018' : 'GQ000-000-012:MQ000-000-018'</formula>
|
||||
<formula id="FM000-000-436" type="non-group" summary="(mailing separate) ? Mailing state : living state" label="" description="">(CD000-000-046) ? GQ000-000-014:MQ000-000-019 : GQ000-000-012:MQ000-000-019</formula>
|
||||
<formula id="FM000-000-437" type="non-group" summary="(mailing separate) ? Mailing zip : living zip" label="" description="">(CD000-000-046) ? 'GQ000-000-014:MQ000-000-020' : 'GQ000-000-012:MQ000-000-020'</formula>
|
||||
<formula id="FM000-018-946" type="non-group" summary="(mailing separate) ? Mailing county : living county" label="" description="">(CD000-000-046) ? 'GQ000-000-014:MQ000-000-120' : 'GQ000-000-184:MQ000-000-120'</formula>
|
||||
|
||||
<!--formula id="FM000-000-919" type="non-group" summary="E-file name line 2">NAME_CONTROL('name_line_2', GQ000-000-012:MQ000-000-016)</formula-->
|
||||
<!--formula id="FM000-000-920" type="non-group" summary="E-file street address (mailing address or living address, depending on CD046">NAME_CONTROL('street_address', GQ000-000-012:MQ000-000-015)</formula-->
|
||||
<!-- formulas from FedTaxFormulas v1.08-->
|
||||
<formula id="FM000-000-923" type="user" summary="DOB in YYYYMMDD format">'GQ000-000-003:MQ000-000-108'.'GQ000-000-003:MQ000-000-107'.'GQ000-000-003:MQ000-000-006'</formula>
|
||||
<!--Formulas for the 2004FedTaxsummarypagesv1.01-->
|
||||
<formula id="FM000-000-823" type="user" summary="DOB" label="DOB" description="Formatted DOB">'GQ000-000-003:MQ000-000-107' . '/' . 'GQ000-000-003:MQ000-000-006' . '/' . 'GQ000-000-003:MQ000-000-108'</formula>
|
||||
<formula id="FM000-001-127" type="user" summary="income counted based on being 18 or older" label="Income Counted Based on Age" description="">(NOT(CD000-000-394)) ? 'yes' : 'no'</formula>
|
||||
<formula id="FM000-001-132" type="user" summary="assets counted based on being 18 or older" label="Assets Counted Based on Age" description="">(NOT(CD000-000-394)) ? 'yes' : 'no'</formula>
|
||||
<formula id="FM000-001-188" type="non-group" summary="Concatenates both lines of living street address and APT number" label="" description="">GQ000-000-012:MQ000-000-015 . FM000-003-865 . FM000-003-864</formula>
|
||||
<formula id="FM000-009-429" type="non-group" summary="Concatenates both lines of living street address WITHOUT Apt number" label="">GQ000-000-012:MQ000-000-015 . FM000-003-865</formula>
|
||||
<formula id="FM000-001-189" type="non-group" summary="Concatenates both lines of mailing street address and APT number" label="" description="">'GQ000-000-014:MQ000-000-015'.' '.'GQ000-000-014:MQ000-000-016'</formula>
|
||||
<formula id="FM000-009-873" type="user" summary="returns the suffix while eliminating the space between the people" label="returns the suffix while eliminating the space between the people" description="">CD000-011-813 ? '': ''.'FM000-009-876'</formula>
|
||||
<formula id="FM000-009-876" type="user" summary="returns FM4086 (name suffix) with a space" label="returns FM4086 (name suffix) with a space" description="">''.'FM000-004-086'</formula>
|
||||
<formula id="FM000-001-281" type="user" summary="yes to US citizen" label="applying giving citizen information" description="">(CD000-000-122) ? 'x' : '' </formula>
|
||||
<formula id="FM000-001-404" type="user" summary="concatenates last name, first and middle" label="concatenates last name, first and middle" description="">'GQ000-000-001:MQ000-000-003' .', '. 'GQ000-000-001:MQ000-000-001' .' '. 'GQ000-000-001:MQ000-000-002'</formula>
|
||||
<formula id="FM000-001-407" type="user" summary="concatenates DOB for every hh member" label="concatenates DOB for every hh member" description="">'GQ000-000-003:MQ000-000-107' .'/'. 'GQ000-000-003:MQ000-000-006'.'/'.'GQ000-000-003:MQ000-000-108'</formula>
|
||||
<formula id="FM000-001-455" type="non-group" summary="count all members for FL FS " label="" description="">COUNT_MEMBERS(FS000-000-147)</formula>
|
||||
<formula id="FM000-001-566" type="instance" summary="return the name of the person who incurred other expense (for blind/disabled person)" label="return the name of the person who incurred other expense (for blind/disabled person)">'LOOKUP_ID_USER(FM000-001-219, INSTANCE(GQ000-001-428:MQ000-001-562))'</formula>
|
||||
<formula id="FM000-001-569" type="instance" summary="return the name of the person who pays for child/dependent care" label="return the name of the person who pays for child/dependent care">(CD000-005-149) ? 'FM000-001-219' : ''</formula>
|
||||
<formula id="FM000-001-570" type="instance" summary="return the name of the person who pays for medical expenses" label="return the name of the person who pays for medical expenses">(CD000-005-148) ? 'FM000-001-219' : ''</formula>
|
||||
<!-- End PA Common App -->
|
||||
<formula id="FM000-001-925" type="user" summary="age" label="age" description="age as of today in years">AGE(GQ000-000-003:MQ000-002-004, GQ000-000-003:MQ000-002-016, GQ000-000-003:MQ000-001-993)</formula>
|
||||
<formula id="FM000-001-944" replicated_from="FM000-001-188" type="non-group" summary="Concatenates both lines of living street address and APT number" label="" description="">'GQ000-000-012:MQ000-001-987'.' '.'GQ000-000-012:MQ000-002-008'.', '.'GQ000-000-012:MQ000-001-942'</formula>
|
||||
<formula id="FM000-001-951" replicated_from="FM000-001-249" type="non-group" summary="No, no one is an official foster child" label="No, no one is an official foster child" description="">NOT(CD000-003-503) ? 'x' : ''</formula>
|
||||
<formula id="FM000-001-993" replicated_from="FM000-001-248" type="non-group" summary="Yes, has official foster child" label="Yes, has official foster child" description="">(CD000-003-503) ? 'x' : ''</formula>
|
||||
<formula id="FM000-002-038" replicated_from="FM000-001-281" type="user" summary="yes to US citizen" label="applying giving citizen information" description="">(CD000-000-122) ? 'x' : '' </formula>
|
||||
<formula id="FM000-002-081" replicated_from="FM000-001-226" type="non-group" summary="x if disabled members" label="YES, disabled members" description="">(CD000-003-448) ? 'x' : ''</formula>
|
||||
<formula id="FM000-002-088" replicated_from="FM000-001-189" type="non-group" summary="Concatenates both lines of mailing street address and APT number" label="" description="">'GQ000-000-014:MQ000-001-987'.' '.'GQ000-000-014:MQ000-002-008'.', '.'GQ000-000-014:MQ000-001-942'</formula>
|
||||
<formula id="FM000-002-110" replicated_from="FM000-001-227" type="non-group" summary="x if no disabled members" label="NO, disabled members" description="">NOT(CD000-003-448) ? 'x' : ''</formula>
|
||||
<formula id="FM000-002-120" replicated_from="FM000-001-407" type="user" summary="concatenates DOB for every hh member" label="concatenates DOB for every hh member" description="">'GQ000-000-003:MQ000-002-016' .'/'. 'GQ000-000-003:MQ000-002-004'.'/'.'GQ000-000-003:MQ000-001-993'</formula>
|
||||
<formula id="FM000-002-160" replicated_from="FM000-001-188" type="non-group" summary="Concatenates both lines of living street address and APT number" label="" description="">'GQ000-000-012:MQ000-000-015'.' '.'GQ000-000-012:MQ000-000-016'.', '.'GQ000-000-012:MQ000-000-017'</formula>
|
||||
<formula id="FM000-002-168" replicated_from="FM000-001-249" type="non-group" summary="No, no one is an official foster child" label="No, no one is an official foster child" description="">NOT(CD000-003-788) ? 'x' : ''</formula>
|
||||
<formula id="FM000-002-221" replicated_from="FM000-001-248" type="non-group" summary="Yes, has official foster child" label="Yes, has official foster child" description="">(CD000-003-788) ? 'x' : ''</formula>
|
||||
<formula id="FM000-002-229" replicated_from="FM000-001-250" type="non-group" summary="join with comma the names of official foster child in the hh" label="names of official foster child in the hh" description="">OPERATION(JOIN_W_COMMA, FS000-000-877, 'FM000-001-219')</formula>
|
||||
<formula id="FM000-002-232" replicated_from="FM000-001-404" type="user" summary="concatenates last name, first and middle" label="concatenates last name, first and middle" description="">'GQ000-000-001:MQ000-000-003' .', '. 'GQ000-000-001:MQ000-000-001' .' '. 'GQ000-000-001:MQ000-000-002'</formula>
|
||||
<formula id="FM000-002-239" replicated_from="FM000-001-228" type="non-group" summary="join with comma the names of disabled members" label="names of disabled members" description="">OPERATION(JOIN_W_COMMA, FS000-000-880, 'FM000-001-219')</formula>
|
||||
<formula id="FM000-002-340" replicated_from="FM000-001-226" type="non-group" summary="x if disabled members" label="YES, disabled members" description="">(CD000-003-714) ? 'x' : ''</formula>
|
||||
<formula id="FM000-002-347" replicated_from="FM000-001-189" type="non-group" summary="Concatenates both lines of mailing street address and APT number" label="" description="">'GQ000-000-014:MQ000-000-015'.' '.'GQ000-000-014:MQ000-000-016'.', '.'GQ000-000-014:MQ000-000-017'</formula>
|
||||
<formula id="FM000-002-354" type="user" summary="first letter of middle name with period" label="">IS_NULL(GQ000-000-001:MQ000-000-002) ? FM000-000-402 : FM000-000-402 . '.'</formula>
|
||||
<formula id="FM000-002-381" replicated_from="FM000-001-227" type="non-group" summary="x if no disabled members" label="NO, disabled members" description="">NOT(CD000-003-714) ? 'x' : ''</formula>
|
||||
<formula id="FM000-002-394" replicated_from="FM000-001-407" type="user" summary="concatenates DOB for every hh member" label="concatenates DOB for every hh member" description="">'GQ000-000-003:MQ000-000-107' .'/'. 'GQ000-000-003:MQ000-000-006'.'/'.'GQ000-000-003:MQ000-000-108'</formula>
|
||||
<formula id="FM000-002-403" replicated_from="FM000-001-220" type="non-group" summary="join with comma the names of non FL resident" label="names of non FL resident" description="">OPERATION(JOIN_W_COMMA, FS000-000-894, 'FM000-001-219')</formula>
|
||||
<formula id="FM000-002-447" summary="household size" label="household size" type="non-group">COUNT_MEMBERS(FS000-000-147)</formula>
|
||||
<formula id="FM000-002-657" summary="return the column for Kidcare Medicaid income limit based on age" label="return the column for Kidcare Medicaid income limit based on age" type="user">CD000-004-146 ? 'g' : (CD000-004-147 ? 'f' : (CD000-004-148 ? 'c' : 'i'))</formula>
|
||||
<formula id="FM000-002-884" summary="answer no to US citizen" label="answer no to US citizen" type="user">(CD000-002-557) ? 'x' : ''</formula>
|
||||
<formula id="FM000-002-901" summary="if the user has SSN then print it, otherwise leave it blank" label="if the user has SSN then print it, otherwise leave it blank" type="user">CD000-000-007 ? 'GQ000-000-009:MQ000-000-012' : ' '</formula>
|
||||
<formula id="FM000-002-903" summary="print apt number if has" label="print apt number if has" type="non-group">CD000-004-312 ? 'GQ000-000-012:MQ000-000-017' : ''</formula>
|
||||
<formula id="FM000-002-954" summary="has 2nd line street information in mailing address" label="has 2nd line street information in mailing address" type="non-group">CD000-004-343 ? ', '.'GQ000-000-014:MQ000-000-016' : ''</formula>
|
||||
<formula id="FM000-002-955" summary="has apt number information in mailing address" label="has apt number information in mailing address" type="non-group">CD000-004-344 ? ', APT'.' '.'GQ000-000-014:MQ000-000-017'.',' : ''</formula>
|
||||
<formula id="FM000-003-019" type="non-group" summary="Concatenates both lines of living street address" label="Concatenates both lines of living street address" description="">'FM000-001-034'.'FM000-001-035'</formula>
|
||||
<formula id="FM000-003-025" summary="print work phone number for this user" label="print work phone number for this user" type="user">CD000-004-447 ? 'GQ000-000-061:MQ000-000-115' : ' '</formula>
|
||||
<formula id="FM000-003-022" summary="print other phone number for this user" label="print other phone number for this user" type="user">CD000-004-449 ? 'GQ000-000-061:MQ000-000-116' : ' '</formula>
|
||||
<formula id="FM000-003-600" summary="count members in a SSI related SFU" label="count members in a SSI related SFU" type="user">COUNT_MEMBERS(FS000-001-089)</formula>
|
||||
<formula id="FM000-003-071" summary="home_address_numberandstreet" label="home_address_numberandstreet RETURNS MAILING ADDRESS IF IT PROVIDED" type="user">LOOKUP_ID_USER(FM000-003-019, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-072" summary="home_address_apt#" label="home_address_apt#" type="user">LOOKUP_ID_USER(FM000-002-903, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-073" summary="home_address_city" label="home_address_city" type="user">LOOKUP_ID_USER(FM000-003-381, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-074" summary="home_address_state" label="home_address_state" type="user">LOOKUP_ID_USER(FM000-003-382, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-075" summary="home_address_zip" label="home_address_zip" type="user">LOOKUP_ID_USER(GQ000-000-012:MQ000-000-020, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-076" summary="home_address_county" label="home_address_county" type="user">LOOKUP_ID_USER(FM000-003-472, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-078" summary="mail_address_apt#" label="mail_address_apt#" type="user">LOOKUP_ID_USER(FM000-002-955, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-458" summary="mail_address_apt#" label="mail_address_apt#" type="user">LOOKUP_ID_USER(GQ000-000-014:MQ000-000-017, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-079" summary="mail_address_city" label="mail_address_city" type="user">LOOKUP_ID_USER(FM000-003-383, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-080" summary="mail_address_state" label="mail_address_state" type="user">LOOKUP_ID_USER(FM000-003-384, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-081" summary="mail_address_zip" label="mail_address_zip" type="user">LOOKUP_ID_USER(GQ000-000-014:MQ000-000-020, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-472" summary="mail_address_county" label="mail_address_county" type="user">UCASE(GQ000-000-184:MQ000-000-120)</formula>
|
||||
<formula id="FM000-003-083" summary="home Phone Number" label="home Phone Number" type="user">LOOKUP_ID_USER(GQ000-000-061:MQ000-000-054, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-090" summary="mailing address" label="mailing address" type="user">LOOKUP_ID_USER(GQ000-000-061:MQ000-000-116, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-261" summary="concetanate DOB" label="concetanate DOB" type="user">'GQ000-000-003:MQ000-000-107'.'/'.'GQ000-000-003:MQ000-000-006'.'/'.'GQ000-000-003:MQ000-000-108'</formula>
|
||||
<formula id="FM000-003-287" summary="context user age" label="context user age" type="user">LOOKUP_ID_USER(CD000-003-599, CONTEXT_USER())</formula>
|
||||
<formula id="FM000-003-381" summary="return the upper case for city name" label="return the upper case for city name" type="non-group">UCASE(GQ000-000-012:MQ000-000-018)</formula>
|
||||
<formula id="FM000-003-382" summary="return the upper case for state name" label="return the upper case for state name" type="non-group">UCASE(GQ000-000-012:MQ000-000-019)</formula>
|
||||
<formula id="FM000-005-708" replicated_from="FM000-003-382" summary="return the upper case for state name" label="return the upper case for state name" type="non-group">UCASE(GQ000-000-012:MQ000-000-019)</formula>
|
||||
<formula id="FM000-003-383" summary="return the upper case for city name in mailing address" label="return the upper case for city name in mailing address" type="non-group">UCASE(GQ000-000-014:MQ000-000-018)</formula>
|
||||
<formula id="FM000-003-384" summary="return the upper case for state name in mailing address" label="return the upper case for state name in mailing address" type="non-group">UCASE(GQ000-000-014:MQ000-000-019)</formula>
|
||||
<formula id="FM000-003-388" summary="change the sex into upper case" label="change the sex into upper case" type="user">UCASE(GQ000-000-007:MQ000-000-010)</formula>
|
||||
<formula id="FM000-003-454" summary="return the name of person an instance owner" label="return the name of person who owns the instance" type="instance">LOOKUP_INSTANCE(FM000-003-990, FM000-003-464)</formula>
|
||||
<formula id="FM000-003-464" summary="return the instance ID of this instance" label="return the instance ID of this instance" type="instance">THIS_INSTANCE()</formula>
|
||||
<formula id="FM000-003-769" summary="if client does not understand English, print preferred written language, else blank" type="non-group">(CD000-005-451) ? 'GQ000-000-183:MQ000-000-119' : ' '</formula>
|
||||
<formula id="FM000-003-385" summary="change the preferred written language into upper case" label="change the preferred written language into upper case" type="non-group">UCASE(GQ000-000-183:MQ000-000-119)</formula>
|
||||
<formula id="FM000-011-055" summary="return the language preferred in upper case" type="user">UCASE('GQ000-000-183:MQ000-000-119')</formula>
|
||||
<formula id="FM000-003-804" type="non-group" summary="concatenates street line 1, street line2, apartment number, mailing or living" label="concatenates street line 1, street line2, apartment number, mailing or living">FM000-001-034 . ' ' . FM000-001-035 . ' ' . FM000-003-846</formula>
|
||||
<formula id="FM000-003-809" type="non-group" summary="capitalizes state in address">UCASE(FM000-000-436)</formula>
|
||||
<formula id="FM000-003-846" type="non-group" summary="address apt no. with apartment text included">(CD000-000-046) ? ((CD000-004-344)? 'Apt. '.'GQ000-000-014:MQ000-000-017' : '') : ((CD000-004-312) ? ' Apt. '.'GQ000-000-012:MQ000-000-017' : '')</formula>
|
||||
<formula id="FM000-003-990" type="user" summary="joins with a space the first name, middle initial, last name, and suffix">JOIN(' ', GQ000-000-001:MQ000-000-001, FM000-000-402, GQ000-000-001:MQ000-000-003, FM000-004-086)</formula>
|
||||
<!--CCP Form Formulae-->
|
||||
<formula id="FM000-003-347" summary="'checks married if self's marital status is married" label="'checks married if self's marital status is married" type="user">(CD000-005-011) ? 'x' : ''</formula>
|
||||
<formula id="FM000-003-349" summary="'checks married if self's marital status is divorced" label="'checks married if self's marital status is divorced" type="user">(CD000-005-013) ? 'x' : ''</formula>
|
||||
<formula id="FM000-003-351" summary="'checks married if self's marital status is widowed" label="'checks married if self's marital status is widowed" type="user">(CD000-005-015) ? 'x' : ''</formula>
|
||||
<formula id="FM000-003-698" summary="concatenates first middle name" label="concatenates first middle name" type="user">'GQ000-000-001:MQ000-000-001'.' '. 'GQ000-000-001:MQ000-000-002'</formula>
|
||||
<formula id="FM000-002-671" summary="if client checked yes to understands english, print x, else blank" type="non-group">(CD000-004-137) ? 'x' : ' '</formula>
|
||||
<formula id="FM000-003-310" summary="if client checked no to understands english, print x, else blank" type="non-group">NOT(CD000-004-137) ? 'x' : ' '</formula>
|
||||
<formula id="FM000-002-673" summary="if client checked no to understands english, print x, else blank" type="non-group">NOT(CD000-004-137) ? 'x' : ' '</formula>
|
||||
<formula id="FM000-002-724" summary="if user has middle name, returns first letter" label="prints middle initial" type="user">(CD000-004-194) ? SUB_STRING('GQ000-000-001:MQ000-000-002', 0, 1) : ' '</formula>
|
||||
<formula id="FM000-002-728" summary="concatenates month/day/year of birth" type="user">GQ000-000-003:MQ000-000-107 . '/' . GQ000-000-003:MQ000-000-006 . '/' . GQ000-000-003:MQ000-000-108</formula>
|
||||
<formula id="FM000-002-836" summary="if user is female, print F; else print M" type="user">(CD000-002-577) ? 'F' : 'M'</formula>
|
||||
<formula id="FM000-003-834" type="non-group" summary="first three letters of self last name" label="OH payment" description="first three letters of self last name">SUB_STRING(self:GQ000-000-001:MQ000-000-003, 0, 3)</formula>
|
||||
<formula id="FM000-003-119" summary="if user is female, print x" type="user">(CD000-002-577) ? 'x' : ''</formula>
|
||||
<formula id="FM000-003-120" summary="if user is male, print x" type="user">NOT(CD000-002-577) ? 'x' : ''</formula>
|
||||
<formula id="FM000-003-864" summary="if apt numb exists, print with concatenation punctuation" label="apt number for concatenation" type="non-group">CD000-004-312 ? ', Apt. '.GQ000-000-012:MQ000-000-017 : ''</formula>
|
||||
<formula id="FM000-003-865" summary="print 2nd line street information w/ concatenation punctuation if has" label="2nd line street information for concatenation" type="non-group">CD000-004-311 ? ', '.GQ000-000-012:MQ000-000-016 : ''</formula>
|
||||
<!-- begin PACA statement record FMs -->
|
||||
<formula id="FM000-003-880" label="number of non-self users" type="non-group">COUNT_MEMBERS(FS000-000-706)</formula>
|
||||
<formula id="FM000-003-965" summary="return the name of all household members" label="return the name of all the household members" type="non-group" bmod_id="BM000-000-001">OPERATION(JOIN_W_COMMA, FS000-000-147, FM000-001-219)</formula>
|
||||
<!--w2 data prefilled: now considered HH because they go reused by MD CCS-->
|
||||
<formula id="FM000-003-872" summary="return first line of street address for as this user default value in w-2" label="first line of primary address (self)" type="user" bmod_id="BM000-000-001">LOOKUP_ID_USER(GQ000-000-012:MQ000-000-015, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-871" summary="return second line of street address for this user as default value in w-2" label="second line of primary address (self)" type="user" bmod_id="BM000-000-001">LOOKUP_ID_USER(GQ000-000-012:MQ000-000-016, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-873" summary="return city name as default value in w-2" label="primary address city (self)" type="user" bmod_id="BM000-000-001">LOOKUP_ID_USER(GQ000-000-012:MQ000-000-018, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-874" summary="return state name as default value in w-2" label="primary address state (self)" type="user" bmod_id="BM000-000-001">LOOKUP_ID_USER(GQ000-000-012:MQ000-000-019, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-875" summary="return zipcode as default value in w-2" label="primary address zip (self)" type="user" bmod_id="BM000-000-001">LOOKUP_ID_USER(GQ000-000-012:MQ000-000-020, GET_ID_USER(self))</formula>
|
||||
<!-- formulas for policyholder of insurance -->
|
||||
<formula id="FM000-003-910" summary="name of policyholder of this instance of insurance if in the household" label="name of policyholder of this instance of insurance if in the household" type="instance">FM000-001-219</formula>
|
||||
<!--fix 8880-->
|
||||
<formula id="FM000-003-877" summary="return the date of birth of a user" label="DOB" type="user">"DATE(GQ000-000-003:MQ000-000-108, GQ000-000-003:MQ000-000-107, GQ000-000-003:MQ000-000-006)"</formula>
|
||||
<!--formula id="FM000-003-879" summary="return 1987, January 1st" label="condition to take 8880" type="non-group">"DATE('1987', '1', '1')"</formula-->
|
||||
<!--Fed2005rep: household module -->
|
||||
<formula id="FM000-004-144" replicated_from="FM000-000-060" type="user" summary="age" label="age" description="age as of today in years">AGE(GQ000-000-003:MQ000-000-006, GQ000-000-003:MQ000-000-107, GQ000-000-003:MQ000-000-108)</formula>
|
||||
<!--reverted all uses to pre-replicated version <formula id="FM000-004-807" replicated_from="FM000-001-022" type="group" summary="first name last name" label="first name last name" tags="fed05, filing status, marital status, form, schedule b, credits, eitc, qualifying child">'GQ000-000-001:MQ000-000-001'.' '.'GQ000-000-001:MQ000-000-003'</formula> -->
|
||||
<formula id="FM000-004-629" replicated_from="FM000-000-822" type="user" summary="Full name" label="Full name" description="" tags="fed05, dependents">FM000-000-403 . ' ' . GQ000-000-001:MQ000-000-003 . FM000-009-587</formula>
|
||||
<formula id="FM000-009-587" summary="Name suffix, appropriately capitalized, with a space before it if it exists, otherwise empty string" label="Name suffix with preceding space" tags="fed05, dependents, additional dependents">GQ000-000-001:MQ000-000-004 ne '' ? ' ' . FM000-006-016 : ''</formula>
|
||||
<!-- Formulas for the 2004FedTaxsummarypagesv1.01-->
|
||||
<formula id="FM000-004-630" replicated_from="FM000-000-823" type="user" summary="DOB" label="DOB" description="Formatted DOB">'GQ000-000-003:MQ000-000-107' . '/' . 'GQ000-000-003:MQ000-000-006' . '/' . 'GQ000-000-003:MQ000-000-108'</formula>
|
||||
<formula id="FM000-004-920" replicated_from="FM000-001-188" type="non-group" summary="Concatenates both lines of living street address and APT number" label="" description="">GQ000-000-012:MQ000-000-015 . ' ' . FM000-005-904 . FM000-005-903</formula>
|
||||
<formula id="FM000-004-937" replicated_from="FM000-001-219" type="user" summary="concatenates first,middle initial, last name and suffix" label="first, middle initial, last name and suffixfor every household member" description="" bmod_id="BM000-000-001">'GQ000-000-001:MQ000-000-001'.' '.'FM000-000-402'.' '.'GQ000-000-001:MQ000-000-003'.' '.'FM000-006-016'</formula>
|
||||
<formula id="FM000-004-939" replicated_from="FM000-001-226" type="non-group" summary="x if disabled members" label="YES, disabled members" description="">(CD000-006-953) ? 'x' : ''</formula>
|
||||
<formula id="FM000-004-940" replicated_from="FM000-001-227" type="non-group" summary="x if no disabled members" label="NO, disabled members" description="">NOT(CD000-006-953) ? 'x' : ''</formula>
|
||||
<formula id="FM000-004-941" replicated_from="FM000-001-228" type="non-group" summary="join with comma the names of disabled members" label="names of disabled members" description="">OPERATION(JOIN_W_COMMA, FS000-001-402, FM000-004-937)</formula>
|
||||
<formula id="FM000-004-973" replicated_from="FM000-001-281" type="user" summary="yes to US citizen" label="applying giving citizen information" description="">(CD000-000-122) ? 'x' : '' </formula>
|
||||
<formula id="FM000-005-017" replicated_from="FM000-001-404" type="user" summary="concatenates last name, first and middle" label="concatenates last name, first and middle" description="">'GQ000-000-001:MQ000-000-003' .', '. 'GQ000-000-001:MQ000-000-001' .' '. 'GQ000-000-001:MQ000-000-002'</formula>
|
||||
<formula id="FM000-005-033" replicated_from="FM000-001-454" type="non-group" summary="count expenses instance for FL FS common application form section E " label="" description="">COUNT_MEMBERS(IS000-000-801)</formula>
|
||||
<!--Fed2005rep: beginning of people expenses module-->
|
||||
<formula id="FM000-005-047" replicated_from="FM000-001-566" type="instance" summary="return the name of the person who incurred other expense (for blind/disabled person)" label="return the name of the person who incurred other expense (for blind/disabled person)">(CD000-005-148) ? 'FM000-004-937' : ''</formula>
|
||||
<formula id="FM000-005-048" replicated_from="FM000-001-569" type="instance" summary="return the name of the person who pays for child/dependent care" label="return the name of the person who pays for child/dependent care">(CD000-005-149) ? 'FM000-004-937' : ''</formula>
|
||||
<formula id="FM000-005-049" replicated_from="FM000-001-570" type="instance" summary="return the name of the person who pays for medical expenses" label="return the name of the person who pays for medical expenses">(CD000-005-148) ? 'FM000-004-937' : ''</formula>
|
||||
<formula id="FM000-005-062" replicated_from="FM000-001-951" type="non-group" summary="No, no one is an official foster child" label="No, no one is an official foster child" description="">NOT(CD000-007-070) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-076" replicated_from="FM000-001-993" type="non-group" summary="Yes, has official foster child" label="Yes, has official foster child" description="">(CD000-007-070) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-093" replicated_from="FM000-002-038" type="user" summary="yes to US citizen" label="applying giving citizen information" description="">(CD000-000-122) ? 'x' : '' </formula>
|
||||
<formula id="FM000-005-109" replicated_from="FM000-002-081" type="non-group" summary="x if disabled members" label="YES, disabled members" description="">(CD000-007-050) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-118" replicated_from="FM000-002-110" type="non-group" summary="x if no disabled members" label="NO, disabled members" description="">NOT(CD000-007-050) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-143" replicated_from="FM000-002-160" type="non-group" summary="Concatenates both lines of living street address and APT number" label="" description="">'GQ000-000-012:MQ000-000-015'.' '.'GQ000-000-012:MQ000-000-016'.', '.'GQ000-000-012:MQ000-000-017'</formula>
|
||||
<formula id="FM000-005-146" replicated_from="FM000-002-168" type="non-group" summary="No, no one is an official foster child" label="No, no one is an official foster child" description="">NOT(CD000-007-150) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-159" replicated_from="FM000-002-196" type="non-group" summary="x if not everyone is a resident of FL" label="NO to everyone is a FL resident" description="">NOT(CD000-007-158) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-170" replicated_from="FM000-002-221" type="non-group" summary="Yes, has official foster child" label="Yes, has official foster child" description="">(CD000-007-150) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-173" replicated_from="FM000-002-229" type="non-group" summary="join with comma the names of official foster child in the hh" label="names of official foster child in the hh" description="">OPERATION(JOIN_W_COMMA, FS000-001-495, 'FM000-004-937')</formula>
|
||||
<formula id="FM000-005-174" replicated_from="FM000-002-232" type="user" summary="concatenates last name, first and middle" label="concatenates last name, first and middle" description="">'GQ000-000-001:MQ000-000-003' .', '. 'GQ000-000-001:MQ000-000-001' .' '. 'GQ000-000-001:MQ000-000-002'</formula>
|
||||
<formula id="FM000-005-179" replicated_from="FM000-002-239" type="non-group" summary="join with comma the names of disabled members" label="names of disabled members" description="">OPERATION(JOIN_W_COMMA, FS000-001-498, 'FM000-004-937')</formula>
|
||||
<formula id="FM000-005-181" replicated_from="FM000-002-243" type="non-group" summary="count members that are resident of Florida" label="Number of Florida resident in HH" description="">COUNT_MEMBERS(FS000-001-491)</formula>
|
||||
<formula id="FM000-005-201" replicated_from="FM000-002-283" type="user" summary="yes to US citizen" label="applying giving citizen information" description="">(CD000-000-122) ? 'x' : '' </formula>
|
||||
<formula id="FM000-005-229" replicated_from="FM000-002-340" type="non-group" summary="x if disabled members" label="YES, disabled members" description="">(CD000-007-122) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-238" replicated_from="FM000-002-354" type="user" summary="first letter of middle name" label="" description="">SUB_STRING('GQ000-000-001:MQ000-000-002', 0, 1)</formula>
|
||||
<formula id="FM000-005-240" replicated_from="FM000-002-356" type="non-group" summary="x if everyone is a resident of FL" label="Yes to everyone is a FL resident" description="">(CD000-007-158) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-253" replicated_from="FM000-002-381" type="non-group" summary="x if no disabled members" label="NO, disabled members" description="">NOT(CD000-007-122) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-261" replicated_from="FM000-002-394" type="user" summary="concatenates DOB for every hh member" label="concatenates DOB for every hh member" description="">'GQ000-000-003:MQ000-000-107' .'/'. 'GQ000-000-003:MQ000-000-006'.'/'.'GQ000-000-003:MQ000-000-108'</formula>
|
||||
<formula id="FM000-005-266" replicated_from="FM000-002-403" type="non-group" summary="join with comma the names of non FL resident" label="names of non FL resident" description="">OPERATION(JOIN_W_COMMA, FS000-001-509, 'FM000-004-937')</formula>
|
||||
<formula id="FM000-005-294" replicated_from="FM000-002-447" summary="household size" label="household size" type="non-group">COUNT_MEMBERS(FS000-001-217)</formula>
|
||||
<formula id="FM000-005-467" replicated_from="FM000-002-884" summary="answer no to US citizen" label="answer no to US citizen" type="user">(CD000-006-969) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-470" replicated_from="FM000-002-901" summary="if the user has SSN then print it, otherwise leave it blank" label="if the user has SSN then print it, otherwise leave it blank" type="user">CD000-006-003 ? 'GQ000-000-009:MQ000-000-012' : ' '</formula>
|
||||
<formula id="FM000-005-471" replicated_from="FM000-002-902" summary="print 2nd line street information if has" label="print 2nd line street information if has" type="non-group">CD000-007-282 ? ','.' '.'GQ000-000-012:MQ000-000-016' : ''</formula>
|
||||
<formula id="FM000-005-472" replicated_from="FM000-002-903" summary="print apt number if has" label="print apt number if has" type="non-group">CD000-007-283 ? 'GQ000-000-012:MQ000-000-017' : ''</formula>
|
||||
<formula id="FM000-005-947" replicated_from="FM000-003-935" summary="if apt numb exists, print w/concat. punctuation" label="apt number for concatenation" type="non-group">CD000-007-283 ? ', '.GQ000-000-012:MQ000-000-017 : ''</formula>
|
||||
<formula id="FM000-005-480" replicated_from="FM000-002-931" summary="count the number of adults living in the household" label="count the number of adults living in the household" type="non-group">COUNT_MEMBERS(FS000-001-423)</formula>
|
||||
<formula id="FM000-005-481" replicated_from="FM000-002-932" summary="count the number of children living in the household" label="count the number of children living in the household" type="non-group">COUNT_MEMBERS(FS000-001-424)</formula>
|
||||
<formula id="FM000-005-511" replicated_from="FM000-003-019" type="non-group" summary="Concatenates both lines of living street address" label="Concatenates both lines of living street address" description="">'FM000-001-034'.'FM000-001-035'</formula>
|
||||
<formula id="FM000-005-515" replicated_from="FM000-003-025" summary="print work phone number for this user" label="print work phone number for this user" type="user">CD000-007-315 ? 'GQ000-000-061:MQ000-000-115' : ' '</formula>
|
||||
<formula id="FM000-005-512" replicated_from="FM000-003-022" summary="print other phone number for this user" label="print other phone number for this user" type="user">CD000-007-316 ? 'GQ000-000-061:MQ000-000-116' : ' '</formula>
|
||||
<formula id="FM000-005-527" replicated_from="FM000-003-071" summary="home_address_numberandstreet" label="home_address_numberandstreet" type="user">LOOKUP_ID_USER(FM000-005-511, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-528" replicated_from="FM000-003-072" summary="home_address_apt#" label="home_address_apt#" type="user">LOOKUP_ID_USER(FM000-005-472, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-529" replicated_from="FM000-003-073" summary="home_address_city" label="home_address_city" type="user">LOOKUP_ID_USER(FM000-005-707, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-532" replicated_from="FM000-003-076" summary="home_address_county" label="home_address_county" type="user">LOOKUP_ID_USER(FM000-003-472, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-534" replicated_from="FM000-003-078" summary="mail_address_apt#" label="mail_address_apt#" type="user">LOOKUP_ID_USER(FM000-002-955, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-753" replicated_from="FM000-003-458" summary="mail_address_apt#" label="mail_address_apt#" type="user">LOOKUP_ID_USER(GQ000-000-014:MQ000-000-017, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-535" replicated_from="FM000-003-079" summary="mail_address_city" label="mail_address_city" type="user">LOOKUP_ID_USER(FM000-003-383, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-536" replicated_from="FM000-003-080" summary="mail_address_state" label="mail_address_state" type="user">LOOKUP_ID_USER(FM000-003-384, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-530" replicated_from="FM000-003-074" summary="home_address_state" label="home_address_state" type="user">LOOKUP_ID_USER(FM000-005-708, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-537" replicated_from="FM000-003-081" summary="mail_address_zip" label="mail_address_zip" type="user">LOOKUP_ID_USER(GQ000-000-014:MQ000-000-020, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-531" replicated_from="FM000-003-075" summary="home_address_zip" label="home_address_zip" type="user">LOOKUP_ID_USER(GQ000-000-012:MQ000-000-020, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-538" replicated_from="FM000-003-082" summary="mail_address_county" label="mail_address_county" type="user">LOOKUP_ID_USER(FM000-003-472, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-539" replicated_from="FM000-003-083" summary="home Phone Number" label="home Phone Number" type="user">LOOKUP_ID_USER(GQ000-000-061:MQ000-000-054, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-540" replicated_from="FM000-003-084" summary="Num Adults" label="Num Adults" type="user">LOOKUP_ID_USER(FM000-005-480, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-541" replicated_from="FM000-003-085" summary="Num Children" label="Num Children" type="user">LOOKUP_ID_USER(FM000-005-481, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-546" replicated_from="FM000-003-090" summary="mailing address" label="mailing address" type="user">LOOKUP_ID_USER(GQ000-000-061:MQ000-000-116, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-635" replicated_from="FM000-003-247" summary="count the number of people living in household except context user" label="count the number of people living in household except context user" type="non-group">COUNT_MEMBERS(FS000-001-605)</formula>
|
||||
<formula id="FM000-005-647" replicated_from="FM000-003-261" summary="concetanate DOB" label="concetanate DOB" type="user">'GQ000-000-003:MQ000-000-107'.'/'.'GQ000-000-003:MQ000-000-006'.'/'.'GQ000-000-003:MQ000-000-108'</formula>
|
||||
<formula id="FM000-005-707" replicated_from="FM000-003-381" summary="return the upper case for city name" label="return the upper case for city name" type="non-group">UCASE(GQ000-000-012:MQ000-000-018)</formula>
|
||||
<formula id="FM000-005-751" replicated_from="FM000-003-453" summary="return the name of the person whose care is being paid for" label="return the name of the person whose care is being paid for" type="instance">LOOKUP_INSTANCE(FM000-004-937, FM000-003-464)</formula>
|
||||
<formula id="FM000-005-752" replicated_from="FM000-003-454" summary="return the name of person who received the child support" label="return the name of person who received the child support" type="instance">LOOKUP_INSTANCE(FM000-004-937, FM000-003-464)</formula>
|
||||
<formula id="FM000-005-826" replicated_from="FM000-003-661" type="user" summary="last name, first name, middle inital, suffix" label="full name">GQ000-000-001:MQ000-000-003 . ', ' . FM000-000-403 . ' ' . FM000-006-016</formula>
|
||||
<formula id="FM000-005-839" replicated_from="FM000-003-684" type="user" summary="prints 1 for US Citizen, 2 for Permanent Alien, 3 for Temporary Alien, 4 for Refugee, 5 for Other" label="prints number for PA LIHEAP application, citizen status">(CD000-006-268) ? 1 : ((CD000-007-565) ? 2 : ((CD000-007-566) ? 3 : ((CD000-007-567) ? 4 : 5)))</formula>
|
||||
<formula id="FM000-005-878" replicated_from="FM000-003-802" summary="return today's date, just the number" label="return today's date, just the number" type="user">LOOKUP_ID_USER(FM000-003-823, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-879" replicated_from="FM000-003-803" summary="return today's date, just month and year" label="return today's date, just month and year" type="user">LOOKUP_ID_USER(FM000-003-824, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-880" replicated_from="FM000-003-804" type="non-group" summary="concatenates street line 1, street line2, apartment number, mailing or living" label="concatenates street line 1, street line2, apartment number, mailing or living">FM000-001-034 . ' ' . FM000-001-035 . ' ' . FM000-005-899</formula>
|
||||
<formula id="FM000-005-882" replicated_from="FM000-003-806" type="user" summary="looks up and concatenates street line 1, street line2, apartment number, mailing or living" label="concatenates street line 1, street line2, apartment number, maililng or living">LOOKUP_ID_USER(FM000-003-804, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-005-900" replicated_from="FM000-003-848" type="user" summary="SSN? print number (with hyphens inserted properly), else applied for one? print 'applied for SSN' else print ' '" label="printing SSN">(CD000-006-003) ? SUB_STRING('GQ000-000-009:MQ000-000-012', 0, 3).'-'.SUB_STRING('GQ000-000-009:MQ000-000-012', 3, 2).'-'.SUB_STRING('GQ000-000-009:MQ000-000-012', 5, 4) : ((CD000-004-348) ? 'applied for SSN' : ' ')</formula>
|
||||
<formula id="FM000-005-897" replicated_from="FM000-003-844" type="non-group" summary="Concatenates both lines of living street address with a space in between" label="Concatenates both lines of living street address with a space in between" description="">'FM000-001-034'.' '.'FM000-001-035'</formula>
|
||||
<formula id="FM000-005-899" replicated_from="FM000-003-846" type="non-group" summary="address apt no. with apartment text included">(CD000-000-046) ? ((CD000-004-344)? 'Apt. '.'GQ000-000-014:MQ000-000-017' : ' ') : ((CD000-007-283) ? ' Apt. '.'GQ000-000-012:MQ000-000-017' : ' ')</formula>
|
||||
<formula id="FM000-005-983" replicated_from="FM000-003-990" type="user" summary="joins with a space the first name, middle initial, last name, and suffix">JOIN(' ', GQ000-000-001:MQ000-000-001, FM000-000-402, GQ000-000-001:MQ000-000-003, FM000-006-016)</formula>
|
||||
<formula id="FM000-006-016" replicated_from="FM000-004-086" type="user" summary="returns suffix appropriately capitalized">TABLE_VALUE(TA000-000-095, GQ000-000-001:MQ000-000-004, 'a')</formula>
|
||||
<!--Fed2005rep: CCP Form Formulae-->
|
||||
<formula id="FM000-005-690" replicated_from="FM000-003-347" summary="'checks married if self's marital status is married" label="'checks married if self's marital status is married" type="user">(CD000-007-490) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-691" replicated_from="FM000-003-348" summary="'checks married if self's marital status is single" label="'checks married if self's marital status is single" type="user">(CD000-007-491) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-692" replicated_from="FM000-003-349" summary="'checks married if self's marital status is divorced" label="'checks married if self's marital status is divorced" type="user">(CD000-007-492) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-693" replicated_from="FM000-003-350" summary="'checks married if self's marital status is separated" label="'checks married if self's marital status is separated" type="user">(CD000-007-493) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-694" replicated_from="FM000-003-351" summary="'checks married if self's marital status is widowed" label="'checks married if self's marital status is widowed" type="user">(CD000-007-494) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-717" replicated_from="FM000-003-404" summary="checks the box if have instances of child support payments" label="checks the box if have instances of child support payments" type="non-group">(CD000-007-667) ? 'x' : ''</formula>
|
||||
<formula id="FM000-005-842" replicated_from="FM000-003-698" summary="concatenates first middle name" label="concatenates first middle name" type="user">'GQ000-000-001:MQ000-000-001'.' '. 'GQ000-000-001:MQ000-000-002'</formula>
|
||||
<formula id="FM000-005-374" replicated_from="FM000-002-728" summary="concatenates month/day/year of birth" type="user">GQ000-000-003:MQ000-000-107 . '/' . GQ000-000-003:MQ000-000-006 . '/' . GQ000-000-003:MQ000-000-108</formula>
|
||||
<formula id="FM000-005-563" replicated_from="FM000-003-121" summary="concatenate abs_relative address minus zip code" type="user">GQ000-000-012:MQ000-000-015 . FM000-005-471 . FM000-005-947 . '; ' . GQ000-000-012:MQ000-000-018 . ', ' . UCASE(GQ000-000-012:MQ000-000-019)</formula>
|
||||
<formula id="FM000-005-903" replicated_from="FM000-003-864" summary="if apt numb exists, print with concatenation punctuation" label="apt number for concatenation" type="non-group">CD000-007-283 ? ', '.GQ000-000-012:MQ000-000-017 : ''</formula>
|
||||
<formula id="FM000-005-904" replicated_from="FM000-003-865" summary="print 2nd line street information w/ concatenation punctuation if has" label="2nd line street information for concatenation" type="non-group">CD000-007-282 ? ', '.GQ000-000-012:MQ000-000-016 : ''</formula>
|
||||
<!--Fed2005rep: begin PACA statement record FMs -->
|
||||
<formula id="FM000-005-912" replicated_from="FM000-003-880" label="number of non-self users" type="non-group">COUNT_MEMBERS(FS000-001-418)</formula>
|
||||
<formula id="FM000-005-971" replicated_from="FM000-003-965" summary="return the name of all household members" label="return the name of all the household members" type="non-group">OPERATION(JOIN_W_COMMA, FS000-001-217, FM000-004-937)</formula>
|
||||
<!--Fed2005rep: fix 8880-->
|
||||
<formula id="FM000-005-910" replicated_from="FM000-003-877" summary="return the date of birth of a user" label="DOB" type="user">"DATE(GQ000-000-003:MQ000-000-108, GQ000-000-003:MQ000-000-107, GQ000-000-003:MQ000-000-006)"</formula>
|
||||
<formula id="FM000-010-462" type="user" summary="return the relationship of the user and the self" label="OH county welfare office address">GQ000-000-002:MQ000-000-005</formula>
|
||||
<formula id="FM000-007-771" summary="IRA deduction for self" label="IRA deduction for self" type="non-group">ROUND(self:FM000-000-203)</formula>
|
||||
<formula id="FM000-008-910" type="non-group" summary="concatenates city, state of living address" label="concatenates city, state of living address"> 'GQ000-000-012:MQ000-000-018'.' '.'GQ000-000-012:MQ000-000-019' </formula>
|
||||
<formula id="FM000-009-439" type="non-group" summary="Concatenates both lines of living street address" label="Concatenates both lines of living street address" description="">'FM000-001-034'.' '.'FM000-001-035'</formula>
|
||||
<formula id="FM000-007-806" type="user" summary="HF and HS, if hh member is under 2 return 200, else returns 175" label="HF and HS, if hh member is under 2 return 200, else returns 175">CD000-001-307 ? 200 : 175</formula>
|
||||
<formula id="FM000-007-822" type="user" summary="HF and HS, maximum care expense per hh member" label="HF and HS, hh members between 2 and 18, or disabled">OPERATION(SUM, FS000-000-147, FM000-007-806)</formula>
|
||||
<formula id="FM000-008-669" summary="home phone number" label="home phone number" type="user">LOOKUP_ID_USER(GQ000-000-061:MQ000-000-054, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-008-640" summary="return names of people who do not meet PACE 90 day residency criterion" type="user">OPERATION(JOIN_W_COMMA,FS000-002-060,FM000-001-219)</formula>
|
||||
<formula id="FM000-008-125" replicated_from="FM000-001-189" type="non-group" summary="Concatenates both lines of mailing street address and APT number" label="" description="">'GQ000-000-014:MQ000-000-015' . ' ' . 'GQ000-000-014:MQ000-000-016'</formula>
|
||||
<formula id="FM000-003-853" summary="name line 1" label="name line 1" type="non-group">self:GQ000-000-001:MQ000-000-003 . FM000-004-086</formula>
|
||||
<formula id="FM000-009-770" type="user" summary="test, puts user name in table cell" label="">FM000-001-219</formula>
|
||||
<formula id="FM000-009-913" summary=" returns last four digits of social security number, category 2, " label="" type="user">CD000-000-007 ? SUB_STRING(GQ000-000-009:MQ000-000-012, 5, 4) : ''</formula>
|
||||
<formula id="FM000-009-910" summary="non group version, returns state value" label="" type="user">LOOKUP_ID_USER('GQ000-000-012:MQ000-000-019', GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-010-387" type="instance" summary="relationship of instance owner" label="relationship of instance owner">LOOKUP_INSTANCE(GQ000-000-002:MQ000-000-005, FM000-003-464)</formula>
|
||||
<formula id="FM000-010-085" type="non-group" summary="mailing address: concatenates street line 1, street line2, apartment number" label="mailing address: concatenates street line 1, street line2, apartment number">JOIN('CN000-000-233', FM000-001-034, FM000-001-035, FM000-003-846)</formula>
|
||||
<formula id="FM000-010-398" summary="if home apt. numb exists, print with 'Apt.'" label="apt number for concatenation" type="non-group">(CD000-004-312) ? 'Apt. '.GQ000-000-012:MQ000-000-017 : ''</formula>
|
||||
<formula id="FM000-009-901" summary="if us citizen return Y else N" label="if us citizen return Y else N" type="user">CD000-000-122 ? 'Y' : 'N'</formula>
|
||||
<formula id="FM000-010-100" summary="Returns best time to call" label="Returns best time to call" type="user">self:GQ000-000-061:MQ000-000-117</formula>
|
||||
<formula id="FM000-010-269" type="non-group" summary="Concatenates both lines of mailing street address (no apt number)">'GQ000-000-014:MQ000-000-015'.' '.'GQ000-000-014:MQ000-000-016'</formula>
|
||||
<formula id="FM000-011-075" type="non-group" bmod_id="BM000-000-001" summary="Home phone number plus extension">JOIN(' x', GQ000-000-061:MQ000-000-054, GQ000-000-061:MQ000-004-739)</formula>
|
||||
<formula id="FM000-011-001" summary="return name of instance owner" type="instance">LOOKUP_INSTANCE(FM000-001-219, FM000-003-464)</formula>
|
||||
<!--start of AX SFU-->
|
||||
<formula id="FM000-010-869" bmod_id="BM000-000-001" summary="Age of context user" type="user">LOOKUP_ID_USER(FM000-000-060, CONTEXT_USER())</formula>
|
||||
<!--Carl MEAP stuff-->
|
||||
<formula id="FM000-011-279" summary="pick out the maximum age for the household excluding elderly disabled members" type="user">OPERATION(MAX, FS000-002-934, FM000-000-060)</formula>
|
||||
<formula id="FM000-003-021" summary="Concatenates mailing address" label="Concatenates both lines of mailing address" type="user">'GQ000-000-014:MQ000-000-015'.'FM000-002-954'.'FM000-002-955'.' '.'GQ000-000-014:MQ000-000-018'.' '.'FM000-003-384'.' '.'GQ000-000-014:MQ000-000-020'</formula>
|
||||
<formula id="FM000-001-142" type="instance" summary="Column for Pay Frequency Time Period Table (Always A)" label="" description="">'a'</formula>
|
||||
<formula id="FM000-000-724" type="non-group" summary="column specification for school district name" label="" description="">'a'</formula>
|
||||
<formula id="FM000-000-719" type="non-group" summary="column specification for school code" label="" description="">'b'</formula>
|
||||
<formula id="FM000-011-451" type="invariant" summary="street address for HH summary (BN6087): joins all street address elements w/ break" label="street address for HH summary BN6087">JOIN('<br/>', GQ000-000-012:MQ000-000-015, GQ000-000-012:MQ000-000-016, FM000-010-398, FM000-001-019)</formula>
|
||||
<formula id="FM000-010-363" type="invariant" summary="Apt number of mailing address, if any, with Apt. concatenated on">CD000-004-344 ? 'Apt. ' . GQ000-000-014:MQ000-000-017 : ''</formula>
|
||||
<formula id="FM000-019-490" type="invariant" summary="City, State Zip for mailing address">GQ000-000-014:MQ000-000-018 . ' ' . FM000-003-384 . ' ' . GQ000-000-014:MQ000-000-020</formula>
|
||||
<formula id="FM000-017-006" type="invariant" summary="mailing address for HH summary: joins all mailing address elements w/ break">JOIN('<br/>', GQ000-000-014:MQ000-000-015, GQ000-000-014:MQ000-000-016, FM000-010-363, FM000-019-490)</formula>
|
||||
<formula id="FM000-012-421" type="user" summary="prints N for disability if gateway no, else details">IS_NULL(GQ000-000-427:MQ000-000-596) ? 'n' : GQ000-000-427:MQ000-000-596</formula>
|
||||
<formula id="FM000-012-423" type="user" summary="prints N for blind if details null, else details">IS_NULL(GQ000-004-110:MQ000-006-881) ? 'n' : GQ000-004-110:MQ000-006-881</formula>
|
||||
<formula id="FM000-012-482" type="user" summary="look up gender based on title" label="defaultvalue gender FM for GQ7">TABLE_VALUE(TA000-000-205, GQ000-000-001:MQ000-000-060, 'a')</formula>
|
||||
<formula id="FM000-005-034" replicated_from="FM000-001-455" type="non-group" summary="number of HH members" label="(only use in FL FS)" description="">COUNT_MEMBERS(FS000-001-217)</formula>
|
||||
|
||||
<!--Formula for 'you and/or your spouse' macro-->
|
||||
<formula id="FM000-010-117" type="invariant" summary="2nd person address depending on whether the client has a spouse or not" label="you and/or your spouse macro for benefits">CD000-000-286 ? TRANSLATE('you and/or your spouse') : TRANSLATE('you')</formula>
|
||||
|
||||
|
||||
|
||||
<!-- Begin stuff that's in BM1 and not BM129, but should be in both -->
|
||||
<formula id="FM000-003-661" type="user" summary="last name, first name, middle inital, suffix" label="full name">GQ000-000-001:MQ000-000-003 . ', ' . FM000-000-403 . ' ' . FM000-004-086</formula>
|
||||
<!-- End stuff that's in BM1 and not BM129, but should be in both -->
|
||||
|
||||
|
||||
<!-- Formulas copied from BM1 on 1/16/07 by MPoling -->
|
||||
<formula id="FM000-003-077" summary="mail_address_numberandstreet" label="mail_address_numberandstreet" type="user">LOOKUP_ID_USER(FM000-001-189, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-089" summary="mailing address" label="mailing address" type="user">LOOKUP_ID_USER(FM000-003-021, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-012-462" type="non-group" summary="if mailing apt exists, print with abbreviation and punctuation" label="mailing apartment w abbrev and punc. for concatenation with city state zip">CD000-004-344 ? 'Apt. ' . GQ000-000-014:MQ000-000-017 . '; ' : ''</formula>
|
||||
<formula id="FM000-002-283" replicated_from="FM000-001-281" type="user" summary="yes to US citizen" label="applying giving citizen information" description="">(CD000-000-122) ? 'x' : '' </formula>
|
||||
<formula id="FM000-003-086" summary="Total Num. HH" label="Total Num. HH" type="user">LOOKUP_ID_USER(FM000-001-455, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-082" summary="mail_address_county" label="mail_address_county" type="user">LOOKUP_ID_USER(FM000-003-472, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-802" summary="return today's date, just the number" label="return today's date, just the number" type="user">LOOKUP_ID_USER(FM000-003-823, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-803" summary="return today's date, just month and year" label="return today's date, just month and year" type="user">LOOKUP_ID_USER(FM000-003-824, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-807" type="user" summary="looks up and concatenates city, state, zip, mailing or living" label="concatenates city, state, zip, maililng or living">LOOKUP_ID_USER(FM000-003-805, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-805" type="non-group" summary="concatenates city, state, zip, mailing or living" label="concatenates city, state, zip, living or mailing">FM000-000-435 . ', ' . UCASE(FM000-000-436) . ' ' . FM000-000-437</formula>
|
||||
<formula id="FM000-003-844" type="non-group" summary="Concatenates both lines of living street address with a space in between" label="Concatenates both lines of living street address with a space in between" description="">'FM000-001-034'.' '.'FM000-001-035'</formula>
|
||||
<formula id="FM000-003-806" type="user" summary="looks up and concatenates street line 1, street line2, apartment number, mailing or living" label="concatenates street line 1, street line2, apartment number, maililng or living">LOOKUP_ID_USER(FM000-003-804, GET_ID_USER(self))</formula>
|
||||
<formula id="FM000-003-848" type="user" summary="SSN? print number (with hyphens inserted properly), else applied for one? print 'applied for SSN' else print ' '" label="printing SSN">(CD000-000-007) ? SUB_STRING('GQ000-000-009:MQ000-000-012', 0, 3).'-'.SUB_STRING('GQ000-000-009:MQ000-000-012', 3,2).'-'.SUB_STRING('GQ000-000-009:MQ000-000-012', 5, 4) : ((CD000-004-348) ? 'applied for SSN' : ' ')</formula>
|
||||
<formula id="FM000-004-805" replicated_from="FM000-001-020" type="non-group" summary="address apt no." bmod_id="BM000-000-075">(CD000-000-046) ? 'GQ000-000-014:MQ000-000-017' : 'GQ000-000-012:MQ000-000-017'</formula>
|
||||
<formula id="FM000-007-590" summary="(separate mailing add) ? Mailing state : blank" label="mailing_state" type="non-group">CD000-000-046 ? UCASE(GQ000-000-014:MQ000-000-019) : ''</formula>
|
||||
<formula id="FM000-018-949" summary="(separate mailing add) ? home state : blank" label="home_state" type="non-group">CD000-000-046 ? UCASE(GQ000-000-012:MQ000-000-019) : ''</formula>
|
||||
<formula id="FM000-007-588" summary="(separate mailing add) ? Mailing city : blank" label="mailing_city" type="non-group">CD000-000-046 ? GQ000-000-014:MQ000-000-018 : ''</formula>
|
||||
<formula id="FM000-018-950" summary="(separate mailing add) ? home city : blank" label="home_city" type="non-group">CD000-000-046 ? GQ000-000-012:MQ000-000-018 : ''</formula>
|
||||
<formula id="FM000-007-589" summary="(separate mailing add) ? Mailing county : blank" label="mailing_county" type="non-group">CD000-000-046 ? GQ000-000-014:MQ000-000-120 : ''</formula>
|
||||
<formula id="FM000-018-951" summary="(separate mailing add) ? home county : blank" label="home_county" type="non-group">CD000-000-046 ? GQ000-000-184:MQ000-000-120 : ''</formula>
|
||||
<formula id="FM000-007-593" summary="(separate mailing add) ? Mailing street : blank" label="mailing street address" type="non-group">CD000-000-046 ? FM000-007-594 : ''</formula>
|
||||
<formula id="FM000-018-948" summary="(separate mailing add) ? home street (line 1, line 2, apt. number) : blank" label="home street address" type="non-group">CD000-000-046 ? JOIN(CN000-000-233, GQ000-000-012:MQ000-000-015, GQ000-000-012:MQ000-000-016, (CD000-004-312 ? ' Apt. '.GQ000-000-012:MQ000-000-017 : '')) : ''</formula>
|
||||
|
||||
|
||||
<formula id="FM000-007-594" summary="concatenates mailing street line1, line 2 and apt" label="concatenates mailing street line1, line2 and apt" type="non-group">GQ000-000-014:MQ000-000-015 . FM000-002-954 . FM000-002-955</formula>
|
||||
<formula id="FM000-007-591" summary="(separate mailing add) ? Mailing zip : blank" label="mailing_zip" type="non-group">CD000-000-046 ? GQ000-000-014:MQ000-000-020 : ''</formula>
|
||||
<formula id="FM000-018-947" summary="(separate mailing add) ? home zip : blank" label="home_zip" type="non-group">CD000-000-046 ? GQ000-000-012:MQ000-000-020 : ''</formula>
|
||||
|
||||
|
||||
<formula id="FM000-008-844" summary="has mailing address apt, print GQMQ" label="has mailing address apt, print GQMQ" type="non-group">CD000-004-344 ? GQ000-000-014:MQ000-000-017 : ''</formula>
|
||||
<formula id="FM000-009-519" summary="concatenate the street and apt # of the user" label="concatenate the street and apt # of the user" type="user">(CD000-011-319) ? 'FM000-003-071' : 'FM000-009-521'</formula>
|
||||
<formula id="FM000-009-521" summary="concatenate the street and apt # of the user" label="concatenate the street and apt # of the user" type="user">'FM000-003-071'.', APT# '.'FM000-003-072'</formula>
|
||||
<formula id="FM000-009-889" summary="suffix on nvra, prints a circle over jr" label="" type="user">GQ000-000-001:MQ000-000-004 eq 'jr' ? 'O' : ''</formula>
|
||||
<formula id="FM000-010-285" summary="Relationship to self if not self" type="user">(GQ000-000-002:MQ000-000-005 eq 'self') ? '' : GQ000-000-002:MQ000-000-005</formula>
|
||||
<formula id="FM000-010-907" type="user" summary="DOB with last 2 numbers of year" label="DOB with last 2 numbers of year" description="Formatted DOB with last 2 numbers of year">'GQ000-000-003:MQ000-000-107' . '/' . 'GQ000-000-003:MQ000-000-006' . '/' . 'SUB_STRING(GQ000-000-003:MQ000-000-108, 2, 2)'</formula>
|
||||
<formula id="FM000-011-047" summary="daytime phone number area code" type="non-group">SUB_STRING(GQ000-002-543:MQ000-003-337, 0, 3)</formula>
|
||||
<formula id="FM000-005-646" replicated_from="FM000-003-258" summary="count number of instance of dat care payments on kidcare form" label="count number of instance of dat care payments on kidcare form" type="non-group">COUNT_MEMBERS(IS000-000-853)</formula>
|
||||
<formula id="FM000-009-820" summary="get value of CD1721 from the context user" label="get value of CD1721 from the context user" type="non-group">LOOKUP_ID_USER(CD000-001-721, CONTEXT_USER())</formula>
|
||||
<!-- End Formulas copied from BM1 on 1/16/07 by MPoling -->
|
||||
|
||||
<!--some address formulas-->
|
||||
<formula id="FM000-009-868" summary="home street address w/out apartment number - does not fill in if mailing does not equal home" label="home street address - does not fill in if mailing does not equal home" type="non-group">(CD000-000-046) ? ('GQ000-000-012:MQ000-000-015' . ' ' . 'GQ000-000-012:MQ000-000-016') : ''</formula>
|
||||
<formula id="FM000-011-427" summary="home street address with apartment number - does not fill in if mailing does not equal home" label="home street address - does not fill in if mailing does not equal home" type="non-group">(CD000-000-046) ? ('GQ000-000-012:MQ000-000-015' . ' ' . 'GQ000-000-012:MQ000-000-016' . (IS_NULL(GQ000-000-012:MQ000-000-017) ? ' ' :(' Apt# ' . 'GQ000-000-012:MQ000-000-017'))) : ''</formula>
|
||||
<formula id="FM000-011-463" summary="prints city, state and zip for home address - does not fill in if mailing does not equal home">(CD000-000-046) ? (GQ000-000-012:MQ000-000-018 . ', ' . UCASE(GQ000-000-012:MQ000-000-019) . ' ' . GQ000-000-012:MQ000-000-020) : ' '</formula>
|
||||
<formula id="FM000-011-190" summary="prints city, state and zip for mailing address or home address - always fills in">FM000-000-435 . ', ' . UCASE(FM000-000-436) . ' ' . FM000-000-437</formula>
|
||||
<formula id="FM000-009-863" summary="present mailing address w/out apartment number - always fills in" label="present mailing address - always fills in" type="non-group">(CD000-000-046) ? ('GQ000-000-014:MQ000-000-015' . ' ' . 'GQ000-000-014:MQ000-000-016') : ('GQ000-000-012:MQ000-000-015' . ' ' . 'GQ000-000-012:MQ000-000-016')</formula>
|
||||
<formula id="FM000-011-428" summary="present mailing address with apartment number - always fills in" label="present mailing address - always fills in" type="non-group">(CD000-000-046) ? ('GQ000-000-014:MQ000-000-015' . ' ' . 'GQ000-000-014:MQ000-000-016' . (IS_NULL(GQ000-000-014:MQ000-000-017) ? ' ' :(' Apt# ' . 'GQ000-000-014:MQ000-000-017'))) : ('GQ000-000-012:MQ000-000-015' . ' ' . 'GQ000-000-012:MQ000-000-016' . (IS_NULL(GQ000-000-012:MQ000-000-017) ? ' ' :(' Apt# ' . 'GQ000-000-012:MQ000-000-017')))</formula>
|
||||
|
||||
</section>
|
||||
<section name="filtersets">
|
||||
<!-- household module -->
|
||||
<!-- rcb brought back from BM1 -->
|
||||
<condition id="CD000-021-221" summary="there are non-citizens in the household" label="" type="invariant">HAS_MEMBERS(FS000-000-765)</condition>
|
||||
|
||||
<filterset id="FS000-000-765" summary="all non-citizens" base_users="CD000-002-557" label="non-citizens" alias="non-citizens">CD000-000-001</filterset>
|
||||
<filterset id="FS000-001-048" summary="every one in household except this user" label="every one in household except this user" alias="everyone_else" base_users="CD000-000-235" bmod_id="BM000-000-026">CD000-004-903</filterset>
|
||||
<filterset id="FS000-001-422" replicated_from="FS000-000-710" base_users="CD000-006-027" summary="US citizens">CD000-000-122</filterset>
|
||||
<filterset id="FS000-001-529" replicated_from="FS000-000-916" summary="everyone in hh older than 18" label="everyone in hh older than 18" base_users="CD000-006-027">CD000-007-098</filterset>
|
||||
<filterset id="FS000-001-970" summary="users for whom we need to collect information about the non-household PACE spouse" base_users="CD000-009-302">CD000-009-106</filterset>
|
||||
<!-- rcb brought back from BM1 -->
|
||||
<filterset id="FS000-000-050" base_users="CD000-000-235" summary="HH members with SSNs">CD000-000-007</filterset>
|
||||
<filterset id="FS000-000-055" base_users="CD000-000-235">(CD000-000-121) && (CD000-000-122)</filterset>
|
||||
<filterset id="FS000-000-060" base_users="CD000-000-235" summary="HH members who are divorced ">CD000-000-130</filterset>
|
||||
<filterset id="FS000-000-140" base_users="CD000-000-235" summary="HH members w/o SSNs">NOT(CD000-000-007)</filterset>
|
||||
<filterset id="FS000-000-141" base_users="CD000-000-235">NOT(CD000-000-122)</filterset>
|
||||
<filterset id="FS000-000-142" base_users="CD000-000-235" summary="HH members who are widowed">CD000-000-135</filterset>
|
||||
<filterset id="FS000-000-143" base_users="CD000-000-235" summary="users who are legally separated or married living separately">(CD000-000-220) || (CD000-000-221)</filterset>
|
||||
<filterset id="FS000-000-144" base_users="CD000-000-235">CD000-000-225</filterset>
|
||||
<filterset id="FS000-000-145" base_users="CD000-000-235">CD000-002-087</filterset>
|
||||
<filterset id="FS000-000-147" base_users="CD000-000-001" summary="all Household users" alias="household_member" bmod_id="BM000-000-001">CD000-000-235</filterset>
|
||||
<filterset id="FS000-000-773" base_users="CD000-000-001" summary="Iterator set for all Household users">CD000-000-235 && GQ000-001-469:MQ000-001-616 != 1</filterset>
|
||||
<filterset id="FS000-000-512" base_users="CD000-000-235" summary="all HH members who have 'child' relationship to self">CD000-013-088</filterset>
|
||||
<filterset id="FS000-000-544" base_users="CD000-000-235">'GQ000-000-002:MQ000-000-005' ne 'self'</filterset>
|
||||
<filterset id="FS000-000-171" base_users="CD000-000-001" summary="the HH spouse, if any" label="HH spouse" bmod_id="BM000-000-001">CD000-000-247</filterset>
|
||||
<!--General purpose-->
|
||||
<filterset id="FS000-000-509" base_users="CD000-000-001" alias="self" summary="self" label="self">CD000-001-721</filterset>
|
||||
<!--End FedTax part V-->
|
||||
<filterset id="FS000-000-356" base_users="CD000-000-001">CD000-001-120</filterset>
|
||||
<filterset id="FS000-000-706" base_users="CD000-000-235" summary="all household members but self" alias="not_self">CD000-002-579</filterset>
|
||||
<filterset id="FS000-000-832" replicated_from="FS000-000-659" base_users="CD000-000-235" summary="official foster child">CD000-003-446</filterset>
|
||||
<filterset id="FS000-000-835" replicated_from="FS000-000-657" base_users="CD000-000-235" summary="users that are disabled">CD000-003-411</filterset>
|
||||
<filterset id="FS000-000-842" base_users="CD000-003-512" summary="all Household users" alias="household_member_bm000_000_029">CD000-000-235</filterset>
|
||||
<filterset id="FS000-000-846" replicated_from="FS000-000-706" base_users="CD000-000-235" summary="all household members but self">CD000-003-554</filterset>
|
||||
<filterset id="FS000-000-877" replicated_from="FS000-000-659" base_users="CD000-000-235" summary="official foster child">CD000-003-712</filterset>
|
||||
<filterset id="FS000-000-880" replicated_from="FS000-000-657" base_users="CD000-000-235" summary="users that are disabled">CD000-003-663</filterset>
|
||||
<filterset id="FS000-000-893" replicated_from="FS000-000-706" base_users="CD000-000-235" summary="all household members but self">CD000-002-579</filterset>
|
||||
<filterset id="FS000-000-894" replicated_from="FS000-000-655" base_users="CD000-000-235" summary="user that are not resident of Pennsylvania">NOT(CD000-003-898)</filterset>
|
||||
<filterset id="FS000-000-904" replicated_from="FS000-000-050" base_users="CD000-000-235">CD000-000-007</filterset>
|
||||
<filterset id="FS000-000-937" base_users="CD000-000-235" summary="HH members younger than 18">CD000-000-394</filterset>
|
||||
<filterset id="FS000-000-938" base_users="CD000-000-235" summary="HH members 18 years old and older">CD000-004-990</filterset>
|
||||
<filterset id="FS000-000-772" summary="all the males living in the household older than 12" label="all the males living in the household older than 12" base_users="CD000-000-235">CD000-002-914</filterset>
|
||||
<filterset id="FS000-000-963" summary="all 18 or yonger children in hh" label="all 18 or yonger children in hh" base_users="CD000-000-235">CD000-002-611</filterset>
|
||||
<filterset id="FS000-000-989" summary="Pregnant household members" label="Pregnant household members" base_users="CD000-002-909">CD000-000-235</filterset>
|
||||
<filterset id="FS000-001-004" base_users="CD000-000-235" summary="female household members">CD000-002-577</filterset>
|
||||
<filterset id="FS000-001-089" summary="SFU for SSI-related Medicaid" label="SFU for SSI-related Medicaid" base_users="CD000-000-235">CD000-005-264</filterset>
|
||||
<filterset id="FS000-002-008" summary="hh members under 2" label="hh members under 2" base_users="CD000-000-235">CD000-001-307</filterset>
|
||||
<!--Fed2005rep: household module -->
|
||||
<filterset id="FS000-001-204" replicated_from="FS000-000-050" base_users="CD000-006-027">CD000-006-003</filterset>
|
||||
<filterset id="FS000-001-211" replicated_from="FS000-000-140" base_users="CD000-006-027">NOT(CD000-006-003)</filterset>
|
||||
<filterset id="FS000-001-212" replicated_from="FS000-000-141" base_users="CD000-006-027">NOT(CD000-000-122)</filterset>
|
||||
<filterset id="FS000-001-215" replicated_from="FS000-000-144" base_users="CD000-006-027">CD000-006-017</filterset>
|
||||
<filterset id="FS000-001-217" replicated_from="FS000-000-147" base_users="CD000-000-001" summary="all Household users" alias="household_member_bm63_bm64_bm65_bm66_bm67">CD000-006-027</filterset>
|
||||
<filterset id="FS000-001-447" replicated_from="FS000-000-773" base_users="CD000-000-001" summary="Iterator set for all Household users">CD000-006-027 && GQ000-001-469:MQ000-001-616 != 1</filterset>
|
||||
<filterset id="FS000-001-328" replicated_from="FS000-000-512" base_users="CD000-006-027">CD000-006-548</filterset>
|
||||
<filterset id="FS000-001-332" replicated_from="FS000-000-544" base_users="CD000-006-027">'GQ000-000-002:MQ000-000-005' ne 'self'</filterset>
|
||||
<filterset id="FS000-001-329" replicated_from="FS000-000-515" base_users="CD000-000-001">CD000-007-634</filterset>
|
||||
<!--End FedTax part V-->
|
||||
<filterset id="FS000-001-284" replicated_from="FS000-000-356" base_users="CD000-000-001">CD000-006-295</filterset>
|
||||
<filterset id="FS000-001-423" replicated_from="FS000-000-711" alias="adults_bm63_bm64_bm65_bm66_bm67" base_users="CD000-006-027" summary="above 18">NOT(CD000-006-984)</filterset>
|
||||
<filterset id="FS000-001-424" replicated_from="FS000-000-712" alias="children_bm63_bm64_bm65_bm66_bm67" base_users="CD000-006-027" summary="18 or younger">CD000-006-984</filterset>
|
||||
<filterset id="FS000-001-418" replicated_from="FS000-000-706" base_users="CD000-006-027" summary="all household members but self" alias="not_self_bm63_bm64_bm65_bm66_bm67">CD000-006-972</filterset>
|
||||
<filterset id="FS000-001-402" replicated_from="FS000-000-657" base_users="CD000-006-027" summary="users that are disabled">CD000-002-493</filterset>
|
||||
<filterset id="FS000-001-443" replicated_from="FS000-000-765" summary="all non-citizens" base_users="CD000-006-969" label="non-citizens">CD000-000-001</filterset>
|
||||
<filterset id="FS000-001-454" replicated_from="FS000-000-832" base_users="CD000-006-027" summary="official foster child">CD000-003-446</filterset>
|
||||
<filterset id="FS000-001-457" replicated_from="FS000-000-835" base_users="CD000-006-027" summary="users that are disabled">CD000-003-411</filterset>
|
||||
<filterset id="FS000-001-464" replicated_from="FS000-000-842" base_users="CD000-003-512" summary="all Household users" alias="household_member_bm000_000_029_bm63_bm64_bm65_bm66_bm67">CD000-006-027</filterset>
|
||||
<filterset id="FS000-001-467" replicated_from="FS000-000-846" base_users="CD000-006-027" summary="all household members but self">CD000-007-080</filterset>
|
||||
<filterset id="FS000-001-491" replicated_from="FS000-000-872" base_users="CD000-006-027" summary="user that are resident of Pennsylvania">CD000-003-898</filterset>
|
||||
<filterset id="FS000-001-495" replicated_from="FS000-000-877" base_users="CD000-006-027" summary="official foster child">CD000-003-712</filterset>
|
||||
<filterset id="FS000-001-498" replicated_from="FS000-000-880" base_users="CD000-006-027" summary="users that are disabled">CD000-003-663</filterset>
|
||||
<filterset id="FS000-001-508" replicated_from="FS000-000-893" base_users="CD000-006-027" summary="all household members but self">CD000-006-972</filterset>
|
||||
<filterset id="FS000-001-509" replicated_from="FS000-000-894" base_users="CD000-006-027" summary="user that are not resident of Pennsylvania">NOT(CD000-003-898)</filterset>
|
||||
<filterset id="FS000-001-519" replicated_from="FS000-000-904" base_users="CD000-006-027">CD000-006-003</filterset>
|
||||
<filterset id="FS000-001-541" replicated_from="FS000-000-937" base_users="CD000-006-027" summary="HH members younger than 18">CD000-006-161</filterset>
|
||||
<filterset id="FS000-001-542" replicated_from="FS000-000-938" base_users="CD000-006-027" summary="HH members 18 years old and older">CD000-007-480</filterset>
|
||||
<filterset id="FS000-001-446" replicated_from="FS000-000-772" summary="all the males living in the household older than 12" label="all the males living in the household older than 12" base_users="CD000-006-027">CD000-007-018</filterset>
|
||||
<filterset id="FS000-001-525" replicated_from="FS000-000-912" summary="nobody" label="nobody" base_users="CD000-006-027">CD000-000-000</filterset>
|
||||
<filterset id="FS000-001-557" replicated_from="FS000-000-962" summary="younger than 18" label="younger than 18" base_users="CD000-006-027">NOT(CD000-006-161)</filterset>
|
||||
<filterset id="FS000-001-558" replicated_from="FS000-000-963" summary="all 18 or yonger children in hh" label="all 18 or yonger children in hh" base_users="CD000-006-027">CD000-006-984</filterset>
|
||||
<filterset id="FS000-001-574" replicated_from="FS000-000-988" summary="'children (under 19) don't have SSN" label="'children (under 19) don't have SSN" base_users="CD000-007-091">CD000-004-348</filterset>
|
||||
<filterset id="FS000-001-579" replicated_from="FS000-001-004" base_users="CD000-006-027" summary="female household members">CD000-002-577</filterset>
|
||||
<filterset id="FS000-001-626" replicated_from="FS000-001-077" summary="hh members who do not have younger relations in the hh" label="no dependents" base_users="CD000-006-027">CD000-007-523</filterset>
|
||||
<filterset id="FS000-001-625" replicated_from="FS000-001-075" summary="unrelated users" label="unrelated users" base_users="CD000-006-027">CD000-007-518</filterset>
|
||||
<filterset id="FS000-001-967" summary="HH members who are in a common law marriage" base_users="CD000-000-235">CD000-009-135</filterset>
|
||||
<filterset id="FS000-001-968" summary="HH members who are married or married by common law before sept 2003" base_users="CD000-009-302">CD000-009-071</filterset>
|
||||
<filterset id="FS000-001-975" summary="null filterset for PACE SFU" base_users="CD000-000-235">CD000-000-000</filterset>
|
||||
<filterset id="FS000-001-979" summary="people who can be PACE representative users" base_users="CD000-000-235">CD000-009-223</filterset>
|
||||
<filterset id="FS000-002-001" summary="over 65 PA resident HH members who are divorced" base_users="CD000-000-235">CD000-009-133</filterset>
|
||||
<filterset id="FS000-002-002" summary="over 65 PA resident HH members who are married living separately" base_users="CD000-000-235">CD000-009-134</filterset>
|
||||
<filterset id="FS000-002-060" summary="almost eligible based on age or residency (have not lived in state for 90 days)" base_users="CD000-000-235">CD000-003-898 && CD000-009-091 && NOT(CD000-009-085)</filterset>
|
||||
<filterset id="FS000-002-157" summary="Community Choice optional members filterset" base_users="CD000-000-235">CD000-000-001</filterset>
|
||||
<filterset id="FS000-002-033" replicated_from="FS000-001-942" summary="females over seven and under 65" label="females over seven and under 65" base_users="CD000-000-235">CD000-009-915</filterset>
|
||||
<filterset id="FS000-002-412" summary="users for whom the client can complete an applicaiton, true for US citizens and people who are over 16" base_users="CD000-000-235">CD000-000-122 && CD000-000-121</filterset>
|
||||
<filterset id="FS000-002-847" bmod_id="BM000-000-001" summary="all HH members under 19" base_users="CD000-000-235">CD000-003-599</filterset>
|
||||
<filterset id="FS000-003-007" bmod_id="BM000-000-001" summary="all HH members under 21" base_users="CD000-000-235">CD000-002-903</filterset>
|
||||
<filterset id="FS000-002-851" bmod_id="BM000-000-001" summary="all children of self" base_users="CD000-000-235">CD000-013-088</filterset>
|
||||
<filterset id="FS000-002-852" bmod_id="BM000-000-001" summary="all spouses of self" base_users="CD000-000-235">CD000-013-089</filterset>
|
||||
<filterset id="FS000-002-501" summary="male users in the household" base_users="CD000-000-235">CD000-010-448</filterset>
|
||||
<filterset id="FS000-002-765" summary="All disabled users in HH" base_users="CD000-000-235" bmod_id="BM000-000-001">CD000-000-409</filterset>
|
||||
<!-- long term income module-->
|
||||
<filterset id="FS000-002-836" summary="just this_id_user" base_users="CD000-000-235">CONTEXT_ID_USER() == THIS_ID_USER()</filterset>
|
||||
<!--Carl MEAP stuff-->
|
||||
<filterset id="FS000-002-934" summary="all members of the household who are not disabled and over 60" base_users="CD000-000-235">NOT(CD000-013-445)</filterset>
|
||||
<filterset id="FS000-002-935" summary="contextual MEAP form focus filterset" base_users="CD000-000-235">CD000-013-449</filterset>
|
||||
<filterset id="FS000-003-234" summary="users with invalid age-relationship to self" base_users="CD000-000-235">CD000-015-094</filterset>
|
||||
<filterset id="FS000-000-510" base_users="CD000-000-001" alias="spouse">CD000-001-722</filterset>
|
||||
<filterset id="FS000-002-431" summary="unrelated people who are OH residents and not on another OH HEAP app" label="unrelated people who may end up on OH HEAP app" base_users="CD000-000-235">CD000-011-622</filterset>
|
||||
|
||||
<!-- Filtersets added by MPoling on 2/13/07 -->
|
||||
<filterset id="FS000-003-014" alias="parent" summary="people that are a parent of context user" label="people that are a parent of context user" base_users="CD000-000-235">CD000-013-748</filterset>
|
||||
<filterset id="FS000-003-015" alias="under_22_child" summary="people that are an under 22 child of context user" label="people that are an under 22 child of context user" base_users="CD000-000-235">CD000-013-749</filterset>
|
||||
|
||||
</section>
|
||||
<section name="instancesets">
|
||||
<instanceset id="IS000-000-801" replicated_from="IS000-000-221" base_question_id="GQ000-001-323:MQ000-001-190" base_type="expenses" summary="all hh expenses" users_filter="FS000-001-217">CD000-000-001</instanceset>
|
||||
<instanceset id="IS000-000-853" replicated_from="IS000-000-399" users_filter="FS000-001-217" base_type="childcareexp" summary="all care expenses for children or depenents" base_question_id="GQ000-001-432:MQ000-001-570">CD000-000-001</instanceset>
|
||||
<instanceset id="IS000-000-945" replicated_from="IS000-000-572" users_filter="FS000-001-217" base_type="childsupportexp" summary="all child support instances w userfilter " base_question_id="GQ000-001-432:MQ000-001-570">CD000-000-001</instanceset>
|
||||
|
||||
<!-- this IS actually does belong in BM1, because the sneaky sneaky create-relationship-instances-for-2-person-HHs process is in BM1 and uses this IS -->
|
||||
<instanceset id="IS000-000-462" base_question_id="GQ000-001-590:MQ000-001-590" base_type="relationship" summary="unset relationship instances" bmod_id="BM000-000-001">CD000-004-772</instanceset>
|
||||
</section>
|
||||
</section>
|
||||
</components>
|
|
@ -0,0 +1,71 @@
|
|||
import color, mode2
|
||||
from lex2 import Grammar, PatternRule, RegionRule
|
||||
|
||||
class OpenTagGrammar(Grammar):
|
||||
rules = [
|
||||
RegionRule(name=r'string', start=r'(?P<tag>["\'])', grammar=Grammar(), end=r'%(tag)s'),
|
||||
PatternRule(name=r'namespace', pattern=r'[a-zA-Z_]+:'),
|
||||
PatternRule(name=r'attrname', pattern=r'[^ =>\n]+(?==)'),
|
||||
PatternRule(name=r'name', pattern=r'[^ =>\n]+'),
|
||||
]
|
||||
|
||||
class StringGrammar(Grammar):
|
||||
rules = [
|
||||
PatternRule(name=r'octal', pattern=r'\\[0-7]{3}'),
|
||||
PatternRule(name=r'escaped', pattern=r'\\.'),
|
||||
]
|
||||
|
||||
class BDSGrammar(Grammar):
|
||||
rules = [
|
||||
RegionRule(name=r'comment', start=r'<!--', grammar=Grammar(), end=r'-->'),
|
||||
RegionRule(name=r'opentag', start=r'<', grammar=OpenTagGrammar(), end=r'/?>'),
|
||||
PatternRule(name=r'closetag', pattern=r'< */ *[ =>\n]+ *>'),
|
||||
PatternRule(name=r'delimiter', pattern=r'[\[\]\{\}\(\),\?:]'),
|
||||
PatternRule(name=r'derived', pattern=r'(?:FM|CD|FS|FM|TA)[0-9]{3}-[0-9]{3}-[0-9]{3}'),
|
||||
PatternRule(name=r'question', pattern=r'GQ[0-9]{3}-[0-9]{3}-[0-9]{3}:MQ[0-9]{3}-[0-9]{3}-[0-9]{3}'),
|
||||
PatternRule(name=r'bdsfunc', pattern=r'[A-Z_][A-Z0-9_]+(?= *\()'),
|
||||
PatternRule(name=r'perlfunc', pattern=r'[a-zA-Z_][a-zA-Z0-9_]+(?= *\()'),
|
||||
PatternRule(name=r'misquoted', pattern=r"'[A-Z]{2}[0-9]{3}-[0-9]{3}-[0-9]{3}(?::[A-Z]{2}[0-9]{3}-[0-9]{3}-[0-9]{3})?'"),
|
||||
PatternRule(name=r'misquoted', pattern=r'"[A-Z]{2}[0-9]{3}-[0-9]{3}-[0-9]{3}(?::[A-Z]{2}[0-9]{3}-[0-9]{3}-[0-9]{3})?"'),
|
||||
RegionRule(name=r'string', start='"', grammar=StringGrammar(), end='"'),
|
||||
RegionRule(name=r'string', start="'", grammar=Grammar(), end="'"),
|
||||
PatternRule(name=r'operator', pattern=r'(?:>=|<=|>|<|==|&&|\|\||eq|ne)'),
|
||||
]
|
||||
|
||||
class BDS(mode2.Fundamental):
|
||||
grammar = BDSGrammar
|
||||
opentoken = 'delimiter'
|
||||
opentags = {'(': ')', '[': ']', '{': '}'}
|
||||
closetoken = 'delimiter'
|
||||
closetags = {')': '(', ']': '[', '}': '{'}
|
||||
def __init__(self, w):
|
||||
mode2.Fundamental.__init__(self, w)
|
||||
self.add_bindings('close-paren', (')',))
|
||||
self.add_bindings('close-brace', ('}',))
|
||||
self.add_bindings('close-bracket', (']',))
|
||||
self.colors = {
|
||||
'comment.start': color.build('red', 'default'),
|
||||
'comment.null': color.build('red', 'default'),
|
||||
'comment.end': color.build('red', 'default'),
|
||||
'opentag.start': color.build('default', 'default'),
|
||||
'opentag.namespace': color.build('magenta', 'default'),
|
||||
'opentag.name': color.build('blue', 'default'),
|
||||
'opentag.attrname': color.build('blue', 'default'),
|
||||
'opentag.string.start': color.build('cyan', 'default'),
|
||||
'opentag.string.null': color.build('cyan', 'default'),
|
||||
'opentag.string.end': color.build('cyan', 'default'),
|
||||
'opentag.end': color.build('default', 'default'),
|
||||
'string.start': color.build('green', 'default'),
|
||||
'string.octal': color.build('magenta', 'default'),
|
||||
'string.escaped': color.build('magenta', 'default'),
|
||||
'string.null': color.build('green', 'default'),
|
||||
'string.end': color.build('green', 'default'),
|
||||
'derived': color.build('yellow', 'default'),
|
||||
'question': color.build('yellow', 'default'),
|
||||
'misquoted': color.build('yellow', 'red'),
|
||||
'bdsfunc': color.build('magenta', 'default'),
|
||||
'perlfunc': color.build('magenta', 'default'),
|
||||
'operator': color.build('magenta', 'default'),
|
||||
}
|
||||
def name(self):
|
||||
return "BDS"
|
Loading…
Reference in New Issue