App guide

Lotus Behavioral

How Lotus Behavioral works in TrackVia, in plain language: what each App Script does, every table's fields, and which records each view shows. Read from the app's setup, never its records.

Tables

AgenciesA25 fields · 2 scripts · 6 viewsAudit Settings11 fields · 1 viewsConsent FormsA12 fields · 2 scripts · 8 viewsContactsA15 fields · 2 scripts · 11 viewsEmployeesA10 fields · 2 scripts · 3 viewsIndividualsA74 fields · 3 scripts · 50 viewsIndividuals - Annual AuditsA22 fields · 2 scripts · 11 viewsIndividuals - Behavior Support PlanA10 fields · 2 scripts · 2 viewsIndividuals - DiagnosesA7 fields · 2 scripts · 6 viewsIndividuals - Human Rights CommitteeA26 fields · 3 scripts · 17 viewsIndividuals - Peer Review CommitteeA39 fields · 3 scripts · 29 viewsIndividuals - QuarterliesA55 fields · 2 scripts · 19 viewsIndividuals - Safety & Support MeasuresA29 fields · 2 scripts · 30 viewsJoin - Individuals to Adversives, Restrictives, LoSA4 fields · 2 scripts · 1 viewsJoin - Individuals to DiagnosesA3 fields · 2 scripts · 1 viewsJoin - Individuals to MedicationsA3 fields · 2 scripts · 1 viewsLocationsA17 fields · 2 scripts · 11 viewsNotes & DocsA19 fields · 2 scripts · 15 viewsz - Adversives, Restrictives, LoSA5 fields · 2 scripts · 3 viewsz - Cities2 fields · 2 viewsz - DiagnosesA3 fields · 1 scripts · 3 viewsz - Email Matrix3 fields · 2 viewsz - Levels of SupervisionA5 fields · 2 scripts · 3 viewsz - MedicationsA5 fields · 2 scripts · 3 viewsz - Psych Note CreationA6 fields · 1 scripts · 3 viewsz - Psych Note Creation JoinA3 fields · 1 scripts · 3 viewsz - RegionsA3 fields · 2 scripts · 3 viewsz - RestrictivesA5 fields · 2 scripts · 3 viewsz - StateA6 fields · 2 scripts · 2 viewsz - Zip CodesA5 fields · 2 scripts · 2 viewszMulti - Note TagsA5 fields · 1 scripts · 1 viewszz - Note Auto CounterA3 fields · 2 scripts · 1 viewszz - Note Tags3 fields · 2 viewszz(Dep)Join - Individuals to Levels of SupervisionA3 fields · 1 scripts · 1 viewszz(Dep)Join - Individuals to RestrictivesA3 fields · 1 scripts · 1 viewszz(Dep)Join - Nurses to Locations3 fields · 2 viewszzz - Special PRC Import4 fields · 1 views
Open a table to see its fields, scripts and views on one page, in tabs.
Search on the left for any field, script or value; results show where it appears.
Save a PDF with your browser's Print. Every page is included.

Lotus Behavioral: App Scripts

59 scripts on 31 tables, 59 enabled. Each script's facts are read from its code, not from running it.

TableScriptRunsEnabledLinesWhat it does
AgenciesAfter Insert (16)New record, after saveyes11sets 2 fields
AgenciesBefore Update (17)Edit, before saveyes18sets 1 field
Consent FormsAfter Insert (79)New record, after saveyes26sets 2 fields; loads from Individuals - Human Rights Committee, Individuals - Peer Review Committee
Consent FormsBefore Update (80)Edit, before saveyes32sets 2 fields; loads from Individuals - Human Rights Committee, Individuals - Peer Review Committee
ContactsAfter Insert (26)New record, after saveyes25sets 4 fields
ContactsBefore Update (27)Edit, before saveyes27sets 3 fields
EmployeesAfter Insert (28)New record, after saveyes18sets 4 fields
EmployeesBefore Update (29)Edit, before saveyes20sets 3 fields
IndividualsAfter Insert (14)New record, after saveyes114sets 9 fields
IndividualsBefore Update (15)Edit, before saveyes226sets 11 fields; loads from Individuals - Quarterlies; saves to Individuals - Quarterlies
IndividualsNew Script (46)Edit, after saveyes84sets 1 field; loads from Individuals - Quarterlies, Individuals - Safety & Support Measures
Individuals - Annual AuditsBefore Update (66)Edit, before saveyes125sets 9 fields
Individuals - Annual AuditsNew Script (67)New record, before saveyes11sets 1 field
Individuals - Behavior Support PlanAfter Insert (52)New record, after saveyes14sets 1 field; loads from Employees
Individuals - Behavior Support PlanNew Script (53)Edit, before saveyes14sets 1 field; loads from Employees
Individuals - DiagnosesBefore Insert (72)New record, before saveyes15sets 2 fields
Individuals - DiagnosesBefore Update (73)Edit, before saveyes15sets 2 fields
Individuals - Human Rights CommitteeAfter Update (54)Edit, before saveyes124sets 8 fields; loads from Individuals - Peer Review Committee; saves to Individuals - Human Rights Committee
Individuals - Human Rights CommitteeAfter Update (64)Edit, after saveyes16no record reads or writes found
Individuals - Human Rights CommitteeNew Script (51)New record, after saveyes85sets 7 fields; saves to Individuals - Human Rights Committee
Individuals - Peer Review CommitteeAfter Update (55)Edit, after saveyes15no record reads or writes found
Individuals - Peer Review CommitteeBefore Update (65)Edit, before saveyes225sets 9 fields; loads from Individuals - Human Rights Committee; saves to Individuals - Peer Review Committee
Individuals - Peer Review CommitteeNew Script (50)New record, after saveyes179sets 8 fields; saves to Individuals - Peer Review Committee
Individuals - QuarterliesAfter Insert (48)New record, after saveyes70sets 9 fields
Individuals - QuarterliesBefore Update (49)Edit, before saveyes513sets 17 fields
Individuals - Safety & Support MeasuresAfter Insert (30)New record, after saveyes48sets 5 fields
Individuals - Safety & Support MeasuresNew Script (31)Edit, before saveyes78sets 7 fields
Join - Individuals to Adversives, Restrictives, LoSAfter Insert (38)New record, after saveyes19saves to Individuals - Safety & Support Measures
Join - Individuals to Adversives, Restrictives, LoSBefore Delete (39)Before deleteyes24loads from Individuals - Safety & Support Measures
Join - Individuals to DiagnosesAfter Insert (69)New record, after saveyes14saves to Individuals - Diagnoses
Join - Individuals to DiagnosesNew Script (70)Before deleteyes22loads from Individuals - Diagnoses
Join - Individuals to MedicationsAfter Insert (20)New record, after saveyes20saves to Individuals - Safety & Support Measures
Join - Individuals to MedicationsBefore Delete (25)Before deleteyes25loads from Individuals - Safety & Support Measures
LocationsAfter Insert (18)New record, after saveyes9sets 2 fields
LocationsBefore Update (19)Edit, before saveyes24sets 2 fields
Notes & DocsNew Script (74)New record, after saveyes54sets 3 fields
Notes & DocsNew Script (75)Edit, before saveyes18sets 1 field
z - Adversives, Restrictives, LoSAfter Insert (6)New record, after saveyes10sets 2 fields
z - Adversives, Restrictives, LoSBefore Update (7)Edit, before saveyes8sets 1 field
z - DiagnosesNew Script (68)New record, before saveyes6sets 1 field
z - Levels of SupervisionAfter Insert (12)New record, after saveyes4sets 1 field
z - Levels of SupervisionBefore Update (13)Edit, before saveyes7sets 1 field
z - MedicationsAfter Insert (8)New record, after saveyes10sets 2 fields
z - MedicationsBefore Update (9)Edit, before saveyes7sets 1 field
z - Psych Note CreationAfter Insert (77)New record, after saveyes7no record reads or writes found
z - Psych Note Creation JoinAfter Insert (78)New record, after saveyes38loads from zz - Note Tags; saves to Notes & Docs, zMulti - Note Tags
z - RegionsNew Script (62)New record, before saveyes12no record reads or writes found
z - RegionsNew Script (63)Edit, before saveyes12no record reads or writes found
z - RestrictivesAfter Insert (10)New record, after saveyes4sets 1 field
z - RestrictivesBefore Update (11)Edit, before saveyes7sets 1 field
z - StateAfter Insert (21)New record, after saveyes10sets 2 fields
z - StateBefore Update (22)Edit, before saveyes13sets 2 fields
z - Zip CodesAfter Insert (23)New record, after saveyes15sets 1 field
z - Zip CodesBefore Update (24)Edit, before saveyes20sets 1 field
zMulti - Note TagsAfter Insert (61)New record, after saveyes25no record reads or writes found
zz - Note Auto CounterNew Script (59)New record, before saveyes1no record reads or writes found
zz - Note Auto CounterNew Script (60)Edit, before saveyes11no record reads or writes found
zz(Dep)Join - Individuals to Levels of SupervisionAfter Insert (40)New record, after saveyes1no record reads or writes found
zz(Dep)Join - Individuals to RestrictivesAfter Insert (42)New record, after saveyes1no record reads or writes found

Lotus Behavioral: Field changes

140 fields that an update script checks for a change or reads. Each links to what happens when it changes. Read from the code, not by running it.

FieldTableChecks whether it changedUses its value
Activezz - Note Auto CounterNew Script (60)
Active Flag (do not change)Individuals - QuarterliesBefore Update (49)
Added ByNotes & DocsNew Script (75)
Adversives, Restrictives, LoSIndividuals - Safety & Support MeasuresNew Script (31)
Adversives, Restrictives, LoS Consents RequiredIndividualsNew Script (46)
AgencyContactsBefore Update (27)
AgencyIndividualsNew Script (46)
AgencyIndividuals - QuarterliesBefore Update (49)
AgencyIndividuals - Safety & Support MeasuresNew Script (31)
AgencyNotes & DocsNew Script (75)
Assigned AuditorIndividuals - Annual AuditsBefore Update (66)
Audit CompletedIndividuals - Annual AuditsBefore Update (66)
Audit Completed ByIndividuals - Annual AuditsBefore Update (66)
Audit Correction ApprovedIndividuals - Annual AuditsBefore Update (66)
BSP RequiredIndividualsNew Script (46)
BSP WordIndividualsBefore Update (15)
Check-In Notes Completed for Q1?Individuals - QuarterliesBefore Update (49)
Check-In Notes Completed for Q2?Individuals - QuarterliesBefore Update (49)
Check-In Notes Completed for Q3?Individuals - QuarterliesBefore Update (49)
Check-In Notes Completed for Q4?Individuals - QuarterliesBefore Update (49)
Check-In Notes RequiredIndividualsNew Script (46)
Check-In Notes RequiredIndividuals - QuarterliesBefore Update (49)
CityLocationsBefore Update (19)
Closing from HRCIndividuals - Peer Review CommitteeBefore Update (65)
Closing from PRCIndividuals - Human Rights CommitteeAfter Update (54)
CompleteIndividuals - Annual AuditsBefore Update (66)
Consent Form Signed DateIndividuals - Safety & Support MeasuresNew Script (31)
Contact TypeContactsBefore Update (27)
Date of BSPIndividualsBefore Update (15)
Date of Next MeetingIndividuals - Human Rights CommitteeAfter Update (54)
Date of Next MeetingIndividuals - Peer Review CommitteeBefore Update (65)
Day Program LocationIndividualsNew Script (46)Before Update (15)
Day Program QuarterliesIndividualsNew Script (46)Before Update (15)
Day Program Quarterlies RequiredIndividuals - QuarterliesBefore Update (49)
Deficiencies RemediedIndividuals - Annual AuditsBefore Update (66)
DeficientIndividuals - Annual AuditsBefore Update (66)
DiagnosisIndividuals - DiagnosesBefore Update (73)
First NameContactsBefore Update (27)
First NameEmployeesBefore Update (29)
HRCConsent FormsBefore Update (80)
HRC IDIndividuals - Human Rights CommitteeAfter Update (64)
HRC Packet SubmittedIndividuals - Human Rights CommitteeAfter Update (54)
HRC Recommendation NotesIndividuals - Human Rights CommitteeAfter Update (54)
HRC RecommendationsIndividuals - Human Rights CommitteeAfter Update (54)
HRC RequiredIndividualsNew Script (46)
HRC StatusIndividuals - Peer Review CommitteeBefore Update (65)
IndividualConsent FormsBefore Update (80)
IndividualIndividuals - Annual AuditsBefore Update (66)
IndividualIndividuals - Human Rights CommitteeAfter Update (54), After Update (64)
IndividualIndividuals - Peer Review CommitteeAfter Update (55), Before Update (65)
IndividualIndividuals - QuarterliesBefore Update (49)
IndividualIndividuals - Safety & Support MeasuresNew Script (31)
IndividualNotes & DocsNew Script (75)
Individual IDIndividualsBefore Update (15), New Script (46)
Individual MedicationsIndividuals - QuarterliesBefore Update (49)
Last NameContactsBefore Update (27)
Last NameEmployeesBefore Update (29)
Last, FirstContactsBefore Update (27)
Last, FirstEmployeesBefore Update (29)
LocationIndividuals - Safety & Support MeasuresNew Script (31)
MedicationIndividuals - Safety & Support MeasuresNew Script (31)
Medication Consents RequiredIndividualsNew Script (46)
MedicationsIndividualsNew Script (46)
Meeting DateIndividuals - Human Rights CommitteeAfter Update (54)
Meeting DateIndividuals - Peer Review CommitteeBefore Update (65)
New IP DateIndividuals - QuarterliesBefore Update (49)
New IP Start DateIndividualsBefore Update (15)
Next PRC Packet Due DateIndividuals - Peer Review CommitteeBefore Update (65)
PRCConsent FormsBefore Update (80)
PRC Face SheetIndividuals - Peer Review CommitteeBefore Update (65)
PRC IDIndividuals - Peer Review CommitteeAfter Update (55)
PRC Packet SubmittedIndividuals - Peer Review CommitteeBefore Update (65)
PRC RecommendationsIndividuals - Peer Review CommitteeBefore Update (65)
PRC RequiredIndividualsNew Script (46)
PRC StatusIndividuals - Human Rights CommitteeAfter Update (54)
Q1 DueIndividuals - QuarterliesBefore Update (49)
Q1 PDF - Day ProgIndividuals - QuarterliesBefore Update (49)
Q1 PDF - Res ProgIndividuals - QuarterliesBefore Update (49)
Q1 Report DateIndividuals - QuarterliesBefore Update (49)
Q1 StatusIndividuals - QuarterliesBefore Update (49)
Q1 Word - Day ProgIndividuals - QuarterliesBefore Update (49)
Q1 Word - Res ProgIndividuals - QuarterliesBefore Update (49)
Q2 DueIndividuals - QuarterliesBefore Update (49)
Q2 Med AuditIndividuals - QuarterliesBefore Update (49)
Q2 PDF - Day ProgIndividuals - QuarterliesBefore Update (49)
Q2 PDF - Res ProgIndividuals - QuarterliesBefore Update (49)
Q2 Report DateIndividuals - QuarterliesBefore Update (49)
Q2 StatusIndividuals - QuarterliesBefore Update (49)
Q2 Word - Day ProgIndividuals - QuarterliesBefore Update (49)
Q2 Word - Res ProgIndividuals - QuarterliesBefore Update (49)
Q3 DueIndividuals - QuarterliesBefore Update (49)
Q3 PDF - Day ProgIndividuals - QuarterliesBefore Update (49)
Q3 PDF - Res ProgIndividuals - QuarterliesBefore Update (49)
Q3 Report DateIndividuals - QuarterliesBefore Update (49)
Q3 StatusIndividuals - QuarterliesBefore Update (49)
Q3 Word - Day ProgIndividuals - QuarterliesBefore Update (49)
Q3 Word - Res ProgIndividuals - QuarterliesBefore Update (49)
Q4 DueIndividuals - QuarterliesBefore Update (49)
Q4 Med AuditIndividuals - QuarterliesBefore Update (49)
Q4 PDF - Day ProgIndividuals - QuarterliesBefore Update (49)
Q4 PDF - Res ProgIndividuals - QuarterliesBefore Update (49)
Q4 Report DateIndividuals - QuarterliesBefore Update (49)
Q4 StatusIndividuals - QuarterliesBefore Update (49)
Q4 Word - Day ProgIndividuals - QuarterliesBefore Update (49)
Q4 Word - Res ProgIndividuals - QuarterliesBefore Update (49)
Recommendations NotesIndividuals - Peer Review CommitteeBefore Update (65)
RegionLocationsBefore Update (19)
Regionz - RegionsNew Script (63)
Residential LocationIndividualsNew Script (46)Before Update (15)
Residential LocationIndividuals - QuarterliesBefore Update (49)
Residential QuarterliesIndividualsNew Script (46)Before Update (15)
Residential Quarterlies RequiredIndividuals - QuarterliesBefore Update (49)
Script UpdateEmployeesBefore Update (29)
Script UpdateIndividuals - QuarterliesBefore Update (49)
Script UpdateIndividuals - Safety & Support MeasuresNew Script (31)
Script Updatez - Adversives, Restrictives, LoSBefore Update (7)
Script Updatez - Levels of SupervisionBefore Update (13)
Script Updatez - MedicationsBefore Update (9)
Script Updatez - RestrictivesBefore Update (11)
Script Updatez - StateBefore Update (22)
Scripting UpdateAgenciesBefore Update (17)
Scripting UpdateContactsBefore Update (27)
Scripting UpdateIndividualsBefore Update (15), New Script (46)
Scripting UpdateLocationsBefore Update (19)
Scripting Updatez - Zip CodesBefore Update (24)
ScriptingIDIndividuals - QuarterliesBefore Update (49)
Signed_Consent_PDFIndividuals - Safety & Support MeasuresNew Script (31)
State Namez - StateBefore Update (22)
StatusIndividuals - DiagnosesBefore Update (73)
StatusIndividuals - Human Rights CommitteeAfter Update (54)
StatusIndividuals - Peer Review CommitteeBefore Update (65)
StatusIndividuals - Safety & Support MeasuresNew Script (31)
Statusz - RegionsNew Script (63)
Submitted ByIndividuals - Behavior Support PlanNew Script (53)
Unique CheckIndividuals - Human Rights CommitteeAfter Update (54), After Update (64)
Unique CheckIndividuals - Peer Review CommitteeAfter Update (55), Before Update (65)
Unsigned_Consent_WordIndividuals - Safety & Support MeasuresNew Script (31)
Update HRCIndividuals - Peer Review CommitteeBefore Update (65)
Update PRCIndividuals - Human Rights CommitteeAfter Update (54)
Zip Codez - Zip CodesBefore Update (24)

Lotus Behavioral: Tables

37 tables.

Field changes: every field an update script checks or reads, and what happens when it changes.

Lotus Behavioral: Views

263 views on 37 tables, 199 with a filter. Each view links to the records its filter shows, in words.

TableViewFilter
AgenciesDefault view (view 156)none
AgenciesActive Agencies (view 159)Active Agencies (filter 80)
AgenciesAll Agencies (view 175)none
AgenciesMy Active Agencies - Behaviorist (view 374)My Active Agencies - Behaviorist (filter 224)
AgenciesMy Active Agencies - Director (view 435)My Active Agencies - Director (filter 290)
AgenciesUpdated Agencies (Workato) (view 403)Updated Agencies (Workato) (filter 251)
Audit SettingsDefault view (view 344)none
Consent FormsDefault view (view 189)none
Consent FormsAgency: Consent Forms (view 399)Agency: Consent Forms (filter 245)
Consent FormsAll Adversive/Restrictive Consents (view 434)All Adversive/Restrictive Consents (filter 289)
Consent FormsAll Consent Forms (view 190)none
Consent FormsConsent Forms: ACORD (view 357)Consent Forms: ACORD (filter 209)
Consent FormsConsent Forms: CCAOH (view 327)Consent Forms: CCAOH (filter 185)
Consent FormsConsent Forms: GIL Foundation Incorporated (view 326)Consent Forms: GIL Foundation Incorporated (filter 184)
Consent FormsConsent Forms: IMPACT (view 345)Consent Forms: IMPACT (filter 198)
ContactsDefault view (view 173)none
ContactsActive Agency Contacts (view 185)Active Agency Contacts (filter 90)
ContactsActive Contacts (view 174)Active Staff (filter 84)
ContactsActive Nurses (view 184)Active Nurses (filter 89)
ContactsActive State Contacts (view 183)Active State Contacts (filter 88)
ContactsAll Agency Contacts (view 180)All Agency Contacts (filter 85)
ContactsAll Contacts (view 178)none
ContactsAll Nurses (view 181)All Nurses (filter 86)
ContactsAll State Contacts (view 182)All State Contacts (filter 87)
ContactsMy Active Agency Contacts - Behaviorist (view 376)My Active Agency Contacts - Behaviorist (filter 228)
ContactsMy Active Agency Contacts - Director (view 436)My Active Agency Contacts - Director (filter 292)
EmployeesDefault view (view 186)none
EmployeesActive Employees (view 207)Active Employees (filter 94)
EmployeesEmployees: Agency (view 330)Active Employees (filter 94)
IndividualsDefault view (view 158)none
IndividualsActive Individuals (view 160)Active Individuals (filter 81)
IndividualsAgency Audit Tracking Sheet (view 387)Active Individuals (filter 81)
IndividualsAgency Overview Report (view 391)Agency Overview Report (filter 237)
IndividualsAll ACORD Individuals (view 358)All ACORD Individuals (filter 210)
IndividualsAll CCAOH Individuals (view 306)All CCAOH Individuals (filter 164)
IndividualsAll GIL Foundation Individuals (view 307)All GIL Foundation Individuals (filter 165)
IndividualsAll IMPACT Individuals (view 346)All IMPACT Individuals (filter 199)
IndividualsAll Individuals (view 176)none
IndividualsAudit Tracking Sheet (view 386)Active Individuals (filter 81)
IndividualsAudit Tracking Sheet - BSPs (view 388)Individuals Needing BSP Review (filter 110)
IndividualsAudit Tracking Sheet - Director (view 405)Active Individuals - Director (filter 258)
IndividualsBSP Submission (Workato) (view 240)BSP Submission (Workato) (filter 125)
IndividualsGuideline Individuals (view 447)Guideline Individuals (filter 313)
IndividualsIndividuals Needing BSP Review - Behaviorist (view 233)My Individuals Needing BSP Review - Behaviorist (filter 116)
IndividualsIndividuals Needing BSP Review - Behaviorist - By Agency (view 285)My Individuals Needing BSP Review - Behaviorist (filter 116)
IndividualsIndividuals Needing BSP Review - By Agency (view 230)Individuals Needing BSP Review (filter 110)
IndividualsIndividuals Needing BSP Review - By Agency - Director (view 410)Individuals Needing BSP Review - Director (filter 261)
IndividualsIndividuals Needing BSP Review - By Behaviorist (view 274)Individuals Needing BSP Review (filter 110)
IndividualsIndividuals Needing BSP Review - By Behaviorist - Director (view 411)Individuals Needing BSP Review - Director (filter 261)
IndividualsIndividuals Needing BSP Review - Director (view 437)My Individuals Needing BSP Review - Behaviorist (filter 116)
IndividualsIndividuals Needing HRC Review - Behaviorist (view 235)My Individuals Needing HRC Review - Behaviorist (filter 120)
IndividualsIndividuals Needing HRC Review - Behaviorist - By Agency (view 287)My Individuals Needing HRC Review - Behaviorist (filter 120)
IndividualsIndividuals Needing HRC Review - By Agency (view 232)Individuals Needing HRC Review (filter 114)
IndividualsIndividuals Needing HRC Review - By Agency - Director (view 414)Individuals Needing HRC Review - Director (filter 266)
IndividualsIndividuals Needing HRC Review - By Behaviorist (view 276)Individuals Needing HRC Review (filter 114)
IndividualsIndividuals Needing HRC Review - By Behaviorist - Director (view 415)Individuals Needing HRC Review - Director (filter 266)
IndividualsIndividuals Needing Monthly Check-Ins - Behaviorist (45 Days) (view 216)My Individuals Without Check-Ins for 45 Days - Behaviorist (filter 101)
IndividualsIndividuals Needing Monthly Check-Ins - Behaviorist (45 Days) - By Agency (view 283)My Individuals Without Check-Ins for 45 Days - Behaviorist (filter 101)
IndividualsIndividuals Needing PRC Review - Behaviorist (view 234)My Individuals Needing PRC Review - Behaviorist (filter 118)
IndividualsIndividuals Needing PRC Review - Behaviorist - By Agency (view 289)My Individuals Needing PRC Review - Behaviorist (filter 118)
IndividualsIndividuals Needing PRC Review - By Agency (view 231)Individuals Needing PRC Review (filter 112)
IndividualsIndividuals Needing PRC Review - By Agency - Director (view 418)Individuals Needing PRC Review - Director (filter 272)
IndividualsIndividuals Needing PRC Review - By Behaviorist (view 278)Individuals Needing PRC Review (filter 112)
IndividualsIndividuals Needing PRC Review - By Behaviorist - Director (view 419)Individuals Needing PRC Review - Director (filter 272)
IndividualsIndividuals to Update (Workato) (view 402)Individuals to Update (Workato) (filter 250)
IndividualsIndividuals Without Monthly Check-Ins for 45 Days - By Agency (view 211)Individuals Without Audits for 45 Days (filter 96)
IndividualsIndividuals Without Monthly Check-Ins for 45 Days - By Agency - Director (view 406)Individuals Without Audits for 45 Days - Director (filter 259)
IndividualsIndividuals Without Monthly Check-Ins for 45 Days - By Behaviorist (view 272)Individuals Without Audits for 45 Days (filter 96)
IndividualsIndividuals Without Monthly Check-Ins for 45 Days - By Behaviorist - Director (view 407)Individuals Without Audits for 45 Days - Director (filter 259)
IndividualsMy Audit Tracking Sheet - Behaviorist (view 389)My Audit Tracking Sheet - Behaviorist (filter 131)
IndividualsMy Audit Tracking Sheet - Director (view 440)My Audit Tracking Sheet - Director (filter 301)
IndividualsMy Audit Tracking Sheet - Secondary Behaviorist (view 390)My Audit Tracking Sheet - Secondary Behaviorist (filter 161)
IndividualsMy Individuals - Behaviorist (view 210)My Individuals - Behaviorist (filter 95)
IndividualsMy Individuals - Director (view 441)My Individuals - Director (filter 303)
IndividualsOverview Report: ACORD (view 359)Overview Report: ACORD (filter 211)
IndividualsOverview Report: CCAOH (view 325)Overview Report: CCAOH (filter 183)
IndividualsOverview Report: GIL Foundation Incorporated (view 308)Overview Report: GIL Foundation Incorporated (filter 166)
IndividualsOverview Report: IMPACT (view 347)Overview Report: IMPACT (filter 200)
IndividualsPRC/HRC Submission (Workato) (view 241)PRC/HRC Submission (Workato) (filter 126)
Individuals - Annual AuditsDefault view (view 292)none
Individuals - Annual AuditsAll Completed Audits with Deficiencies (view 335)Completed Audits with Deficiencies (filter 192)
Individuals - Annual AuditsAll Corrected Audits to Approve (view 337)Corrected Audits to Approve - Auditor (filter 194)
Individuals - Annual AuditsAll Individual Audits (view 340)none
Individuals - Annual AuditsAll Open Annual Audits (view 294)none
Individuals - Annual AuditsAll Open Annual Audits - By Agency (view 295)All Open Annual Audits (filter 159)
Individuals - Annual AuditsAll Open Annual Audits - By Auditor (view 296)All Open Annual Audits (filter 159)
Individuals - Annual AuditsCompleted Audits (Workato) (view 343)All Completed Audits (Workato) (filter 197)
Individuals - Annual AuditsCompleted Audits with Deficiencies - Behaviorist (view 338)Completed Audits with Deficiencies - Behaviorist (filter 193)
Individuals - Annual AuditsCorrected Audits to Approve - Auditor (view 339)Corrected Audits to Approve - Auditor (filter 194)
Individuals - Annual AuditsOpen Annual Audits - Auditor (view 297)Open Annual Audits - Auditor (filter 158)
Individuals - Behavior Support PlanDefault view (view 224)none
Individuals - Behavior Support PlanBSP Hisory (view 225)none
Individuals - DiagnosesDefault view (view 302)none
Individuals - DiagnosesIndividual Diagnoses (view 303)none
Individuals - DiagnosesIndividual Diagnoses: ACORD (view 360)Individual Diagnoses: ACORD (filter 212)
Individuals - DiagnosesIndividual Diagnoses: CCAOH (view 324)Individual Diagnoses: CCAOH (filter 182)
Individuals - DiagnosesIndividual Diagnoses: GIL Foundation Incorporated (view 309)Individual Diagnoses: GIL Foundation Incorporated (filter 167)
Individuals - DiagnosesIndividual Diagnoses: IMPACT (view 348)Individual Diagnoses: IMPACT (filter 201)
Individuals - Human Rights CommitteeDefault view (view 228)none
Individuals - Human Rights CommitteeAgency: HRC History (view 392)Agency: HRC History (filter 238)
Individuals - Human Rights CommitteeAll HRCs Needing Attention (view 268)All HRCs Needing Attention (filter 145)
Individuals - Human Rights CommitteeAll HRCs Needing Attention - By Agency (view 269)All HRCs Needing Attention (filter 145)
Individuals - Human Rights CommitteeHRC History (view 229)none
Individuals - Human Rights CommitteeHRC History: ACORD (view 362)HRC History: ACORD (filter 214)
Individuals - Human Rights CommitteeHRC History: CCAOH (view 322)HRC History: CCAOH (filter 180)
Individuals - Human Rights CommitteeHRC History: GIL Foundation Incorporated (view 311)HRC History: GIL Foundation Incorporated (filter 169)
Individuals - Human Rights CommitteeHRC History: IMPACT (view 350)HRC History: IMPACT (filter 203)
Individuals - Human Rights CommitteeHRCs Needing Feedback Form Responses - Behaviorist (view 281)HRCs Needing Feedback Form Responses - Behaviorist (filter 151)
Individuals - Human Rights CommitteeHRCs Needing Feedback Form Responses - Behaviorist - By Agency (view 286)HRCs Needing Feedback Form Responses - Behaviorist (filter 151)
Individuals - Human Rights CommitteeHRCs Needing Attention - By Agency - Director (view 412)All HRCs Needing Attention - Director (filter 263)
Individuals - Human Rights CommitteeHRCs Needing Attention - By Behaviorist (view 275)All HRCs Needing Attention (filter 145)
Individuals - Human Rights CommitteeHRCs Needing Attention - By Behaviorist - Director (view 413)All HRCs Needing Attention - Director (filter 263)
Individuals - Human Rights CommitteeHRCs Needing Packets - Behaviorist (view 427)HRCs Needing Packets - Behaviorist (filter 280)
Individuals - Human Rights CommitteeHRCs Needing Packets - Behaviorist - By Agency (view 428)HRCs Needing Packets - Behaviorist (filter 280)
Individuals - Human Rights CommitteeHRCs to Update PRCs (Workato) (view 432)HRCs to Update PRCs (Workato) (filter 287)
Individuals - Peer Review CommitteeDefault view (view 226)none
Individuals - Peer Review CommitteeAgency: PRC History (view 393)Agency: PRC History (filter 239)
Individuals - Peer Review CommitteeAll PRC's Needing Feedback Form Responses - By Agency (view 331)All PRC's Needing Feedback Form Responses (filter 188)
Individuals - Peer Review CommitteeAll PRC's Needing Feedback Form Responses - By Behaviorist (view 332)All PRC's Needing Feedback Form Responses (filter 188)
Individuals - Peer Review CommitteeAll PRC's with Issues (view 433)All PRC's with Issues (filter 288)
Individuals - Peer Review CommitteeAll PRCs Needing Attention (view 270)All PRCs Needing Attention (filter 148)
Individuals - Peer Review CommitteePeer Review Committee Status (view 377)none
Individuals - Peer Review CommitteePRC History (view 227)none
Individuals - Peer Review CommitteePRC History: ACORD (view 363)PRC History: ACORD (filter 215)
Individuals - Peer Review CommitteePRC History: CCAOH (view 320)PRC History: CCAOH (filter 178)
Individuals - Peer Review CommitteePRC History: GIL Foundation Incorporated (view 312)PRC History: GIL Foundation Incorporated (filter 170)
Individuals - Peer Review CommitteePRC History: IMPACT (view 351)PRC History: IMPACT (filter 204)
Individuals - Peer Review CommitteePRC Tracking Sheet (view 446)PRC Tracking Sheet (filter 312)
Individuals - Peer Review CommitteePRC Tracking Sheet - Behaviorist (view 449)PRC Tracking Sheet - Behaviorist (filter 316)
Individuals - Peer Review CommitteePRC Tracking Sheet - Director (view 448)PRC Tracking Sheet - Director (filter 315)
Individuals - Peer Review CommitteePRC's Needing Feedback Form Responses - Behaviorist (view 334)PRC's Needing Feedback Form Responses - Behaviorist (filter 190)
Individuals - Peer Review CommitteePRC's Needing Feedback Form Responses - Behaviorist - By Agency (view 333)PRC's Needing Feedback Form Responses - Behaviorist (filter 190)
Individuals - Peer Review CommitteePRC's Needing Feedback Form Responses - By Agency - Director (view 420)All PRC's Needing Feedback Form Responses - Director (filter 274)
Individuals - Peer Review CommitteePRC's Needing Feedback Form Responses - By Behaviorist - Director (view 421)All PRC's Needing Feedback Form Responses - Director (filter 274)
Individuals - Peer Review CommitteePRC's Needing Packets - Behaviorist (view 429)PRC's Needing Packets - Behaviorist (filter 283)
Individuals - Peer Review CommitteePRC's Needing Packets - Behaviorist - By Agency (view 430)PRC's Needing Packets - Behaviorist (filter 283)
Individuals - Peer Review CommitteePRCs Awaiting Follow Up - Behaviorist (Not Used?) (view 282)PRCs Needing Attention - Behaviorist (filter 154)
Individuals - Peer Review CommitteePRCs Awaiting Follow Up - Behaviorist - By Agency (view 288)PRCs Needing Attention - Behaviorist (filter 154)
Individuals - Peer Review CommitteePRCs Awaiting Follow Up - By Agency (view 271)All PRCs Needing Attention (filter 148)
Individuals - Peer Review CommitteePRCs Awaiting Follow Up - By Agency - Director (view 416)All PRCs Needing Attention - Director (filter 269)
Individuals - Peer Review CommitteePRCs Awaiting Follow Up - By Behaviorist (view 277)All PRCs Needing Attention (filter 148)
Individuals - Peer Review CommitteePRCs Awaiting Follow Up - By Behaviorist - Director (view 417)All PRCs Needing Attention - Director (filter 269)
Individuals - Peer Review CommitteePRCs to Update HRCs (Workato) (view 431)PRCs to Update HRCs (Workato) (filter 286)
Individuals - Peer Review CommitteeTesting: PRC (view 451)none
Individuals - QuarterliesDefault view (view 191)none
Individuals - QuarterliesAgency: Quarterly Reports (view 394)Agency: Quarterly Reports (filter 240)
Individuals - QuarterliesAll Completed Quarterlies (view 293)All Completed Quarterlies (filter 157)
Individuals - QuarterliesAll Quarterly Reports (view 239)none
Individuals - QuarterliesAll Quarterly Reports - Behaviorist (view 404)All Quarterly Reports - Behaviorist (filter 256)
Individuals - QuarterliesAll Quarterly Reports - Director (view 444)All Quarterly Reports - Director (filter 309)
Individuals - QuarterliesCurrent Quarterly Reports Due (Next Month) - By Agency (view 255)Upcoming Quarterly Reports (Next Month) (filter 135)
Individuals - QuarterliesCurrent Quarterly Reports Due (Next Month) - By Agency - Director (view 408)Upcoming Quarterly Reports (Next Month) - Director (filter 260)
Individuals - QuarterliesCurrent Quarterly Reports Due (Next Month) - By Behaviorist (view 273)Upcoming Quarterly Reports (Next Month) (filter 135)
Individuals - QuarterliesCurrent Quarterly Reports Due (Next Month) - By Behaviorist - Director (view 409)Upcoming Quarterly Reports (Next Month) - Director (filter 260)
Individuals - QuarterliesCurrent Quarterly Reports Due - Behaviorist (Next Month) (view 254)My Due Quarterly Reports - Behaviorist (Next Month) (filter 134)
Individuals - QuarterliesCurrent Quarterly Reports Due - Behaviorist (Next Month) - By Agency (view 284)My Due Quarterly Reports - Behaviorist (Next Month) (filter 134)
Individuals - QuarterliesCurrent Quarterly Reports Due - Director (Next Month) (view 443)My Due Quarterly Reports - Director (Next Month) (filter 307)
Individuals - QuarterliesMy Open Quarterly Reports - Behaviorist (view 253)Behaviorist - Open Quarterly Reports (filter 136)
Individuals - QuarterliesOpen Quarterly Reports (view 252)Open Quarterly Reports (filter 132)
Individuals - QuarterliesQuarterly Reports: ACORD (view 364)Quarterly Reports: ACORD (filter 216)
Individuals - QuarterliesQuarterly Reports: CCAOH (view 319)Quarterly Reports: CCAOH (filter 177)
Individuals - QuarterliesQuarterly Reports: GIL Foundation Incorporated (view 316)Quarterly Reports: GIL Foundation Incorporated (filter 174)
Individuals - QuarterliesQuarterly Reports: IMPACT (view 352)Quarterly Reports: IMPACT (filter 205)
Individuals - Safety & Support MeasuresDefault view (view 164)none
Individuals - Safety & Support MeasuresAgency: Individual Adversives, Restrictives, LoS (view 395)Agency: Individual Adversives, Restrictives, LoS (filter 241)
Individuals - Safety & Support MeasuresAgency: Individual Medications (view 396)Agency: Individual Medications (filter 242)
Individuals - Safety & Support MeasuresAll Consent Forms Needed - By Agency (view 214)All Measures Needing Consent Forms (filter 99)
Individuals - Safety & Support MeasuresAll Consent Forms Needed - By Behaviorist (view 279)All Measures Needing Consent Forms (filter 99)
Individuals - Safety & Support MeasuresAll Medications Missing Dates - By Agency (view 260)Medications Missing Dates (filter 139)
Individuals - Safety & Support MeasuresAll Medications Missing Dates - By Behaviorist (view 280)Medications Missing Dates (filter 139)
Individuals - Safety & Support MeasuresConsent Forms Needed - Behaviorist (view 219)My Measures Needing Consent Forms - Behaviorist (filter 104)
Individuals - Safety & Support MeasuresConsent Forms Needed - By Agency - Director (view 422)All Measures Needing Consent Forms - Director (filter 276)
Individuals - Safety & Support MeasuresConsent Forms Needed - By Behaviorist - Director (view 423)All Measures Needing Consent Forms - Director (filter 276)
Individuals - Safety & Support MeasuresConsent Forms Needed - Director (view 442)My Measures Needing Consent Forms - Director (filter 305)
Individuals - Safety & Support MeasuresConsent Forms Needed- Behaviorist - By Agency (view 290)My Measures Needing Consent Forms - Behaviorist (filter 104)
Individuals - Safety & Support MeasuresConsent Forms to Log (Workato) (view 244)Consent Forms to Log (Workato) (filter 127)
Individuals - Safety & Support MeasuresIndividual Adversives, Restrictives, LoS (view 222)Individual Adversives, Restrictives, LoS (filter 108)
Individuals - Safety & Support MeasuresIndividual Adversives, Restrictives, LoS: ACORD (view 365)Individual Medications: ACORD (filter 217)
Individuals - Safety & Support MeasuresIndividual Adversives, Restrictives, LoS: CCAOH (view 318)Individual Medications: CCAOH (filter 175)
Individuals - Safety & Support MeasuresIndividual Adversives, Restrictives, LoS: GIL Foundation Incorporated (view 314)Individual Adversives, Restrictives, LoS: GIL Foundation Incorporated (filter 172)
Individuals - Safety & Support MeasuresIndividual Adversives, Restrictives, LoS: IMPACT (view 353)Individual Medications: IMPACT (filter 206)
Individuals - Safety & Support MeasuresIndividual Levels of Supervision (view 223)Individual Levels of Supervision (filter 109)
Individuals - Safety & Support MeasuresIndividual Medications (view 167)Individual Medications (filter 106)
Individuals - Safety & Support MeasuresIndividual Medications: ACORD (view 366)Individual Medications: ACORD (filter 217)
Individuals - Safety & Support MeasuresIndividual Medications: CCAOH (view 317)Individual Medications: CCAOH (filter 175)
Individuals - Safety & Support MeasuresIndividual Medications: GIL Foundation Incorporated (view 315)Individual Medications: GIL Foundation Incorporated (filter 173)
Individuals - Safety & Support MeasuresIndividual Medications: IMPACT (view 354)Individual Medications: IMPACT (filter 206)
Individuals - Safety & Support MeasuresIndividual Restrictives (view 221)Individual Restrictives (filter 107)
Individuals - Safety & Support MeasuresMedications Missing Dates - Behaviorist (Not Used?) (view 261)My Medications Missing Dates - Behaviorist (filter 142)
Individuals - Safety & Support MeasuresMedications Missing Dates - Behaviorist - By Agency (view 291)My Medications Missing Dates - Behaviorist (filter 142)
Individuals - Safety & Support MeasuresMedications Missing Dates - By Agency - Director (view 424)Medications Missing Dates - Director (filter 277)
Individuals - Safety & Support MeasuresMedications Missing Dates - By Behaviorist - Director (view 425)Medications Missing Dates - Director (filter 277)
Individuals - Safety & Support MeasuresNeeding Consent by Location (view 236)All Measures Needing Consent Forms (filter 99)
Join - Individuals to Adversives, Restrictives, LoSDefault view (view 196)none
Join - Individuals to DiagnosesDefault view (view 301)none
Join - Individuals to MedicationsDefault view (view 166)none
LocationsDefault view (view 157)none
LocationsActive Locations (view 161)Active Locations (filter 82)
LocationsActive Locations Map (view 259)Active Locations (filter 82)
LocationsAgency: Locations (view 397)Agency: Locations (filter 243)
LocationsAll Locations (view 177)none
LocationsLocations: ACORD (view 367)Locations: ACORD (filter 218)
LocationsLocations: CCAOH (view 329)Locations: CCAOH (filter 186)
LocationsLocations: GIL (view 328)Locations: GIL (filter 187)
LocationsLocations: IMPACT (view 355)Locations: IMPACT (filter 207)
LocationsMy Active Locations - Behaviorist (view 375)My Active Locations - Behaviorist (filter 226)
LocationsMy Active Locations - Director (view 438)My Active Locations - Director (filter 297)
Notes & DocsDefault view (view 208)none
Notes & DocsAgency: Individual Notes (view 398)Agency: Individual Notes (filter 244)
Notes & DocsAll Agency Notes (view 342)All Agency Notes (filter 196)
Notes & DocsAll Agency Notes - Behaviorist (view 401)All Agency Notes - Behaviorist (filter 248)
Notes & DocsAll Agency Notes - Director (view 439)All Agency Notes - Director (filter 299)
Notes & DocsAll Individual Audit Notes (view 249)All Individual Audit Notes (filter 129)
Notes & DocsAll Individual Monthly Check-In Notes (view 250)All Individual Monthly Check-In Notes (filter 130)
Notes & DocsAll Individual Notes (view 209)All Individual Notes (filter 195)
Notes & DocsAll Individual Notes - Behaviorist (view 400)All Individual Notes - Behaviorist (filter 246)
Notes & DocsAll Individual Notes - Director (view 445)All Individual Notes - Director (filter 310)
Notes & DocsIndividual Notes: ACORD (view 368)Individual Notes: ACORD (filter 219)
Notes & DocsIndividual Notes: CCAOH (view 321)Individual Notes: CCAOH (filter 179)
Notes & DocsIndividual Notes: GIL Foundation Incorporated (view 313)Individual Notes: GIL Foundation Incorporated (filter 171)
Notes & DocsIndividual Notes: IMPACT (view 356)Individual Notes: IMPACT (filter 208)
Notes & DocsNote Emails Needed (Workato) (view 238)Audit Emails Needed (Workato) (filter 124)
z - Adversives, Restrictives, LoSDefault view (view 154)none
z - Adversives, Restrictives, LoSAll Active Adversives, Restrictives, LoS (view 203)All Active Aversives (filter 93)
z - Adversives, Restrictives, LoSAll Adversives, Restrictives, LoS (view 202)none
z - CitiesDefault view (view 262)none
z - CitiesCities (view 263)none
z - DiagnosesDefault view (view 298)none
z - DiagnosesActive Diagnoses (view 300)Active Diagnoses (filter 160)
z - DiagnosesAll Diagnoses (view 299)none
z - Email MatrixDefault view (view 242)none
z - Email MatrixEmail Matrix (view 243)none
z - Levels of SupervisionDefault view (view 155)none
z - Levels of SupervisionAll Active Levels of Supervision (view 201)All Active Levels of Supervision (filter 92)
z - Levels of SupervisionAll Levels of Supervision (view 200)none
z - MedicationsDefault view (view 152)none
z - MedicationsActive Medications (view 172)Active Medications (filter 83)
z - MedicationsAll Medications (view 179)none
z - Psych Note CreationDefault view (view 378)none
z - Psych Note CreationMy Psych Notes Created (view 382)My Psych Notes Created (filter 235)
z - Psych Note CreationPsych Note Creation (view 381)none
z - Psych Note Creation JoinDefault view (view 379)none
z - Psych Note Creation JoinMy Psych Note Creation Join (view 383)Psych Note Creation Join (filter 236)
z - Psych Note Creation JoinPsych Note Creation Join (view 380)none
z - RegionsDefault view (view 256)none
z - RegionsActive Regions (view 258)Active Regions (filter 138)
z - RegionsAll Regions (view 257)none
z - RestrictivesDefault view (view 153)none
z - RestrictivesAll Active Restrictives (view 199)All Active Restrictives (filter 91)
z - RestrictivesAll Restrictives (view 198)none
z - StateDefault view (view 168)none
z - StateStates (view 169)none
z - Zip CodesDefault view (view 170)none
z - Zip CodesZip Codes (view 171)none
zMulti - Note TagsDefault view (view 247)none
zz - Note Auto CounterDefault view (view 248)none
zz - Note TagsDefault view (view 245)none
zz - Note TagsActive Tags (view 246)Active Tags (filter 128)
zz(Dep)Join - Individuals to Levels of SupervisionDefault view (view 197)none
zz(Dep)Join - Individuals to RestrictivesDefault view (view 195)none
zz(Dep)Join - Nurses to LocationsDefault view (view 187)none
zz(Dep)Join - Nurses to LocationsLocation Nurses (view 188)none
zzz - Special PRC ImportDefault view (view 450)none

AgenciesA

25 fields2 scripts6 views

Agencies (table 48)

25 fields, 5 system fields, 2 App Scripts, 6 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
Adversives, Restrictives, LoS Consents RequiredDrop-down12972
Agency IDLong text (triggered)6236
Agency NameShort textyesyesyes6256
Agency UpdatedShort text13742
Auto CounterAuto number6222
Behaviorist 1Link to another table13442
Behaviorist 2Link to another table13452
Behaviorist 3Link to another table13751
Billing AddressShort text11072
Billing CityShort text11222
Billing StateLink to another table7182
Billing Zip CodeLink to another table7172
BSP RequiredDrop-down13002
Check-In Notes RequiredDrop-down12982
Data CoordinatorLink to another table11834
Day Program Quarterlies RequiredCheckbox11842
DirectorLink to another table12654
HRC RequiredDrop-down12992
Lotus Employee EmailsLong text (calculated)12662
Medication Consents RequiredDrop-down13082
PRC RequiredDrop-down12962
Residential Program Quarterlies RequiredCheckbox12612
Scripting UpdateShort text6246After Insert (16), Before Update (17)
StatusDrop-down6526After Insert (16)
User GroupUser group13672
CreatedDate and time (system)6296
Created By UserUser (system)6276
Last UserUser (system)6266
Record IDRecord ID (system)6306
UpdatedDate and time (system)6286

Calculated and triggered fields

2

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Agency ID formula (field 623)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Lotus Employee Emails formula (field 1266)

  • Kind: calculated paragraph
  • Reads: Employees → Email (via Data Coordinator), Employees → Email (via Director)
if(isblank({Employees}.{Director}.{Email}),if(isblank({Employees}.{Data Coordinator}.{Email}),"",{Employees}.{Data Coordinator}.{Email}), if(isblank({Employees}.{Data Coordinator}.{Email}),"",{Employees}.{Data Coordinator}.{Email} & ", ")) &
if(isblank({Employees}.{Director}.{Email}),"",{Employees}.{Director}.{Email})

Relationships

Link fieldRelated tableRelationshipRelated table is
Data CoordinatorEmployees (table 59)manyToOneparent
DirectorEmployees (table 59)manyToOneparent
Behaviorist 1Employees (table 59)manyToOneparent
Behaviorist 2Employees (table 59)manyToOneparent
Behaviorist 3Employees (table 59)manyToOneparent
Billing Statez - State (table 56)manyToOneparent
Billing Zip Codez - Zip Codes (table 57)manyToOneparent
AgencyAudit Settings (table 85)manyToOnechild
AgencyContacts (table 58)manyToOnechild
AgencyIndividuals (table 50)manyToOnechild
AgencyIndividuals - Peer Review Committee (table 71)manyToOnechild
AgencyIndividuals - Quarterlies (table 62)manyToOnechild
AgencyIndividuals - Safety & Support Measures (table 53)manyToOnechild
AgencyLocations (table 49)manyToOnechild
AgencyNotes & Docs (table 69)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 17)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Scripting Update
  • Sets on this record: Scripting Update

What happens when a field changes

1

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Scripting Update changes

  • Before Update (17), before save:
    • If Scripting Update is "Populate ID":
      • clears Scripting Update

Field use in views

30

Adversives, Restrictives, LoS Consents Required (field 1297)

Agency ID (field 623)

Agency Name (field 625)

Agency Updated (field 1374)

Auto Counter (field 622)

Behaviorist 1 (field 1344)

Behaviorist 2 (field 1345)

Behaviorist 3 (field 1375)

Billing Address (field 1107)

Billing City (field 1122)

Billing State (field 718)

Billing Zip Code (field 717)

BSP Required (field 1300)

Check-In Notes Required (field 1298)

Data Coordinator (field 1183)

Day Program Quarterlies Required (field 1184)

Director (field 1265)

HRC Required (field 1299)

Lotus Employee Emails (field 1266)

Medication Consents Required (field 1308)

PRC Required (field 1296)

Residential Program Quarterlies Required (field 1261)

Scripting Update (field 624)

Status (field 652)

User Group (field 1367)

Created (field 629)

Created By User (field 627)

Last User (field 626)

Record ID (field 630)

Updated (field 628)

Agencies: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 16)

After a new record is savedEnabled, 11 lines
  • Sets on this record: Scripting Update, Status
  • What it does, by condition:
    • Every time it runs:
      • sets Scripting Update to "Populate ID"
    • If Status is empty:
      • sets Status to "Active"
  • Code: After Insert

Before Update (script 17)

Before an edited record is saved. It can change the record being editedEnabled, 18 lines
  • Author's description: Agency
  • Sets on this record: Scripting Update
  • What it does, by condition:
    • If Scripting Update is "Populate ID":
      • clears Scripting Update
  • Code: Before Update

Agencies: Views (table 48)

6 views, 4 with a filter. 4 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 156)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (30)

Record ID, Auto Counter, Behaviorist 1, Behaviorist 2, Behaviorist 3, Billing State, Billing Zip Code, Data Coordinator, Director, Last User, Created By User, Updated, Created, Agency ID, Scripting Update, Agency Name, User Group, Status, PRC Required, HRC Required, BSP Required, Adversives, Restrictives, LoS Consents Required, Medication Consents Required, Check-In Notes Required, Residential Program Quarterlies Required, Day Program Quarterlies Required, Billing Address, Billing City, Lotus Employee Emails, Agency Updated

Active Agencies (view 159)

Filter: Active Agencies (filter 80)

Filter: Active Agencies (filter 80)

Shows records where Status is "Active".

Columns (9): Record ID, Agency Name, Status, Last User, Created By User, Updated, Created, Scripting Update, Agency ID

All Agencies (view 175)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (9): Record ID, Agency Name, Status, Last User, Created By User, Updated, Created, Scripting Update, Agency ID

My Active Agencies - Behaviorist (view 374)

Filter: My Active Agencies - Behaviorist (filter 224)

Filter: My Active Agencies - Behaviorist (filter 224)

Shows records where all of these are true:

  • Status is "Active"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (11): Record ID, Agency Name, Status, Director, Data Coordinator, Last User, Created By User, Updated, Created, Scripting Update, Agency ID

My Active Agencies - Director (view 435)

Filter: My Active Agencies - Director (filter 290)

Filter: My Active Agencies - Director (filter 290)

Shows records where all of these are true:

  • Status is "Active"
  • Application User on the linked Employees record is the person viewing the list

Columns (11): Record ID, Agency Name, Status, Director, Data Coordinator, Last User, Created By User, Updated, Created, Scripting Update, Agency ID

Updated Agencies (Workato) (view 403)

Filter: Updated Agencies (Workato) (filter 251)

Filter: Updated Agencies (Workato) (filter 251)

Shows records where Agency Updated is "Yes".

Columns (29)

Record ID, Agency Name, Status, Last User, Created By User, Updated, Created, Scripting Update, Agency ID, Auto Counter, Billing State, Billing Zip Code, Data Coordinator, Director, Behaviorist 1, Behaviorist 2, User Group, PRC Required, HRC Required, BSP Required, Adversives, Restrictives, LoS Consents Required, Medication Consents Required, Check-In Notes Required, Residential Program Quarterlies Required, Day Program Quarterlies Required, Billing Address, Billing City, Lotus Employee Emails, Agency Updated

Audit Settings

11 fields0 scripts1 views

Audit Settings (table 85)

11 fields, 5 system fields, 0 App Scripts, 1 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Adversives, Restrictives, LoS ConsentsDrop-down12801
AgencyLink to another table12891
Auto CounterAuto numberyes12751
BSPDrop-down12791
Day Program QuarterliesCheckbox12831
HRCDrop-down12781
IndividualLink to another table12901
Monthly Check-In NotesDrop-down12811
PRCDrop-down12771
Record TypeDrop-down12761
Residential QuarterliesCheckbox12821
CreatedDate and time (system)12871
Created By UserUser (system)12851
Last UserUser (system)12841
Record IDRecord ID (system)12881
UpdatedDate and time (system)12861

Relationships

Link fieldRelated tableRelationshipRelated table is
AgencyAgencies (table 48)manyToOneparent
IndividualIndividuals (table 50)manyToOneparent

Field use in views

16

Adversives, Restrictives, LoS Consents (field 1280)

Agency (field 1289)

Auto Counter (field 1275)

BSP (field 1279)

Day Program Quarterlies (field 1283)

HRC (field 1278)

Individual (field 1290)

Monthly Check-In Notes (field 1281)

PRC (field 1277)

Record Type (field 1276)

Residential Quarterlies (field 1282)

Created (field 1287)

Created By User (field 1285)

Last User (field 1284)

Record ID (field 1288)

Updated (field 1286)

Audit Settings: Views (table 85)

1 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 344)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (16)

Record ID, Agency, Auto Counter, Individual, Last User, Created By User, Updated, Created, Record Type, PRC, HRC, BSP, Adversives, Restrictives, LoS Consents, Monthly Check-In Notes, Residential Quarterlies, Day Program Quarterlies

ContactsA

15 fields2 scripts11 views

Contacts (table 58)

15 fields, 5 system fields, 2 App Scripts, 11 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
AgencyLink to another table74011
Auto CounterAuto number7211
Contact IDLong text (triggered)7221
Contact TypeDrop-down7412
EmailEmailyesyes72613
First LastShort text7321After Insert (26), Before Update (27)
First NameShort textyes72411
Last NameShort textyes72511
Last, FirstShort textyes7331After Insert (26), Before Update (27)
RolesCheckbox73411
Scripting UpdateShort text72311After Insert (26), Before Update (27)
StatusDrop-down73911After Insert (26)
TitleShort text73711
Work CellShort text73613
Work PhoneShort text73813
CreatedDate and time (system)73011
Created By UserUser (system)72811
Last UserUser (system)72711
Record IDRecord ID (system)73111
UpdatedDate and time (system)72911

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Contact ID formula (field 722)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
AgencyAgencies (table 48)manyToOneparent
Case ManagerIndividuals (table 50)manyToOnechild
Manager / SupervisorLocations (table 49)manyToOnechild
Area Manager/Additional OversightLocations (table 49)manyToOnechild
Case ManagerLocations (table 49)manyToOnechild
Location NurseLocations (table 49)manyToOnechild
Nursezz(Dep)Join - Nurses to Locations (table 60)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 27)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Checks whether these changed: First Name, Last, First
  • Uses the value of: Agency, Contact Type, Last Name, Scripting Update
  • Sets on this record: First Last, Last, First, Scripting Update

What happens when a field changes

6

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Agency changes

  • Before Update (27), before save:
    • If Contact Type is "Agency" and Agency is empty:
      • stops the save with the error "Please select an Agency"

When Contact Type changes

  • Before Update (27), before save:
    • If Contact Type is "Agency" and Agency is empty:
      • stops the save with the error "Please select an Agency"

When First Name changes

  • Before Update (27), before save:
    • If First Name or Last, First changed:
      • sets First Last, Last, First to a value calculated from First Name, Last Name

When Last Name changes

When Last, First changes

  • Before Update (27), before save:
    • If First Name or Last, First changed:
      • sets First Last, Last, First to a value calculated from First Name, Last Name

When Scripting Update changes

  • Before Update (27), before save:
    • If Scripting Update is "Populate ID":
      • clears Scripting Update

Field use in views

20

Agency (field 740)

Auto Counter (field 721)

Contact ID (field 722)

Contact Type (field 741)

Email (field 726)

First Last (field 732)

First Name (field 724)

Last Name (field 725)

Last, First (field 733)

Roles (field 734)

Scripting Update (field 723)

Status (field 739)

Title (field 737)

Work Cell (field 736)

Work Phone (field 738)

Created (field 730)

Created By User (field 728)

Last User (field 727)

Record ID (field 731)

Updated (field 729)

Contacts: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 26)

After a new record is savedEnabled, 25 lines
  • Sets on this record: First Last, Last, First, Scripting Update, Status
  • Reads from this record: Agency, Contact Type, First Name, Last Name
  • What it does, by condition:
    • Every time it runs:
      • sets First Last, Last, First to a value calculated from First Name, Last Name
      • sets Scripting Update to "Populate ID"
    • If Contact Type is "Agency" and Agency is empty:
      • stops the save with the error "Please select an Agency"
    • If Status is empty:
      • sets Status to "Active"
  • Code: After Insert

Before Update (script 27)

Before an edited record is saved. It can change the record being editedEnabled, 27 lines
  • Sets on this record: First Last, Last, First, Scripting Update
  • Reads from this record: Agency, Contact Type, First Name, Last Name
  • Checks for changes in: First Name, Last, First
  • What it does, by condition:
    • If Scripting Update is "Populate ID":
      • clears Scripting Update
    • If First Name or Last, First changed:
      • sets First Last, Last, First to a value calculated from First Name, Last Name
    • If Contact Type is "Agency" and Agency is empty:
      • stops the save with the error "Please select an Agency"
  • Code: Before Update

Contacts: Views (table 58)

11 views, 9 with a filter. 9 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 173)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (20): Record ID, Agency, Auto Counter, Last User, Created By User, Updated, Created, Contact ID, Status, Contact Type, Scripting Update, First Last, Last, First, First Name, Last Name, Email, Work Phone, Work Cell, Title, Roles

Active Agency Contacts (view 185)

Filter: Active Agency Contacts (filter 90)

Filter: Active Agency Contacts (filter 90)

Shows records where all of these are true:

  • Contact Type is "Agency"
  • Status is "Active"

Columns (15): Record ID, First Name, Last Name, Title, Email, Work Phone, Work Cell, Roles, Agency, Status, Scripting Update, Last User, Created By User, Updated, Created

Active Contacts (view 174)

Filter: Active Staff (filter 84)

Filter: Active Staff (filter 84)

Shows records where Status is "Active".

Columns (15): Record ID, Agency, First Name, Last Name, Email, Work Phone, Work Cell, Title, Roles, Status, Scripting Update, Last User, Created By User, Updated, Created

Active Nurses (view 184)

Filter: Active Nurses (filter 89)

Filter: Active Nurses (filter 89)

Shows records where all of these are true:

  • Status is "Active"
  • Contact Type is "Nurse"

Columns (15): Record ID, Agency, First Name, Last Name, Email, Work Phone, Work Cell, Title, Roles, Status, Scripting Update, Last User, Created By User, Updated, Created

Active State Contacts (view 183)

Filter: Active State Contacts (filter 88)

Filter: Active State Contacts (filter 88)

Shows records where all of these are true:

  • Status is "Active"
  • Contact Type is "State"

Columns (15): Record ID, Agency, First Name, Last Name, Email, Work Phone, Work Cell, Title, Roles, Status, Scripting Update, Last User, Created By User, Updated, Created

All Agency Contacts (view 180)

Filter: All Agency Contacts (filter 85)

Filter: All Agency Contacts (filter 85)

Shows records where Contact Type is "Agency".

Columns (15): Record ID, Agency, First Name, Last Name, Email, Work Phone, Work Cell, Title, Roles, Status, Scripting Update, Last User, Created By User, Updated, Created

All Contacts (view 178)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (16): Record ID, Contact Type, Email, Work Phone, Work Cell, Title, Roles, Status, Agency, First Name, Last Name, Scripting Update, Last User, Created By User, Updated, Created

All Nurses (view 181)

Filter: All Nurses (filter 86)

Filter: All Nurses (filter 86)

Shows records where Contact Type is "Nurse".

Columns (15): Record ID, Agency, First Name, Last Name, Email, Work Phone, Work Cell, Title, Roles, Status, Scripting Update, Last User, Created By User, Updated, Created

All State Contacts (view 182)

Filter: All State Contacts (filter 87)

Filter: All State Contacts (filter 87)

Shows records where Contact Type is "State".

Columns (15): Record ID, Agency, First Name, Last Name, Email, Work Phone, Work Cell, Title, Roles, Status, Scripting Update, Last User, Created By User, Updated, Created

My Active Agency Contacts - Behaviorist (view 376)

Filter: My Active Agency Contacts - Behaviorist (filter 228)

Filter: My Active Agency Contacts - Behaviorist (filter 228)

Shows records where all of these are true:

  • Agency is not empty
  • Status is "Active"
  • Status on the linked Agencies record is "Active"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (15): Record ID, First Name, Last Name, Title, Email, Work Phone, Work Cell, Roles, Agency, Status, Scripting Update, Last User, Created By User, Updated, Created

My Active Agency Contacts - Director (view 436)

Filter: My Active Agency Contacts - Director (filter 292)

Filter: My Active Agency Contacts - Director (filter 292)

Shows records where all of these are true:

  • Agency is not empty
  • Status is "Active"
  • Status on the linked Agencies record is "Active"
  • Application User on the linked Employees record is the person viewing the list

Columns (15): Record ID, First Name, Last Name, Title, Email, Work Phone, Work Cell, Roles, Agency, Status, Scripting Update, Last User, Created By User, Updated, Created

EmployeesA

10 fields2 scripts3 views

Employees (table 59)

10 fields, 5 system fields, 2 App Scripts, 3 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
Application UserUser7582
Auto CounterAuto number7451
EmailEmailyesyes7483
Employee IDLong text (triggered)7572
First LastShort text7541After Insert (28), Before Update (29)
First NameShort textyes7463
Last NameShort textyes7473
Last, FirstShort textyes7551After Insert (28), Before Update (29)
Script UpdateShort text7562After Insert (28), Before Update (29)
StatusDrop-down8612After Insert (28)
CreatedDate and time (system)7521
Created By UserUser (system)7501
Last UserUser (system)7491
Record IDRecord ID (system)7533
UpdatedDate and time (system)7511

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Employee ID formula (field 757)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
Data CoordinatorAgencies (table 48)manyToOnechild
DirectorAgencies (table 48)manyToOnechild
Behaviorist 1Agencies (table 48)manyToOnechild
Behaviorist 2Agencies (table 48)manyToOnechild
Behaviorist 3Agencies (table 48)manyToOnechild
Behaviorist 1Individuals (table 50)manyToOnechild
Behaviorist 2Individuals (table 50)manyToOnechild
Behaviorist 3Individuals (table 50)manyToOnechild
Assigned AuditorIndividuals - Annual Audits (table 81)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 29)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Checks whether these changed: First Name, Last, First
  • Uses the value of: Last Name, Script Update
  • Sets on this record: First Last, Last, First, Script Update

What happens when a field changes

4

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When First Name changes

  • Before Update (29), before save:
    • If First Name or Last, First changed:
      • sets First Last, Last, First to a value calculated from First Name, Last Name

When Last Name changes

When Last, First changes

  • Before Update (29), before save:
    • If First Name or Last, First changed:
      • sets First Last, Last, First to a value calculated from First Name, Last Name

When Script Update changes

Field use in views

15

Employees: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 28)

After a new record is savedEnabled, 18 lines
  • Sets on this record: First Last, Last, First, Script Update, Status
  • Reads from this record: First Name, Last Name
  • What it does, by condition:
    • Every time it runs:
      • sets First Last, Last, First to a value calculated from First Name, Last Name
      • sets Script Update to "Populate ID"
    • If Status is empty:
      • sets Status to "Active"
  • Code: After Insert

Before Update (script 29)

Before an edited record is saved. It can change the record being editedEnabled, 20 lines
  • Sets on this record: First Last, Last, First, Script Update
  • Reads from this record: First Name, Last Name
  • Checks for changes in: First Name, Last, First
  • What it does, by condition:
    • If Script Update is "Populate ID":
      • clears Script Update
    • If First Name or Last, First changed:
      • sets First Last, Last, First to a value calculated from First Name, Last Name
  • Code: Before Update

Employees: Views (table 59)

3 views, 2 with a filter. 1 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 186)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (15): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Employee ID, Status, Script Update, First Name, Last Name, Email, First Last, Last, First, Application User

Active Employees (view 207)

Filter: Active Employees (filter 94)

Filter: Active Employees (filter 94)

Shows records where Status is "Active".

Columns (8): Record ID, Status, First Name, Last Name, Email, Application User, Employee ID, Script Update

Employees: Agency (view 330)

Filter: Active Employees (filter 94)

Filter: Active Employees (filter 94)

Shows records where Status is "Active".

Columns (4): Record ID, First Name, Last Name, Email

IndividualsA

74 fields3 scripts50 views

Individuals (table 50)

74 fields, 5 system fields, 3 App Scripts, 50 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeUniqueRecord IDField IDViewsSet by scripts
Active HRCShort text10243
Active PRCShort text10253
Adversives, Restrictives, LoSLong text (triggered)88235
Adversives, Restrictives, LoS Consents RequiredDrop-down130411
AgencyLink to another table96977After Insert (14), Before Update (15)
Approval StatusDrop-down9261
Audit EmailLong text (calculated)12692
Auto CounterAuto number6401
Behaviorist 1Link to another table75972
Behaviorist 2Link to another table12382
Behaviorist 3Link to another table13761
BSP RequiredDrop-down130510
BSP WordDocument100112
BSP: Rational for UpdateLong text9712
Case ManagerLink to another table11232
Check-In Notes RequiredDrop-down130210
Completed QuartersLong text (triggered)98614
Consent Types NeededLong text (calculated)105014
Current Date of BSPDate91226After Insert (14), Before Update (15)
Date of BSPDate9702After Insert (14), Before Update (15)
Day Program LocationLink to another table9527
Day Program QuarterliesCheckbox13032
Days Since Last Monthly Check-InNumber (calculated)8749
DDS NumberShort textyes95114
DiagnosesLong text12601
HRC RequiredDrop-down124015
Individual IDLong text (triggered)6412
Individual Record IDLong text (calculated)yes11253
Individual StatusDrop-down6537After Insert (14)
InitialsShort text11241
Last Audit Note DateDate (calculated)10971
Last Check-In Note AddedDate (calculated)10969
Last HRC Decision DateDate93112
Last IP Start DateDate9771Before Update (15)
Last NoteLong text9891
Last NoteIDShort text10761
Last PRC Decision DateDate92312
Location Agencies MatchShort text13775After Insert (14), Before Update (15)
Location for NameShort text12361After Insert (14), Before Update (15)
Master Data SheetDocument13061
Medication Consents RequiredDrop-down130911
MedicationsLong text (triggered)87835
Meeting DateDate9112
Meeting TypeDrop-down9302
Monthly Summary SheetDocument13071
NameShort text13781
New IP Start DateDate78014Before Update (15)
Next Annual Audit DateDate (calculated)11829
Next BSP DateDate91021After Insert (14), Before Update (15)
Next BSP Due DateDate9722
Next HRC DateDate92720
Next IP Meeting DateDate11091Before Update (15)
Next Meeting DateDate9532
Next PRC DateDate92430
Note CreationLong text8631
OneDrive FolderWeb address8896
PRC Packet Due DateDate13932
PRC RequiredDrop-down123915
Q1Long text (triggered)98214
Q1 Due DateDate (calculated)99814
Q2Long text (triggered)98314
Q2 Due DateDate (calculated)99714
Q3Long text (triggered)98414
Q3 Due DateDate (calculated)99914
Q4Long text (triggered)98514
Q4 Due DateDate (calculated)100014
Recommendation NotesLong text9362
Recommendations PDFDocument10032
Required QuarterliesShort text136910After Insert (14), Before Update (15)
Residential LocationLink to another table64954
Residential QuarterliesCheckbox13012
Scripting UpdateShort text6427After Insert (14), Before Update (15), New Script (46)
Send Note to BehavioristCheckbox8754
Update HRC/PRCShort text10282
CreatedDate and time (system)6469
Created By UserUser (system)6449
Last UserUser (system)6439
Record IDRecord ID (system)64750
UpdatedDate and time (system)6459

Calculated and triggered fields

19

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Adversives, Restrictives, LoS formula (field 882)

  • Kind: triggered paragraph
  • Reads: Individuals - Safety & Support Measures → Adversives, Restrictives, LoS Name (via Individual)
coalesce(childconcatenatedistinct({Individuals - Safety & Support Measures}.{Individual}.{Adversives, Restrictives, LoS Name},", "), "None")

Audit Email formula (field 1269)

  • Kind: calculated paragraph
  • Reads: Agencies → Lotus Employee Emails (via Agency), Employees → Email (via Behaviorist 1)
if(isblank({Employees}.{Behaviorist 1}.{Email}),"",{Employees}.{Behaviorist 1}.{Email} & ",") &
//if(isblank({Employees}.{Behaviorist 2}.{Email}),"",{Employees}.{Behaviorist 2}.{Email} & ",") &
//if(isblank({Employees}.{Behaviorist 3}.{Email}),"",{Employees}.{Behaviorist 3}.{Email} & ",") &
{Agencies}.{Agency}.{Lotus Employee Emails}

Completed Quarters formula (field 986)

  • Kind: triggered paragraph
  • Reads: Individuals - Quarterlies → Completed Quarters (via Individual)
childconcatenatedistinct({Individuals - Quarterlies}.{Individual}.{Completed Quarters},",")
  • Kind: calculated paragraph
  • Reads: Individuals - Safety & Support Measures → Consent Form Needed (via Individual)
childconcatenatedistinct({Individuals - Safety & Support Measures}.{Individual}.{Consent Form Needed},", ")

Days Since Last Monthly Check-In formula (field 874)

  • Kind: calculated number
  • Reads: Last Check-In Note Added
coalesce(datedif(now() , {Last Check-In Note Added} , "d"),99)

Individual ID formula (field 641)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Individual Record ID formula (field 1125)

  • Kind: calculated paragraph
  • Reads: Initials, Locations → Location Name (via Day Program Location), Locations → Location Name (via Residential Location)
concatenate(coalesce({Locations}.{Residential Location}.{Location Name},{Locations}.{Day Program Location}.{Location Name})," - ",{Initials})

Last Audit Note Date formula (field 1097)

  • Kind: calculated date
  • Reads: Notes & Docs → Audit Note Date (via Individual)
Max({Notes & Docs}.{Individual}.{Audit Note Date})

Last Check-In Note Added formula (field 1096)

  • Kind: calculated date
  • Reads: Notes & Docs → Check-In Note Date (via Individual)
Max({Notes & Docs}.{Individual}.{Check-In Note Date})

Medications formula (field 878)

  • Kind: triggered paragraph
  • Reads: Individuals - Safety & Support Measures → Medication Name (via Individual)
coalesce(childconcatenatedistinct({Individuals - Safety & Support Measures}.{Individual}.{Medication Name},", "), "None")

Next Annual Audit Date formula (field 1182)

  • Kind: calculated date
  • Reads: Individuals - Annual Audits → Individual Audit Date (via Individual)
coalesce(dateadd(max({Individuals - Annual Audits}.{Individual}.{Individual Audit Date}), 1, "yyyy"),null())

Q1 formula (field 982)

  • Kind: triggered paragraph
  • Reads: Individuals - Quarterlies → Q1 Month Due (via Individual)
childconcatenatedistinct({Individuals - Quarterlies}.{Individual}.{Q1 Month Due} , ",")

Q1 Due Date formula (field 998)

  • Kind: calculated date
  • Reads: Individuals - Quarterlies → Q1 Report Date (via Individual)
max({Individuals - Quarterlies}.{Individual}.{Q1 Report Date})

Q2 formula (field 983)

  • Kind: triggered paragraph
  • Reads: Individuals - Quarterlies → Q2 Month Due (via Individual)
childconcatenatedistinct({Individuals - Quarterlies}.{Individual}.{Q2 Month Due} , ",")

Q2 Due Date formula (field 997)

  • Kind: calculated date
  • Reads: Individuals - Quarterlies → Q2 Report Date (via Individual)
max({Individuals - Quarterlies}.{Individual}.{Q2 Report Date})

Q3 formula (field 984)

  • Kind: triggered paragraph
  • Reads: Individuals - Quarterlies → Q3 Month Due (via Individual)
childconcatenatedistinct({Individuals - Quarterlies}.{Individual}.{Q3 Month Due} , ",")

Q3 Due Date formula (field 999)

  • Kind: calculated date
  • Reads: Individuals - Quarterlies → Q3 Report Date (via Individual)
max({Individuals - Quarterlies}.{Individual}.{Q3 Report Date})

Q4 formula (field 985)

  • Kind: triggered paragraph
  • Reads: Individuals - Quarterlies → Q4 Month Due (via Individual)
childconcatenatedistinct({Individuals - Quarterlies}.{Individual}.{Q4 Month Due} , ",")

Q4 Due Date formula (field 1000)

  • Kind: calculated date
  • Reads: Individuals - Quarterlies → Q4 Report Date (via Individual)
max({Individuals - Quarterlies}.{Individual}.{Q4 Report Date})

Relationships

Link fieldRelated tableRelationshipRelated table is
AgencyAgencies (table 48)manyToOneparent
Case ManagerContacts (table 58)manyToOneparent
Behaviorist 1Employees (table 59)manyToOneparent
Behaviorist 2Employees (table 59)manyToOneparent
Behaviorist 3Employees (table 59)manyToOneparent
Residential LocationLocations (table 49)manyToOneparent
Day Program LocationLocations (table 49)manyToOneparent
IndividualAudit Settings (table 85)manyToOnechild
IndividualConsent Forms (table 61)manyToOnechild
IndividualIndividuals - Annual Audits (table 81)manyToOnechild
IndividualIndividuals - Behavior Support Plan (table 70)manyToOnechild
IndividualIndividuals - Diagnoses (table 84)manyToOnechild
IndividualIndividuals - Human Rights Committee (table 72)manyToOnechild
IndividualIndividuals - Peer Review Committee (table 71)manyToOnechild
IndividualIndividuals - Quarterlies (table 62)manyToOnechild
IndividualIndividuals - Safety & Support Measures (table 53)manyToOnechild
IndividualJoin - Individuals to Adversives, Restrictives, LoS (table 67)manyToOnechild
IndividualJoin - Individuals to Diagnoses (table 83)manyToOnechild
IndividualJoin - Individuals to Medications (table 55)manyToOnechild
IndividualNotes & Docs (table 69)manyToOnechild
Individualz - Psych Note Creation Join (table 89)manyToOnechild
Individualzz(Dep)Join - Individuals to Levels of Supervision (table 68)manyToOnechild
Individualzz(Dep)Join - Individuals to Restrictives (table 66)manyToOnechild

Scripts that run when a record is edited

2

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 15)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Checks whether these changed: BSP Word
  • Uses the value of: Date of BSP, Day Program Location, Day Program Quarterlies, Individual ID, New IP Start Date, Residential Location, Residential Quarterlies, Scripting Update
  • Sets on this record: Agency, Current Date of BSP, Date of BSP, Last IP Start Date, Location Agencies Match, Location for Name, New IP Start Date, Next BSP Date, Next IP Meeting Date, Required Quarterlies, Scripting Update
  • Changes records in Individuals - Quarterlies. That can run its scripts: After Insert (48) (new record, after save), Before Update (49) (edit, before save)

New Script (script 46)

Runs after the edit is saved. Code summary

  • Checks whether these changed: Adversives, Restrictives, LoS Consents Required, Agency, BSP Required, Check-In Notes Required, Day Program Location, Day Program Quarterlies, HRC Required, Medication Consents Required, Medications, PRC Required, Residential Location, Residential Quarterlies
  • Uses the value of: Individual ID, Scripting Update
  • Sets on this record: Scripting Update
  • Changes records in Individuals - Quarterlies. That can run its scripts: After Insert (48) (new record, after save), Before Update (49) (edit, before save)
  • Changes records in Individuals - Safety & Support Measures. That can run its scripts: After Insert (30) (new record, after save), New Script (31) (edit, before save)

What happens when a field changes

17

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Adversives, Restrictives, LoS Consents Required changes

  • New Script (46), after save:
    • If any of these changed:
      • Adversives, Restrictives, LoS Consents Required
      • or 8 other fields
      • Then:
        • runs UpdateQuarterlies()
        • looks up records in Individuals - Quarterlies
        • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"

When Agency changes

  • New Script (46), after save:
    • If any of Agency, Residential Location or Day Program Location changed:
      • runs UpdateQuarterlies(), UpdateConsents()
      • looks up records in Individuals - Quarterlies, Individuals - Safety & Support Measures
      • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"
      • on Individuals - Safety & Support Measures records: sets Script Update to "Individual Updated"

When BSP Required changes

  • New Script (46), after save:
    • If any of these changed:
      • BSP Required
      • or 8 other fields
      • Then:
        • runs UpdateQuarterlies()
        • looks up records in Individuals - Quarterlies
        • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"

When BSP Word changes

  • Before Update (15), before save:
    • If BSP Word has a value and BSP Word changed:
      • runs BSPupdate()
      • sets Current Date of BSP to Date of BSP
      • sets Next BSP Date to a value calculated from Date of BSP
      • clears Date of BSP
    • If BSP Word has a value and BSP Word changed, then in BSPupdate(), if Date of BSP is empty:
      • stops the save with the error "Please provide a new Date of BSP"
    • Otherwise, if Date of BSP has a value:
      • stops the save with the error "A BSP Submitted Date was entered without a new BSP file. Attach a (new)BSP or clear the date."

When Check-In Notes Required changes

  • New Script (46), after save:
    • If any of these changed:
      • Check-In Notes Required
      • or 8 other fields
      • Then:
        • runs UpdateQuarterlies()
        • looks up records in Individuals - Quarterlies
        • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"

When Date of BSP changes

  • Before Update (15), before save:
    • If BSP Word has a value and BSP Word changed:
      • runs BSPupdate()
      • sets Current Date of BSP to Date of BSP
      • sets Next BSP Date to a value calculated from Date of BSP
      • clears Date of BSP
    • If BSP Word has a value and BSP Word changed, then in BSPupdate(), if Date of BSP is empty:
      • stops the save with the error "Please provide a new Date of BSP"
    • Otherwise, if Date of BSP has a value:
      • stops the save with the error "A BSP Submitted Date was entered without a new BSP file. Attach a (new)BSP or clear the date."

When Day Program Location changes

  • New Script (46), after save:
    • If any of Agency, Residential Location or Day Program Location changed:
      • runs UpdateQuarterlies(), UpdateConsents()
      • looks up records in Individuals - Quarterlies, Individuals - Safety & Support Measures
      • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"
      • on Individuals - Safety & Support Measures records: sets Script Update to "Individual Updated"
  • Before Update (15), before save:
    • If Residential Location and Day Program Location are both empty:
      • stops the save with the error "Residential or Day Program Location Required"
    • If all of these are true:
      • all of these have a value:
        • Residential Location
        • Day Program Location
      • Residential Location → Agency is Day Program Location → Agency
      • Then:
        • sets Location Agencies Match to "Yes"
    • Otherwise:
      • sets Location Agencies Match to "No"
    • If Residential Location → Agency has a value:
      • sets Agency to Residential Location → Agency
      • sets Location for Name to Residential Location → Location Name
    • Otherwise, if Day Program Location → Agency has a value:
      • sets Agency to Day Program Location → Agency
      • sets Location for Name to Day Program Location → Location Name

When Day Program Quarterlies changes

  • New Script (46), after save:
    • If any of these changed:
      • Day Program Quarterlies
      • or 8 other fields
      • Then:
        • runs UpdateQuarterlies()
        • looks up records in Individuals - Quarterlies
        • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"
  • Before Update (15), before save: uses its value

When HRC Required changes

  • New Script (46), after save:
    • If any of these changed:
      • HRC Required
      • or 8 other fields
      • Then:
        • runs UpdateQuarterlies()
        • looks up records in Individuals - Quarterlies
        • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"

When Individual ID changes

When Medication Consents Required changes

  • New Script (46), after save:
    • If any of these changed:
      • Medication Consents Required
      • or 8 other fields
      • Then:
        • runs UpdateQuarterlies()
        • looks up records in Individuals - Quarterlies
        • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"

When Medications changes

  • New Script (46), after save:
    • If any of these changed:
      • Medications
      • or 8 other fields
      • Then:
        • runs UpdateQuarterlies()
        • looks up records in Individuals - Quarterlies
        • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"

When New IP Start Date changes

  • Before Update (15), before save:
    • If New IP Start Date has a value:
      • runs ipUpdate()
      • looks up records in Individuals - Quarterlies
      • on Individuals - Quarterlies records: sets Q1 Status, Q2 Status, Q3 Status, Q4 Status to "N/A" if empty; sets Active Flag (do not change) to this record's Updated
      • creates a record in Individuals - Quarterlies: Active Flag (do not change) = "Yes"; Individual = this record; IP Date = this record's New IP Start Date; Q1 Due, Q2 Due, Q3 Due, Q4 Due, Q1 Report Date, Q2 Report Date, Q3 Report Date, Q4 Report Date = calculated from this record's New IP Start Date
      • sets Last IP Start Date to New IP Start Date
      • clears New IP Start Date
      • sets Next IP Meeting Date to a value calculated from New IP Start Date

When PRC Required changes

  • New Script (46), after save:
    • If any of these changed:
      • PRC Required
      • or 8 other fields
      • Then:
        • runs UpdateQuarterlies()
        • looks up records in Individuals - Quarterlies
        • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"

When Residential Location changes

  • New Script (46), after save:
    • If any of Agency, Residential Location or Day Program Location changed:
      • runs UpdateQuarterlies(), UpdateConsents()
      • looks up records in Individuals - Quarterlies, Individuals - Safety & Support Measures
      • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"
      • on Individuals - Safety & Support Measures records: sets Script Update to "Individual Updated"
  • Before Update (15), before save:
    • If Residential Location and Day Program Location are both empty:
      • stops the save with the error "Residential or Day Program Location Required"
    • If all of these are true:
      • all of these have a value:
        • Residential Location
        • Day Program Location
      • Residential Location → Agency is Day Program Location → Agency
      • Then:
        • sets Location Agencies Match to "Yes"
    • Otherwise:
      • sets Location Agencies Match to "No"
    • If Residential Location → Agency has a value:
      • sets Agency to Residential Location → Agency
      • sets Location for Name to Residential Location → Location Name
    • Otherwise, if Day Program Location → Agency has a value:
      • sets Agency to Day Program Location → Agency
      • sets Location for Name to Day Program Location → Location Name

When Residential Quarterlies changes

  • New Script (46), after save:
    • If any of these changed:
      • Residential Quarterlies
      • or 8 other fields
      • Then:
        • runs UpdateQuarterlies()
        • looks up records in Individuals - Quarterlies
        • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"
  • Before Update (15), before save: uses its value

When Scripting Update changes

  • Before Update (15), before save:
    • If Scripting Update is "Populate ID":
      • clears Scripting Update
  • New Script (46), after save:
    • If Scripting Update is "Quarterly Update":
      • runs UpdateQuarterlies()
      • looks up records in Individuals - Quarterlies
      • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"
      • clears Scripting Update

Field use in views

79

Active HRC (field 1024)

Active PRC (field 1025)

Adversives, Restrictives, LoS (field 882)

Adversives, Restrictives, LoS Consents Required (field 1304)

Agency (field 969)

Approval Status (field 926)

Audit Email (field 1269)

Auto Counter (field 640)

Behaviorist 1 (field 759)

Behaviorist 2 (field 1238)

Behaviorist 3 (field 1376)

BSP Required (field 1305)

BSP Word (field 1001)

BSP: Rational for Update (field 971)

Case Manager (field 1123)

Check-In Notes Required (field 1302)

Completed Quarters (field 986)

Current Date of BSP (field 912)

Date of BSP (field 970)

Day Program Location (field 952)

Day Program Quarterlies (field 1303)

Days Since Last Monthly Check-In (field 874)

DDS Number (field 951)

Diagnoses (field 1260)

HRC Required (field 1240)

Individual ID (field 641)

Individual Record ID (field 1125)

Individual Status (field 653)

Initials (field 1124)

Last Audit Note Date (field 1097)

Last Check-In Note Added (field 1096)

Last HRC Decision Date (field 931)

Last IP Start Date (field 977)

Last Note (field 989)

Last NoteID (field 1076)

Last PRC Decision Date (field 923)

Location Agencies Match (field 1377)

Location for Name (field 1236)

Master Data Sheet (field 1306)

Medication Consents Required (field 1309)

Medications (field 878)

Meeting Date (field 911)

Meeting Type (field 930)

Monthly Summary Sheet (field 1307)

Name (field 1378)

New IP Start Date (field 780)

Next Annual Audit Date (field 1182)

Next BSP Date (field 910)

Next BSP Due Date (field 972)

Next HRC Date (field 927)

Next IP Meeting Date (field 1109)

Next Meeting Date (field 953)

Next PRC Date (field 924)

Note Creation (field 863)

OneDrive Folder (field 889)

PRC Packet Due Date (field 1393)

PRC Required (field 1239)

Q1 (field 982)

Q1 Due Date (field 998)

Q2 (field 983)

Q2 Due Date (field 997)

Q3 (field 984)

Q3 Due Date (field 999)

Q4 (field 985)

Q4 Due Date (field 1000)

Recommendation Notes (field 936)

Recommendations PDF (field 1003)

Required Quarterlies (field 1369)

Residential Location (field 649)

Residential Quarterlies (field 1301)

Scripting Update (field 642)

Send Note to Behaviorist (field 875)

Update HRC/PRC (field 1028)

Created (field 646)

Created By User (field 644)

Last User (field 643)

Record ID (field 647)

Updated (field 645)

Individuals: App Scripts

3 scripts. Health: grade A, score 100.

After Insert (script 14)

After a new record is savedEnabled, 114 lines
  • Author's description: Individual
  • Sets on this record: Agency, Current Date of BSP, Date of BSP, Individual Status, Location Agencies Match, Location for Name, Next BSP Date, Required Quarterlies, Scripting Update
  • Reads from this record: BSP Word, Day Program Location, Day Program Quarterlies, HRC Required, PRC Required, Residential Location, Residential Quarterlies
  • Checks for changes in: BSP Word
  • Functions: BSPRecieved, isDifferent
  • What it does, by condition:
    • Every time it runs:
      • sets Required Quarterlies to a value calculated from Day Program Quarterlies, Residential Quarterlies
      • sets Scripting Update to "Populate ID"
      • sets Individual Status to "Active" if empty
    • If Residential Location and Day Program Location are both empty:
      • stops the save with the error "Residential or Day Program Location Required"
    • If all of these are true:
      • all of these have a value:
        • Residential Location
        • Day Program Location
      • Residential Location → Agency is Day Program Location → Agency
      • Then:
        • sets Location Agencies Match to "Yes"
    • Otherwise:
      • sets Location Agencies Match to "No"
    • If Residential Location → Agency has a value:
      • sets Agency to Residential Location → Agency
      • sets Location for Name to Residential Location → Location Name
    • Otherwise, if Day Program Location → Agency has a value:
      • sets Agency to Day Program Location → Agency
      • sets Location for Name to Day Program Location → Location Name
    • If BSP Word has a value and BSP Word changed:
      • runs BSPRecieved()
      • sets Current Date of BSP to Date of BSP
      • sets Next BSP Date to a value calculated from Date of BSP
      • clears Date of BSP
      • In BSPRecieved(), if Date of BSP is empty:
        • stops the save with the error "Please provide a new Date of BSP"
    • Otherwise, if Date of BSP has a value:
      • stops the save with the error "A BSP Submitted Date was entered without a new BSP file. Attach a (new)BSP or clear the date."
    • If HRC Required is empty:
      • stops the save with the error "Please enter if HRC is required"
    • If PRC Required is empty:
      • stops the save with the error "Please enter if PRC is required"
  • Code: After Insert

Before Update (script 15)

Before an edited record is saved. It can change the record being editedEnabled, 226 lines
  • Author's description: Individual
  • Sets on this record: Agency, Current Date of BSP, Date of BSP, Last IP Start Date, Location Agencies Match, Location for Name, New IP Start Date, Next BSP Date, Next IP Meeting Date, Required Quarterlies, Scripting Update
  • Reads from this record: BSP Word, Day Program Location, Day Program Quarterlies, Individual ID, Residential Location, Residential Quarterlies, Updated
  • Checks for changes in: BSP Word
  • Loads records from: Individuals - Quarterlies
  • Creates or saves records in: Individuals - Quarterlies
  • Sets fields on other records: Active Flag (do not change), Q1 Status, Q2 Status, Q3 Status, Q4 Status
  • Functions: addNMonths, BSPupdate, ipUpdate, isDifferent, ListChecker
  • What it does, by condition:
    • Every time it runs:
      • runs ListChecker()
      • sets Required Quarterlies to a value calculated from Day Program Quarterlies, Residential Quarterlies
    • If Residential Location and Day Program Location are both empty:
      • stops the save with the error "Residential or Day Program Location Required"
    • If all of these are true:
      • all of these have a value:
        • Residential Location
        • Day Program Location
      • Residential Location → Agency is Day Program Location → Agency
      • Then:
        • sets Location Agencies Match to "Yes"
    • Otherwise:
      • sets Location Agencies Match to "No"
    • If Scripting Update is "Populate ID":
      • clears Scripting Update
    • If New IP Start Date has a value:
      • runs ipUpdate()
      • looks up records in Individuals - Quarterlies
      • on Individuals - Quarterlies records: sets Q1 Status, Q2 Status, Q3 Status, Q4 Status to "N/A" if empty; sets Active Flag (do not change) to this record's Updated
      • creates a record in Individuals - Quarterlies: Active Flag (do not change) = "Yes"; Individual = this record; IP Date = this record's New IP Start Date; Q1 Due, Q2 Due, Q3 Due, Q4 Due, Q1 Report Date, Q2 Report Date, Q3 Report Date, Q4 Report Date = calculated from this record's New IP Start Date
      • sets Last IP Start Date to New IP Start Date
      • clears New IP Start Date
      • sets Next IP Meeting Date to a value calculated from New IP Start Date
    • If Residential Location → Agency has a value:
      • sets Agency to Residential Location → Agency
      • sets Location for Name to Residential Location → Location Name
    • Otherwise, if Day Program Location → Agency has a value:
      • sets Agency to Day Program Location → Agency
      • sets Location for Name to Day Program Location → Location Name
    • If BSP Word has a value and BSP Word changed:
      • runs BSPupdate()
      • sets Current Date of BSP to Date of BSP
      • sets Next BSP Date to a value calculated from Date of BSP
      • clears Date of BSP
      • In BSPupdate(), if Date of BSP is empty:
        • stops the save with the error "Please provide a new Date of BSP"
    • Otherwise, if Date of BSP has a value:
      • stops the save with the error "A BSP Submitted Date was entered without a new BSP file. Attach a (new)BSP or clear the date."
    • In ListChecker(), if theList.contains("N/A") and theList is not Checker:
      • stops the save with the error "N/A cannot be selected with other Quarters"
  • Code: Before Update

New Script (script 46)

After an edited record is savedEnabled, 84 lines
  • Author's description: Individual
  • Sets on this record: Scripting Update
  • Reads from this record: Adversives, Restrictives, LoS Consents Required, Agency, BSP Required, Check-In Notes Required, Day Program Location, Day Program Quarterlies, HRC Required, Individual ID, Medication Consents Required, Medications, PRC Required, Residential Location, Residential Quarterlies
  • Checks for changes in: Adversives, Restrictives, LoS Consents Required, Agency, BSP Required, Check-In Notes Required, Day Program Location, Day Program Quarterlies, HRC Required, Medication Consents Required, Medications, PRC Required, Residential Location, Residential Quarterlies
  • Loads records from: Individuals - Quarterlies, Individuals - Safety & Support Measures
  • Sets fields on other records: Script Update
  • Functions: checkDifference, isDifferent, UpdateConsents, UpdateQuarterlies
  • What it does, by condition:
    • If any of Agency, Residential Location or Day Program Location changed:
      • runs UpdateQuarterlies(), UpdateConsents()
      • looks up records in Individuals - Quarterlies, Individuals - Safety & Support Measures
      • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"
      • on Individuals - Safety & Support Measures records: sets Script Update to "Individual Updated"
    • If any of these changed:
      • Adversives, Restrictives, LoS Consents Required
      • BSP Required
      • Check-In Notes Required
      • Day Program Quarterlies
      • HRC Required
      • Medication Consents Required
      • Medications
      • PRC Required
      • Residential Quarterlies
      • Then:
        • runs UpdateQuarterlies()
        • looks up records in Individuals - Quarterlies
        • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"
    • If Scripting Update is "Quarterly Update":
      • runs UpdateQuarterlies()
      • looks up records in Individuals - Quarterlies
      • on Individuals - Quarterlies records: sets Script Update to "Individual Updated"
      • clears Scripting Update
  • Code: New Script

Individuals: Views (table 50)

50 views, 48 with a filter. 33 filters on this table, 1 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 158)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (79)

Record ID, Agency, Auto Counter, Behaviorist 1, Behaviorist 2, Behaviorist 3, Case Manager, Day Program Location, Residential Location, Last User, Created By User, Updated, Created, Individual ID, Individual Record ID, Location for Name, DDS Number, Initials, Name, Location Agencies Match, Scripting Update, Individual Status, Meeting Type, Approval Status, Meeting Date, Next Meeting Date, Recommendation Notes, Recommendations PDF, Active HRC, Active PRC, Update HRC/PRC, Date of BSP, Next BSP Due Date, BSP: Rational for Update, Current Date of BSP, BSP Word, Master Data Sheet, Monthly Summary Sheet, Next BSP Date, Last PRC Decision Date, Next PRC Date, PRC Packet Due Date, Last HRC Decision Date, Next HRC Date, Note Creation, Last NoteID, Last Note, PRC Required, HRC Required, BSP Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Check-In Notes Required, Residential Quarterlies, Day Program Quarterlies, Required Quarterlies, Send Note to Behaviorist, Last Check-In Note Added, Last Audit Note Date, Days Since Last Monthly Check-In, Medications, Adversives, Restrictives, LoS, Diagnoses, OneDrive Folder, New IP Start Date, Last IP Start Date, Next IP Meeting Date, Q1, Q2, Q3, Q4, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, Next Annual Audit Date, Completed Quarters, Consent Types Needed, Audit Email

Active Individuals (view 160)

Filter: Active Individuals (filter 81)

Filter: Active Individuals (filter 81)

Shows records where Individual Status is "Active".

Columns (11): Record ID, Residential Location, Day Program Location, Case Manager, Behaviorist 1, Individual Status, Last User, Created By User, Updated, Created, Scripting Update

Agency Audit Tracking Sheet (view 387)

Filter: Active Individuals (filter 81)

Filter: Active Individuals (filter 81)

Shows records where Individual Status is "Active".

Columns (33)

Record ID, Behaviorist 1, Last Check-In Note Added, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, PRC Packet Due Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Next Annual Audit Date, Next BSP Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Check-In Notes Required, BSP Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Required Quarterlies, DDS Number, Consent Types Needed, Residential Location, Address, Agency, Location Agencies Match, BSP Word

Agency Overview Report (view 391)

Filter: Agency Overview Report (filter 237)

Filter: Agency Overview Report (filter 237)

Shows records where User Group on the linked Agencies record is one of the viewer's groups.

Columns (22)

Record ID, Residential Location, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Required Quarterlies, Consent Types Needed

All ACORD Individuals (view 358)

Filter: All ACORD Individuals (filter 210)

Filter: All ACORD Individuals (filter 210)

Shows records where Agency ID on the linked Agencies record is 18.

Columns (15)

Record ID, DDS Number, Residential Location, Current Date of BSP, Next BSP Date, Last PRC Decision Date, Next PRC Date, Individual Status, Last User, Last HRC Decision Date, Next HRC Date, Created By User, Updated, Created, Scripting Update

All CCAOH Individuals (view 306)

Filter: All CCAOH Individuals (filter 164)

Filter: All CCAOH Individuals (filter 164)

Shows records where Agency ID on the linked Agencies record is 11.

Columns (15)

Record ID, DDS Number, Residential Location, Current Date of BSP, Next BSP Date, Last PRC Decision Date, Next PRC Date, Individual Status, Last User, Last HRC Decision Date, Next HRC Date, Created By User, Updated, Created, Scripting Update

All GIL Foundation Individuals (view 307)

Filter: All GIL Foundation Individuals (filter 165)

Filter: All GIL Foundation Individuals (filter 165)

Shows records where Agency ID on the linked Agencies record is 16.

Columns (15)

Record ID, DDS Number, Residential Location, Current Date of BSP, Next BSP Date, Last PRC Decision Date, Next PRC Date, Individual Status, Last User, Last HRC Decision Date, Next HRC Date, Created By User, Updated, Created, Scripting Update

All IMPACT Individuals (view 346)

Filter: All IMPACT Individuals (filter 199)

Filter: All IMPACT Individuals (filter 199)

Shows records where Agency ID on the linked Agencies record is 15.

Columns (15)

Record ID, DDS Number, Residential Location, Current Date of BSP, Next BSP Date, Last PRC Decision Date, Next PRC Date, Individual Status, Last User, Last HRC Decision Date, Next HRC Date, Created By User, Updated, Created, Scripting Update

All Individuals (view 176)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (15)

Record ID, DDS Number, Residential Location, Current Date of BSP, Next BSP Date, Last PRC Decision Date, Next PRC Date, Individual Status, Last User, Last HRC Decision Date, Next HRC Date, Created By User, Updated, Created, Scripting Update

Audit Tracking Sheet (view 386)

Filter: Active Individuals (filter 81)

Filter: Active Individuals (filter 81)

Shows records where Individual Status is "Active".

Columns (35)

Record ID, Behaviorist 1, Agency, Last Check-In Note Added, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Next Annual Audit Date, Next BSP Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Check-In Notes Required, BSP Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Required Quarterlies, DDS Number, Consent Types Needed, Residential Location, Address, Send Note to Behaviorist, Day Program Location, Location Agencies Match, BSP Word

Audit Tracking Sheet - BSPs (view 388)

Filter: Individuals Needing BSP Review (filter 110)

Filter: Individuals Needing BSP Review (filter 110)

Shows records where all of these are true:

  • Individual Status is "Active"
  • at least one of these is true:
    • Next BSP Date is on or before next month
    • Next BSP Date is empty
Columns (32)

Record ID, Behaviorist 1, Agency, Last Check-In Note Added, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Next Annual Audit Date, Next BSP Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Check-In Notes Required, BSP Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Required Quarterlies, DDS Number, Consent Types Needed, Residential Location, Address, BSP Word

Audit Tracking Sheet - Director (view 405)

Filter: Active Individuals - Director (filter 258)

Filter: Active Individuals - Director (filter 258)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Application User on the linked Employees record is the person viewing the list
Columns (35)

Record ID, Behaviorist 1, Agency, Last Check-In Note Added, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Next Annual Audit Date, Next BSP Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Check-In Notes Required, BSP Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Required Quarterlies, DDS Number, Consent Types Needed, Residential Location, Address, Send Note to Behaviorist, Day Program Location, Location Agencies Match, BSP Word

BSP Submission (Workato) (view 240)

Filter: BSP Submission (Workato) (filter 125)

Filter: BSP Submission (Workato) (filter 125)

Shows records where all of these are true:

  • Date of BSP is not empty
  • BSP: Rational for Update is not empty
  • BSP Word is not empty

Columns (11): Record ID, Behaviorist 1, Day Program Location, Date of BSP, Next BSP Due Date, BSP: Rational for Update, BSP Word, Last User, Created By User, Updated, Created

Guideline Individuals (view 447)

Filter: Guideline Individuals (filter 313)

Filter: Guideline Individuals (filter 313)

Shows records where all of these are true:

  • Individual Status is "Active"
  • PRC Required is "No"
  • HRC Required is "No"
  • Residential Quarterlies is "N/A"
  • Day Program Quarterlies is "N/A"
Columns (34)

Record ID, Behaviorist 1, Agency, Last Check-In Note Added, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Next Annual Audit Date, Next BSP Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Check-In Notes Required, BSP Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Required Quarterlies, DDS Number, Consent Types Needed, Residential Location, Address, Send Note to Behaviorist, Day Program Location, Location Agencies Match

Individuals Needing BSP Review - Behaviorist (view 233)

Filter: My Individuals Needing BSP Review - Behaviorist (filter 116)

Filter: My Individuals Needing BSP Review - Behaviorist (filter 116)

Shows records where all of these are true:

  • Individual Status is "Active"
  • BSP Required is "Yes"
  • at least one of these is true:
    • Next BSP Date is on or before next month
    • Next BSP Date is empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Behaviorist 1, Residential Location, Current Date of BSP, Next BSP Date, Medications, Adversives, Restrictives, LoS

Individuals Needing BSP Review - Behaviorist - By Agency (view 285)

Filter: My Individuals Needing BSP Review - Behaviorist (filter 116)

Filter: My Individuals Needing BSP Review - Behaviorist (filter 116)

Shows records where all of these are true:

  • Individual Status is "Active"
  • BSP Required is "Yes"
  • at least one of these is true:
    • Next BSP Date is on or before next month
    • Next BSP Date is empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Behaviorist 1, Residential Location, Current Date of BSP, Next BSP Date, Medications, Adversives, Restrictives, LoS

Individuals Needing BSP Review - By Agency (view 230)

Filter: Individuals Needing BSP Review (filter 110)

Filter: Individuals Needing BSP Review (filter 110)

Shows records where all of these are true:

  • Individual Status is "Active"
  • at least one of these is true:
    • Next BSP Date is on or before next month
    • Next BSP Date is empty

Columns (8): Record ID, Behaviorist 1, Residential Location, Current Date of BSP, Next BSP Date, Medications, Adversives, Restrictives, LoS, Agency

Individuals Needing BSP Review - By Agency - Director (view 410)

Filter: Individuals Needing BSP Review - Director (filter 261)

Filter: Individuals Needing BSP Review - Director (filter 261)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Application User on the linked Employees record is the person viewing the list
  • at least one of these is true:
    • Next BSP Date is on or before next month
    • Next BSP Date is empty

Columns (8): Record ID, Behaviorist 1, Residential Location, Current Date of BSP, Next BSP Date, Medications, Adversives, Restrictives, LoS, Agency

Individuals Needing BSP Review - By Behaviorist (view 274)

Filter: Individuals Needing BSP Review (filter 110)

Filter: Individuals Needing BSP Review (filter 110)

Shows records where all of these are true:

  • Individual Status is "Active"
  • at least one of these is true:
    • Next BSP Date is on or before next month
    • Next BSP Date is empty

Columns (8): Record ID, Behaviorist 1, Residential Location, Current Date of BSP, Next BSP Date, Medications, Adversives, Restrictives, LoS, Agency

Individuals Needing BSP Review - By Behaviorist - Director (view 411)

Filter: Individuals Needing BSP Review - Director (filter 261)

Filter: Individuals Needing BSP Review - Director (filter 261)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Application User on the linked Employees record is the person viewing the list
  • at least one of these is true:
    • Next BSP Date is on or before next month
    • Next BSP Date is empty

Columns (8): Record ID, Behaviorist 1, Residential Location, Current Date of BSP, Next BSP Date, Medications, Adversives, Restrictives, LoS, Agency

Individuals Needing BSP Review - Director (view 437)

Filter: My Individuals Needing BSP Review - Behaviorist (filter 116)

Filter: My Individuals Needing BSP Review - Behaviorist (filter 116)

Shows records where all of these are true:

  • Individual Status is "Active"
  • BSP Required is "Yes"
  • at least one of these is true:
    • Next BSP Date is on or before next month
    • Next BSP Date is empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Behaviorist 1, Residential Location, Current Date of BSP, Next BSP Date, Medications, Adversives, Restrictives, LoS

Individuals Needing HRC Review - Behaviorist (view 235)

Filter: My Individuals Needing HRC Review - Behaviorist (filter 120)

Filter: My Individuals Needing HRC Review - Behaviorist (filter 120)

Shows records where all of these are true:

  • HRC Required is "Yes"
  • Individual Status is "Active"
  • at least one of these is true:
    • Next HRC Date is on or before next month
    • Next HRC Date is empty
  • at least one of these is true:
    • Adversives, Restrictives, LoS is not "None"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (6): Record ID, Behaviorist 1, Residential Location, Last HRC Decision Date, Next PRC Date, Adversives, Restrictives, LoS

Individuals Needing HRC Review - Behaviorist - By Agency (view 287)

Filter: My Individuals Needing HRC Review - Behaviorist (filter 120)

Filter: My Individuals Needing HRC Review - Behaviorist (filter 120)

Shows records where all of these are true:

  • HRC Required is "Yes"
  • Individual Status is "Active"
  • at least one of these is true:
    • Next HRC Date is on or before next month
    • Next HRC Date is empty
  • at least one of these is true:
    • Adversives, Restrictives, LoS is not "None"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (7): Record ID, Agency, Behaviorist 1, Residential Location, Last HRC Decision Date, Next PRC Date, Adversives, Restrictives, LoS

Individuals Needing HRC Review - By Agency (view 232)

Filter: Individuals Needing HRC Review (filter 114)

Filter: Individuals Needing HRC Review (filter 114)

Shows records where all of these are true:

  • HRC Required is "Yes"
  • Individual Status is "Active"
  • at least one of these is true:
    • Next HRC Date is on or before next month
    • Next HRC Date is empty
  • at least one of these is true:
    • Adversives, Restrictives, LoS is not "None"

Columns (7): Record ID, Agency, Behaviorist 1, Residential Location, Last HRC Decision Date, Next PRC Date, Adversives, Restrictives, LoS

Individuals Needing HRC Review - By Agency - Director (view 414)

Filter: Individuals Needing HRC Review - Director (filter 266)

Filter: Individuals Needing HRC Review - Director (filter 266)

Shows records where all of these are true:

  • HRC Required is "Yes"
  • Individual Status is "Active"
  • Application User on the linked Employees record is the person viewing the list
  • at least one of these is true:
    • Next HRC Date is on or before next month
    • Next HRC Date is empty
  • at least one of these is true:
    • Adversives, Restrictives, LoS is not "None"

Columns (7): Record ID, Agency, Behaviorist 1, Residential Location, Last HRC Decision Date, Next PRC Date, Adversives, Restrictives, LoS

Individuals Needing HRC Review - By Behaviorist (view 276)

Filter: Individuals Needing HRC Review (filter 114)

Filter: Individuals Needing HRC Review (filter 114)

Shows records where all of these are true:

  • HRC Required is "Yes"
  • Individual Status is "Active"
  • at least one of these is true:
    • Next HRC Date is on or before next month
    • Next HRC Date is empty
  • at least one of these is true:
    • Adversives, Restrictives, LoS is not "None"

Columns (7): Record ID, Agency, Behaviorist 1, Residential Location, Last HRC Decision Date, Next PRC Date, Adversives, Restrictives, LoS

Individuals Needing HRC Review - By Behaviorist - Director (view 415)

Filter: Individuals Needing HRC Review - Director (filter 266)

Filter: Individuals Needing HRC Review - Director (filter 266)

Shows records where all of these are true:

  • HRC Required is "Yes"
  • Individual Status is "Active"
  • Application User on the linked Employees record is the person viewing the list
  • at least one of these is true:
    • Next HRC Date is on or before next month
    • Next HRC Date is empty
  • at least one of these is true:
    • Adversives, Restrictives, LoS is not "None"

Columns (7): Record ID, Agency, Behaviorist 1, Residential Location, Last HRC Decision Date, Next PRC Date, Adversives, Restrictives, LoS

Individuals Needing Monthly Check-Ins - Behaviorist (45 Days) (view 216)

Filter: My Individuals Without Check-Ins for 45 Days - Behaviorist (filter 101)

Filter: My Individuals Without Check-Ins for 45 Days - Behaviorist (filter 101)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Days Since Last Monthly Check-In is at least 45.0
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Days Since Last Monthly Check-In, Behaviorist 1, Residential Location, New IP Start Date, Medications, Adversives, Restrictives, LoS, Agency

Individuals Needing Monthly Check-Ins - Behaviorist (45 Days) - By Agency (view 283)

Filter: My Individuals Without Check-Ins for 45 Days - Behaviorist (filter 101)

Filter: My Individuals Without Check-Ins for 45 Days - Behaviorist (filter 101)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Days Since Last Monthly Check-In is at least 45.0
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Days Since Last Monthly Check-In, Behaviorist 1, Residential Location, New IP Start Date, Medications, Adversives, Restrictives, LoS, Agency

Individuals Needing PRC Review - Behaviorist (view 234)

Filter: My Individuals Needing PRC Review - Behaviorist (filter 118)

Filter: My Individuals Needing PRC Review - Behaviorist (filter 118)

Shows records where all of these are true:

  • PRC Required is "Yes"
  • Medications is not "None"
  • Individual Status is "Active"
  • at least one of these is true:
    • Next PRC Date is on or before next week
    • Next PRC Date is empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (7): Record ID, Agency, Behaviorist 1, Residential Location, Last PRC Decision Date, Next PRC Date, Medications

Individuals Needing PRC Review - Behaviorist - By Agency (view 289)

Filter: My Individuals Needing PRC Review - Behaviorist (filter 118)

Filter: My Individuals Needing PRC Review - Behaviorist (filter 118)

Shows records where all of these are true:

  • PRC Required is "Yes"
  • Medications is not "None"
  • Individual Status is "Active"
  • at least one of these is true:
    • Next PRC Date is on or before next week
    • Next PRC Date is empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (7): Record ID, Agency, Behaviorist 1, Residential Location, Last PRC Decision Date, Next PRC Date, Medications

Individuals Needing PRC Review - By Agency (view 231)

Filter: Individuals Needing PRC Review (filter 112)

Filter: Individuals Needing PRC Review (filter 112)

Shows records where all of these are true:

  • PRC Required is "Yes"
  • Medications is not "None"
  • Individual Status is "Active"
  • at least one of these is true:
    • Next PRC Date is on or before next week
    • Next PRC Date is empty

Columns (7): Record ID, Behaviorist 1, Residential Location, Last PRC Decision Date, Next PRC Date, Medications, Agency

Individuals Needing PRC Review - By Agency - Director (view 418)

Filter: Individuals Needing PRC Review - Director (filter 272)

Filter: Individuals Needing PRC Review - Director (filter 272)

Shows records where all of these are true:

  • PRC Required is "Yes"
  • Medications is not "None"
  • Individual Status is "Active"
  • Application User on the linked Employees record is the person viewing the list
  • at least one of these is true:
    • Next PRC Date is on or before next week
    • Next PRC Date is empty

Columns (7): Record ID, Behaviorist 1, Residential Location, Last PRC Decision Date, Next PRC Date, Medications, Agency

Individuals Needing PRC Review - By Behaviorist (view 278)

Filter: Individuals Needing PRC Review (filter 112)

Filter: Individuals Needing PRC Review (filter 112)

Shows records where all of these are true:

  • PRC Required is "Yes"
  • Medications is not "None"
  • Individual Status is "Active"
  • at least one of these is true:
    • Next PRC Date is on or before next week
    • Next PRC Date is empty

Columns (7): Record ID, Behaviorist 1, Residential Location, Last PRC Decision Date, Next PRC Date, Medications, Agency

Individuals Needing PRC Review - By Behaviorist - Director (view 419)

Filter: Individuals Needing PRC Review - Director (filter 272)

Filter: Individuals Needing PRC Review - Director (filter 272)

Shows records where all of these are true:

  • PRC Required is "Yes"
  • Medications is not "None"
  • Individual Status is "Active"
  • Application User on the linked Employees record is the person viewing the list
  • at least one of these is true:
    • Next PRC Date is on or before next week
    • Next PRC Date is empty

Columns (7): Record ID, Behaviorist 1, Residential Location, Last PRC Decision Date, Next PRC Date, Medications, Agency

Individuals to Update (Workato) (view 402)

Filter: Individuals to Update (Workato) (filter 250)

Filter: Individuals to Update (Workato) (filter 250)

Shows records where Agency Updated on the linked Agencies record is "Yes".

Columns (12)

Record ID, Agency, Behaviorist 1, Behaviorist 2, PRC Required, HRC Required, BSP Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Check-In Notes Required, Residential Quarterlies, Day Program Quarterlies

Individuals Without Monthly Check-Ins for 45 Days - By Agency (view 211)

Filter: Individuals Without Audits for 45 Days (filter 96)

Filter: Individuals Without Audits for 45 Days (filter 96)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Days Since Last Monthly Check-In is at least 45.0

Columns (8): Record ID, Agency, Days Since Last Monthly Check-In, Behaviorist 1, Residential Location, New IP Start Date, Medications, Adversives, Restrictives, LoS

Individuals Without Monthly Check-Ins for 45 Days - By Agency - Director (view 406)

Filter: Individuals Without Audits for 45 Days - Director (filter 259)

Filter: Individuals Without Audits for 45 Days - Director (filter 259)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Days Since Last Monthly Check-In is at least 45.0
  • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Days Since Last Monthly Check-In, Behaviorist 1, Residential Location, New IP Start Date, Medications, Adversives, Restrictives, LoS

Individuals Without Monthly Check-Ins for 45 Days - By Behaviorist (view 272)

Filter: Individuals Without Audits for 45 Days (filter 96)

Filter: Individuals Without Audits for 45 Days (filter 96)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Days Since Last Monthly Check-In is at least 45.0

Columns (8): Record ID, Agency, Days Since Last Monthly Check-In, Behaviorist 1, Residential Location, New IP Start Date, Medications, Adversives, Restrictives, LoS

Individuals Without Monthly Check-Ins for 45 Days - By Behaviorist - Director (view 407)

Filter: Individuals Without Audits for 45 Days - Director (filter 259)

Filter: Individuals Without Audits for 45 Days - Director (filter 259)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Days Since Last Monthly Check-In is at least 45.0
  • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Days Since Last Monthly Check-In, Behaviorist 1, Residential Location, New IP Start Date, Medications, Adversives, Restrictives, LoS

My Audit Tracking Sheet - Behaviorist (view 389)

Filter: My Audit Tracking Sheet - Behaviorist (filter 131)

Filter: My Audit Tracking Sheet - Behaviorist (filter 131)

Shows records where all of these are true:

  • Individual Status is "Active"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
Columns (32)

Record ID, Behaviorist 1, Agency, Last Check-In Note Added, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Next Annual Audit Date, Next BSP Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Check-In Notes Required, BSP Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Required Quarterlies, DDS Number, Consent Types Needed, Residential Location, Address, BSP Word

My Audit Tracking Sheet - Director (view 440)

Filter: My Audit Tracking Sheet - Director (filter 301)

Filter: My Audit Tracking Sheet - Director (filter 301)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Application User on the linked Employees record is the person viewing the list
Columns (32)

Record ID, Behaviorist 1, Agency, Last Check-In Note Added, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Next Annual Audit Date, Next BSP Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Check-In Notes Required, BSP Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Required Quarterlies, DDS Number, Consent Types Needed, Residential Location, Address, BSP Word

My Audit Tracking Sheet - Secondary Behaviorist (view 390)

Filter: My Audit Tracking Sheet - Secondary Behaviorist (filter 161)

Filter: My Audit Tracking Sheet - Secondary Behaviorist (filter 161)

Shows records where Application User on the linked Employees record is the person viewing the list.

Columns (32)

Record ID, Behaviorist 1, Agency, Last Check-In Note Added, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Next Annual Audit Date, Next BSP Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Check-In Notes Required, BSP Required, Medication Consents Required, Adversives, Restrictives, LoS Consents Required, Required Quarterlies, DDS Number, Consent Types Needed, Residential Location, Address, BSP Word

My Individuals - Behaviorist (view 210)

Filter: My Individuals - Behaviorist (filter 95)

Filter: My Individuals - Behaviorist (filter 95)

Shows records where all of these are true:

  • Individual Status is "Active"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (6): Record ID, Residential Location, New IP Start Date, Medications, Adversives, Restrictives, LoS, Days Since Last Monthly Check-In

My Individuals - Director (view 441)

Filter: My Individuals - Director (filter 303)

Filter: My Individuals - Director (filter 303)

Shows records where all of these are true:

  • Individual Status is "Active"
  • Application User on the linked Employees record is the person viewing the list

Columns (6): Record ID, Residential Location, New IP Start Date, Medications, Adversives, Restrictives, LoS, Days Since Last Monthly Check-In

Overview Report: ACORD (view 359)

Filter: Overview Report: ACORD (filter 211)

Filter: Overview Report: ACORD (filter 211)

Shows records where Agency ID on the linked Agencies record is 18.

Columns (19)

Record ID, Residential Location, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Consent Types Needed

Overview Report: CCAOH (view 325)

Filter: Overview Report: CCAOH (filter 183)

Filter: Overview Report: CCAOH (filter 183)

Shows records where Agency ID on the linked Agencies record is 11.

Columns (19)

Record ID, Residential Location, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Consent Types Needed

Overview Report: GIL Foundation Incorporated (view 308)

Filter: Overview Report: GIL Foundation Incorporated (filter 166)

Filter: Overview Report: GIL Foundation Incorporated (filter 166)

Shows records where Agency ID on the linked Agencies record is 16.

Columns (19)

Record ID, Residential Location, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Consent Types Needed

Overview Report: IMPACT (view 347)

Filter: Overview Report: IMPACT (filter 200)

Filter: Overview Report: IMPACT (filter 200)

Shows records where Agency ID on the linked Agencies record is 15.

Columns (19)

Record ID, Residential Location, Q1, Q2, Q3, Q4, Current Date of BSP, Medications/Consents, Next PRC Date, Adversives, Restrictives, LoS/Consents, Next HRC Date, Completed Quarters, Q1 Due Date, Q2 Due Date, Q3 Due Date, Q4 Due Date, PRC Required, HRC Required, Consent Types Needed

PRC/HRC Submission (Workato) (view 241)

Filter: PRC/HRC Submission (Workato) (filter 126)

Filter: PRC/HRC Submission (Workato) (filter 126)

Shows records where Update HRC/PRC is not empty.

Columns (15): Record ID, Behaviorist 1, Day Program Location, Meeting Type, Meeting Date, Next Meeting Date, Recommendation Notes, Recommendations PDF, Update HRC/PRC, Active HRC, Active PRC, Last User, Updated, Created By User, Created

Filters not used by a view

1

These filters exist on the table but no view uses them. They may be left over, or used only from a dashboard or when someone filters a list by hand.

My Individuals Needing BSP Review - Director (filter 294)

Shows records where all of these are true:

  • Individual Status is "Active"
  • BSP Required is "Yes"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
  • at least one of these is true:
    • Next BSP Date is on or before next month
    • Next BSP Date is empty

Individuals - Annual AuditsA

22 fields2 scripts11 views

Individuals - Annual Audits (table 81)

22 fields, 5 system fields, 2 App Scripts, 11 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViewsSet by scripts
Assigned AuditorLink to another table118111Before Update (66), New Script (67)
Audit CompletedDrop-down11731
Audit Completed ByShort text11741Before Update (66)
Audit Completed OnDate and time11761Before Update (66)
Audit Correction ApprovedDrop-down11561
Audit Correction Approved ByShort text12541Before Update (66)
Audit Correction Approved OnDate and time12561Before Update (66)
Audit Due DateDate117710
Audit Notification EmailShort text12701Before Update (66)
Auto CounterAuto numberyes11531
CompleteCheckbox12521
Deficiencies RemediedDrop-down11541
Deficiencies Remedied ByShort text12551Before Update (66)
Deficiencies Remedied NotesLong text11551
Deficiencies Remedied OnDate and time12571Before Update (66)
DeficientCheckbox12536
IndividualLink to another table117810
Individual Audit DateDate (calculated)11801
Items for EmailLong text12732Before Update (66)
Overall Audit NotesLong text117511
Script UpdateShort text12592
StatusLong text (triggered)12582
CreatedDate and time (system)117110
Created By UserUser (system)116910
Last UserUser (system)116810
Record IDRecord ID (system)117211
UpdatedDate and time (system)117010

Calculated and triggered fields

2

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Individual Audit Date formula (field 1180)

  • Kind: calculated date
  • Reads: Audit Completed, Audit Due Date
if(isblank({Audit Completed}),{Audit Due Date},null())

Status formula (field 1258)

  • Kind: triggered paragraph
  • Reads: Audit Completed, Audit Correction Approved, Deficiencies Remedied, Deficient
//{Audit Completed}
//{Deficiencies Remedied}
//{Audit Correction Approved}
//{Deficient}

if(isblank({Audit Completed}),"Open",null()) &

if(and(not(isblank({Audit Completed})),
        isblank({Deficient})
        ),"Completed",null()) &

if(and(not(isblank({Audit Completed})),
        not(isblank({Deficient})),
        isblank({Deficiencies Remedied})
        ),"Deficient",null()) &

if(and(not(isblank({Audit Completed})),
        not(isblank({Deficient})),
        not(isblank({Deficiencies Remedied})),
        isblank({Audit Correction Approved})
        ),"Corrected Needing Approval",null()) &

if(and(not(isblank({Audit Completed})),
        not(isblank({Deficient})),
        not(isblank({Deficiencies Remedied})),
        not(isblank({Audit Correction Approved}))
        ),"Approved",null())

Relationships

Link fieldRelated tableRelationshipRelated table is
Assigned AuditorEmployees (table 59)manyToOneparent
IndividualIndividuals (table 50)manyToOneparent

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 66)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Checks whether these changed: Audit Completed, Audit Correction Approved, Complete, Deficiencies Remedied, Deficient
  • Uses the value of: Assigned Auditor, Audit Completed By, Individual
  • Sets on this record: Assigned Auditor, Audit Completed By, Audit Completed On, Audit Correction Approved By, Audit Correction Approved On, Audit Notification Email, Deficiencies Remedied By, Deficiencies Remedied On, Items for Email

What happens when a field changes

8

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Assigned Auditor changes

  • Before Update (66), before save:
    • If Assigned Auditor is empty:
      • sets Assigned Auditor to Individual → Agency → Data Coordinator

When Audit Completed changes

  • Before Update (66), before save:
    • If Audit Completed changed:
      • runs WhoandWhen()
      • sets Audit Notification Email to a value calculated from Individual → Agency → Data Coordinator → Email, Individual → Agency → Director → Email
      • sets Audit Notification Email to a value calculated from Individual → Agency → Director → Email
      • sets Audit Notification Email to a value calculated from Individual → Agency → Data Coordinator → Email
    • If Audit Completed changed, then if Audit Completed has a value:
      • runs AuditListChecker()
      • sets Items for Email to a value calculated from Complete, Deficient
    • If Audit Completed changed, then if Audit Completed has a value, then in AuditListChecker(), if Overlap:
      • stops the save with the error "The following items cannot be in both columns: ${Overlap.join(', ')}"
    • If Audit Completed changed, then if Audit Completed has a value, then in AuditListChecker(), if Checker.sort() is not Selected.sort():
      • stops the save with the error "Please select one of each category from the Complete and Not Complete columns"
    • If Audit Completed changed, then in WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
      • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
      • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
    • If Audit Completed changed, then in WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
      • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By
    • If Deficiencies Remedied changed, then in WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
      • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
      • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
    • If Deficiencies Remedied changed, then in WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
      • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By
    • If Audit Correction Approved changed, then in WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
      • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
      • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
    • If Audit Correction Approved changed, then in WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
      • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By

When Audit Completed By changes

  • Before Update (66), before save:
    • If Audit Completed By has a value and Complete or Deficient changed:
      • stops the save with the error "Cannot change Complete or Deficient while Audit is Completed."

When Audit Correction Approved changes

  • Before Update (66), before save:
    • If Audit Completed changed, then in WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
      • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
      • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
    • If Audit Completed changed, then in WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
      • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By
    • If Deficiencies Remedied changed, then in WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
      • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
      • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
    • If Deficiencies Remedied changed, then in WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
      • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By
    • If Audit Correction Approved changed:
      • runs WhoandWhen()
    • If Audit Correction Approved changed, then in WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
      • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
      • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
    • If Audit Correction Approved changed, then in WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
      • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By

When Complete changes

  • Before Update (66), before save:
    • If Audit Completed By has a value and Complete or Deficient changed:
      • stops the save with the error "Cannot change Complete or Deficient while Audit is Completed."

When Deficiencies Remedied changes

  • Before Update (66), before save:
    • If Audit Completed changed, then in WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
      • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
      • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
    • If Audit Completed changed, then in WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
      • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By
    • If Deficiencies Remedied changed:
      • runs WhoandWhen()
    • If Deficiencies Remedied changed, then in WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
      • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
      • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
    • If Deficiencies Remedied changed, then in WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
      • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By
    • If Audit Correction Approved changed, then in WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
      • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
      • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
    • If Audit Correction Approved changed, then in WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
      • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By

When Deficient changes

  • Before Update (66), before save:
    • If Audit Completed By has a value and Complete or Deficient changed:
      • stops the save with the error "Cannot change Complete or Deficient while Audit is Completed."

When Individual changes

Field use in views

27

Assigned Auditor (field 1181)

Audit Completed (field 1173)

Audit Completed By (field 1174)

Audit Completed On (field 1176)

Audit Correction Approved (field 1156)

Audit Correction Approved By (field 1254)

Audit Correction Approved On (field 1256)

Audit Due Date (field 1177)

Audit Notification Email (field 1270)

Auto Counter (field 1153)

Complete (field 1252)

Deficiencies Remedied (field 1154)

Deficiencies Remedied By (field 1255)

Deficiencies Remedied Notes (field 1155)

Deficiencies Remedied On (field 1257)

Deficient (field 1253)

Individual (field 1178)

Individual Audit Date (field 1180)

Items for Email (field 1273)

Overall Audit Notes (field 1175)

Script Update (field 1259)

Status (field 1258)

Created (field 1171)

Created By User (field 1169)

Last User (field 1168)

Record ID (field 1172)

Updated (field 1170)

Individuals - Annual Audits: App Scripts

2 scripts. Health: grade A, score 100.

Before Update (script 66)

Before an edited record is saved. It can change the record being editedEnabled, 125 lines
  • Author's description: Audit
  • Sets on this record: Assigned Auditor, Audit Completed By, Audit Completed On, Audit Correction Approved By, Audit Correction Approved On, Audit Notification Email, Deficiencies Remedied By, Deficiencies Remedied On, Items for Email
  • Reads from this record: Audit Completed, Audit Correction Approved, Complete, Deficiencies Remedied, Deficient, Individual, Last User, Updated
  • Checks for changes in: Audit Completed, Audit Correction Approved, Complete, Deficiencies Remedied, Deficient
  • Functions: AuditListChecker, cleanString, isDifferent, WhoandWhen
  • What it does, by condition:
    • If Assigned Auditor is empty:
      • sets Assigned Auditor to Individual → Agency → Data Coordinator
    • If Audit Completed By has a value and Complete or Deficient changed:
      • stops the save with the error "Cannot change Complete or Deficient while Audit is Completed."
    • If Audit Completed changed:
      • runs WhoandWhen()
      • sets Audit Notification Email to a value calculated from Individual → Agency → Data Coordinator → Email, Individual → Agency → Director → Email
      • sets Audit Notification Email to a value calculated from Individual → Agency → Director → Email
      • sets Audit Notification Email to a value calculated from Individual → Agency → Data Coordinator → Email
      • If Audit Completed has a value:
        • runs AuditListChecker()
        • sets Items for Email to a value calculated from Complete, Deficient
        • In AuditListChecker(), if Overlap:
          • stops the save with the error "The following items cannot be in both columns: ${Overlap.join(', ')}"
        • In AuditListChecker(), if Checker.sort() is not Selected.sort():
          • stops the save with the error "Please select one of each category from the Complete and Not Complete columns"
      • In WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
        • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
        • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
      • In WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
        • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By
    • If Deficiencies Remedied changed:
      • runs WhoandWhen()
      • In WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
        • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
        • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
      • In WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
        • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By
    • If Audit Correction Approved changed:
      • runs WhoandWhen()
      • In WhoandWhen(), if Audit Completed / Audit Correction Approved / Deficiencies Remedied has a value:
        • sets Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On to Updated
        • sets Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By to a value calculated from Last User → First Name, Last User → Last Name
      • In WhoandWhen(), otherwise, if Audit Completed / Audit Correction Approved / Deficiencies Remedied is empty:
        • clears Audit Completed On, Audit Correction Approved On, Deficiencies Remedied On, Audit Completed By, Audit Correction Approved By, Deficiencies Remedied By
  • Code: Before Update

New Script (script 67)

Before a new record is saved. It can change the record being createdEnabled, 11 lines
  • Author's description: Audit
  • Sets on this record: Assigned Auditor
  • Reads from this record: Individual
  • What it does, by condition:
    • Every time it runs:
      • sets Assigned Auditor to Individual → Agency → Data Coordinator
  • Code: New Script

Individuals - Annual Audits: Views (table 81)

11 views, 8 with a filter. 6 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 292)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (27)

Record ID, Assigned Auditor, Individual, Script Update, Last User, Created By User, Updated, Created, Auto Counter, Audit Due Date, Status, Complete, Deficient, Items for Email, Audit Completed, Audit Completed By, Audit Completed On, Overall Audit Notes, Deficiencies Remedied, Deficiencies Remedied Notes, Deficiencies Remedied By, Deficiencies Remedied On, Audit Correction Approved, Audit Correction Approved By, Audit Correction Approved On, Individual Audit Date, Audit Notification Email

All Completed Audits with Deficiencies (view 335)

Filter: Completed Audits with Deficiencies (filter 192)

Filter: Completed Audits with Deficiencies (filter 192)

Shows records where all of these are true:

  • Deficient is not empty
  • Audit Completed is not empty
  • Deficiencies Remedied is empty

Columns (11): Record ID, Agency, Assigned Auditor, Individual, Audit Due Date, Deficient, Overall Audit Notes, Last User, Updated, Created By User, Created

All Corrected Audits to Approve (view 337)

Filter: Corrected Audits to Approve - Auditor (filter 194)

Filter: Corrected Audits to Approve - Auditor (filter 194)

Shows records where all of these are true:

  • Deficient is not empty
  • Deficiencies Remedied is "Yes"
  • Audit Correction Approved is empty
  • Application User on the linked Employees record is the person viewing the list

Columns (11): Record ID, Agency, Assigned Auditor, Individual, Audit Due Date, Deficient, Overall Audit Notes, Last User, Updated, Created By User, Created

All Individual Audits (view 340)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (13): Record ID, Status, Agency, Assigned Auditor, Individual, Overall Audit Notes, Audit Due Date, Deficient, Last User, Updated, Created By User, Created, Script Update

All Open Annual Audits (view 294)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (10): Record ID, Agency, Assigned Auditor, Individual, Audit Due Date, Overall Audit Notes, Last User, Updated, Created By User, Created

All Open Annual Audits - By Agency (view 295)

Filter: All Open Annual Audits (filter 159)

Filter: All Open Annual Audits (filter 159)

Shows records where Audit Completed is empty.

Columns (10): Record ID, Agency, Assigned Auditor, Individual, Audit Due Date, Overall Audit Notes, Last User, Updated, Created By User, Created

All Open Annual Audits - By Auditor (view 296)

Filter: All Open Annual Audits (filter 159)

Filter: All Open Annual Audits (filter 159)

Shows records where Audit Completed is empty.

Columns (10): Record ID, Agency, Assigned Auditor, Individual, Audit Due Date, Overall Audit Notes, Last User, Updated, Created By User, Created

Completed Audits (Workato) (view 343)

Filter: All Completed Audits (Workato) (filter 197)

Filter: All Completed Audits (Workato) (filter 197)

Shows records where Audit Completed is "Yes".

Columns (7): Record ID, Agency, Individual Record ID, Assigned Auditor, Overall Audit Notes, Audit Email, Items for Email

Completed Audits with Deficiencies - Behaviorist (view 338)

Filter: Completed Audits with Deficiencies - Behaviorist (filter 193)

Filter: Completed Audits with Deficiencies - Behaviorist (filter 193)

Shows records where all of these are true:

  • Deficient is not empty
  • Deficiencies Remedied is empty
  • Audit Completed is not empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (11): Record ID, Agency, Assigned Auditor, Individual, Audit Due Date, Deficient, Overall Audit Notes, Last User, Updated, Created By User, Created

Corrected Audits to Approve - Auditor (view 339)

Filter: Corrected Audits to Approve - Auditor (filter 194)

Filter: Corrected Audits to Approve - Auditor (filter 194)

Shows records where all of these are true:

  • Deficient is not empty
  • Deficiencies Remedied is "Yes"
  • Audit Correction Approved is empty
  • Application User on the linked Employees record is the person viewing the list

Columns (11): Record ID, Agency, Assigned Auditor, Individual, Audit Due Date, Deficient, Overall Audit Notes, Last User, Updated, Created By User, Created

Open Annual Audits - Auditor (view 297)

Filter: Open Annual Audits - Auditor (filter 158)

Filter: Open Annual Audits - Auditor (filter 158)

Shows records where all of these are true:

  • Audit Completed is empty
  • Application User on the linked Employees record is the person viewing the list

Columns (10): Record ID, Agency, Assigned Auditor, Individual, Audit Due Date, Overall Audit Notes, Last User, Updated, Created By User, Created

Individuals - Behavior Support PlanA

10 fields2 scripts2 views

Individuals - Behavior Support Plan (table 70)

10 fields, 5 system fields, 2 App Scripts, 2 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViewsSet by scripts
Auto CounterAuto numberyes8991
BSPDocument10021
BSP IDLong text (triggered)10191
Date of Next ReviewDate9072
Decision DateDate9012
IndividualLink to another table9092
Rational for UpdateLong text9332
Script UpdateShort text10201
StatusDrop-down9322
Submitted ByShort text10211After Insert (52), New Script (53)
CreatedDate and time (system)9052
Created By UserUser (system)9032
Last UserUser (system)9021
Record IDRecord ID (system)9062
UpdatedDate and time (system)9041

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

BSP ID formula (field 1019)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
IndividualIndividuals (table 50)manyToOneparent

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

New Script (script 53)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Submitted By
  • Sets on this record: Submitted By

What happens when a field changes

1

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Submitted By changes

Field use in views

15

Auto Counter (field 899)

BSP (field 1002)

BSP ID (field 1019)

Date of Next Review (field 907)

Decision Date (field 901)

Individual (field 909)

Rational for Update (field 933)

Script Update (field 1020)

Status (field 932)

Submitted By (field 1021)

Created (field 905)

Created By User (field 903)

Last User (field 902)

Record ID (field 906)

Updated (field 904)

Individuals - Behavior Support Plan: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 52)

After a new record is savedEnabled, 14 lines
  • Author's description: BSP
  • Sets on this record: Submitted By
  • Loads records from: Employees
  • What it does, by condition:
    • Every time it runs:
      • looks up records in Employees
      • sets Submitted By to a value calculated from Submitted By
  • Code: After Insert

New Script (script 53)

Before an edited record is saved. It can change the record being editedEnabled, 14 lines
  • Author's description: BSP
  • Sets on this record: Submitted By
  • Loads records from: Employees
  • What it does, by condition:
    • Every time it runs:
      • looks up records in Employees
      • sets Submitted By to a value calculated from Submitted By
  • Code: New Script

Individuals - Behavior Support Plan: Views (table 70)

2 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 224)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (15): Record ID, Auto Counter, Individual, Last User, Created By User, Updated, Created, Script Update, BSP ID, Status, Rational for Update, Decision Date, Date of Next Review, BSP, Submitted By

BSP Hisory (view 225)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Individual, Status, Rational for Update, Decision Date, Date of Next Review, Created By User, Created

Individuals - DiagnosesA

7 fields2 scripts6 views

Individuals - Diagnoses (table 84)

7 fields, 5 system fields, 2 App Scripts, 6 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViewsSet by scripts
Auto CounterAuto numberyes12001
DiagnosisLink to another table12256
Diagnosis NameShort text12371Before Insert (72), Before Update (73)
IndividualLink to another table12246
NotesLong text12216
Script UpdateShort text12146
StatusDrop-down12016Before Insert (72), Before Update (73)
CreatedDate and time (system)12196
Created By UserUser (system)12176
Last UserUser (system)12166
Record IDRecord ID (system)12206
UpdatedDate and time (system)12186

Relationships

Link fieldRelated tableRelationshipRelated table is
IndividualIndividuals (table 50)manyToOneparent
Diagnosisz - Diagnoses (table 82)manyToOneparent

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 73)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Diagnosis, Status
  • Sets on this record: Diagnosis Name, Status

What happens when a field changes

2

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Diagnosis changes

When Status changes

  • Before Update (73), before save:
    • If Status is "Active" or Status is empty:
      • sets Status to "Active"
      • sets Diagnosis Name to Diagnosis → Diagnosis
    • Otherwise, if Status is "Inactive":
      • clears Diagnosis Name

Field use in views

12

Auto Counter (field 1200)

Diagnosis (field 1225)

Diagnosis Name (field 1237)

Individual (field 1224)

Notes (field 1221)

Script Update (field 1214)

Status (field 1201)

Created (field 1219)

Created By User (field 1217)

Last User (field 1216)

Record ID (field 1220)

Updated (field 1218)

Individuals - Diagnoses: App Scripts

2 scripts. Health: grade A, score 100.

Before Insert (script 72)

Before a new record is saved. It can change the record being createdEnabled, 15 lines
  • Sets on this record: Diagnosis Name, Status
  • Reads from this record: Diagnosis
  • What it does, by condition:
    • If Status is "Active" or Status is empty:
      • sets Status to "Active"
      • sets Diagnosis Name to Diagnosis → Diagnosis
    • Otherwise, if Status is "Inactive":
      • clears Diagnosis Name
  • Code: Before Insert

Before Update (script 73)

Before an edited record is saved. It can change the record being editedEnabled, 15 lines
  • Sets on this record: Diagnosis Name, Status
  • Reads from this record: Diagnosis
  • What it does, by condition:
    • If Status is "Active" or Status is empty:
      • sets Status to "Active"
      • sets Diagnosis Name to Diagnosis → Diagnosis
    • Otherwise, if Status is "Inactive":
      • clears Diagnosis Name
  • Code: Before Update

Individuals - Diagnoses: Views (table 84)

6 views, 4 with a filter. 4 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 302)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (12): Record ID, Auto Counter, Diagnosis, Individual, Last User, Created By User, Updated, Created, Status, Notes, Script Update, Diagnosis Name

Individual Diagnoses (view 303)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (10): Record ID, Diagnosis, Individual, Notes, Status, Script Update, Last User, Created By User, Updated, Created

Individual Diagnoses: ACORD (view 360)

Filter: Individual Diagnoses: ACORD (filter 212)

Filter: Individual Diagnoses: ACORD (filter 212)

Shows records where Agency ID on the linked Agencies record is 18.

Columns (10): Record ID, Diagnosis, Individual, Notes, Status, Script Update, Last User, Created By User, Updated, Created

Individual Diagnoses: CCAOH (view 324)

Filter: Individual Diagnoses: CCAOH (filter 182)

Filter: Individual Diagnoses: CCAOH (filter 182)

Shows records where Agency ID on the linked Agencies record is 11.

Columns (10): Record ID, Diagnosis, Individual, Notes, Status, Script Update, Last User, Created By User, Updated, Created

Individual Diagnoses: GIL Foundation Incorporated (view 309)

Filter: Individual Diagnoses: GIL Foundation Incorporated (filter 167)

Filter: Individual Diagnoses: GIL Foundation Incorporated (filter 167)

Shows records where Agency ID on the linked Agencies record is 16.

Columns (10): Record ID, Diagnosis, Individual, Notes, Status, Script Update, Last User, Created By User, Updated, Created

Individual Diagnoses: IMPACT (view 348)

Filter: Individual Diagnoses: IMPACT (filter 201)

Filter: Individual Diagnoses: IMPACT (filter 201)

Shows records where Agency ID on the linked Agencies record is 15.

Columns (10): Record ID, Diagnosis, Individual, Notes, Status, Script Update, Last User, Created By User, Updated, Created

Individuals - Human Rights CommitteeA

26 fields3 scripts17 views

Individuals - Human Rights Committee (table 72)

26 fields, 5 system fields, 3 App Scripts, 17 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeUniqueRecord IDField IDViewsSet by scripts
Add Doc to PRCShort text13881After Update (54)
Auto CounterAuto numberyes9392
Behavioral Graphs DocDocument14061
Closing from PRCShort text13851
Date of Last MeetingDate9431
Date of Next MeetingDate9447
Date of Next PRC MeetingDate13832
Feedback Form ResponsesLong text13381
HRC IDLong text (triggered)10232
HRC Meeting Recommendations Entered ByShort text10291After Update (54), New Script (51)
HRC Meeting Recommendations Entered OnDate and time10361After Update (54), New Script (51)
HRC Packet SubmittedDocument100510
HRC Prep FilesAttachments12511
HRC Recommendation NotesLong text9418
HRC RecommendationsDocument10042
IndividualLink to another table95017
Meeting DateDate94216
Packet Added To TV ByShort text10331After Update (54), New Script (51)
Packet Added To TV OnDate and time10341After Update (54), New Script (51)
Packet Due DateDate100916After Update (54), New Script (51)
PRC StatusDrop-down13822
Recommendations Due DateDate115110After Update (54), New Script (51)
Script UpdateShort text10223
StatusDrop-down9407
Unique CheckShort textyes10101After Update (54), New Script (51)
Update PRCCheckbox13842
CreatedDate and time (system)9487
Created By UserUser (system)9467
Last UserUser (system)9451
Record IDRecord ID (system)94917
UpdatedDate and time (system)9471

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

HRC ID formula (field 1023)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
IndividualIndividuals (table 50)manyToOneparent
HRCConsent Forms (table 61)manyToOnechild

Scripts that run when a record is edited

2

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

After Update (script 54)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Checks whether these changed: Date of Next Meeting, HRC Packet Submitted, Meeting Date, Status
  • Uses the value of: Closing from PRC, HRC Recommendation Notes, HRC Recommendations, Individual, PRC Status, Unique Check, Update PRC
  • Sets on this record: Add Doc to PRC, HRC Meeting Recommendations Entered By, HRC Meeting Recommendations Entered On, Packet Added To TV By, Packet Added To TV On, Packet Due Date, Recommendations Due Date, Unique Check
  • Changes records in Individuals - Human Rights Committee. That can run its scripts: After Update (54) (edit, before save), After Update (64) (edit, after save), New Script (51) (new record, after save)

After Update (script 64)

Runs after the edit is saved. Code summary

  • Uses the value of: HRC ID, Individual, Unique Check

What happens when a field changes

12

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Closing from PRC changes

  • After Update (54), before save:
    • If Status has a value and Status changed, then if Closing from PRC is "Yes" or HRC Recommendations, Date of Next Meeting and HRC Recommendation Notes all have a value:
      • on the linked Individual record: sets Last HRC Decision Date to this record's Meeting Date; sets Next HRC Date to this record's Date of Next Meeting
      • creates a record in Individuals - Human Rights Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting
      • sets HRC Meeting Recommendations Entered On to Updated
      • sets HRC Meeting Recommendations Entered By to a value calculated from Last User → First Name, Last User → Last Name
      • sets Unique Check to a value calculated from Individual → Individual ID, Updated
    • If Status has a value and Status changed, then otherwise:
      • stops the save with the error "Please Enter the HRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"

When Date of Next Meeting changes

  • After Update (54), before save:
    • If Date of Next Meeting has a value and Date of Next Meeting changed:
      • on the linked Individual record: sets Next HRC Date to this record's Date of Next Meeting
    • If Status has a value and Status changed, then if Closing from PRC is "Yes" or HRC Recommendations, Date of Next Meeting and HRC Recommendation Notes all have a value:
      • on the linked Individual record: sets Last HRC Decision Date to this record's Meeting Date; sets Next HRC Date to this record's Date of Next Meeting
      • creates a record in Individuals - Human Rights Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting
      • sets HRC Meeting Recommendations Entered On to Updated
      • sets HRC Meeting Recommendations Entered By to a value calculated from Last User → First Name, Last User → Last Name
      • sets Unique Check to a value calculated from Individual → Individual ID, Updated
    • If Status has a value and Status changed, then otherwise:
      • stops the save with the error "Please Enter the HRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"

When HRC ID changes

When HRC Packet Submitted changes

  • After Update (54), before save:
    • If HRC Packet Submitted has a value and HRC Packet Submitted changed:
      • sets Packet Added To TV On to Updated
      • sets Packet Added To TV By to a value calculated from Last User → First Name, Last User → Last Name
    • Otherwise, if HRC Packet Submitted is empty:
      • clears Packet Added To TV On, Packet Added To TV By

When HRC Recommendation Notes changes

  • After Update (54), before save:
    • If Status has a value and Status changed, then if Closing from PRC is "Yes" or HRC Recommendations, Date of Next Meeting and HRC Recommendation Notes all have a value:
      • on the linked Individual record: sets Last HRC Decision Date to this record's Meeting Date; sets Next HRC Date to this record's Date of Next Meeting
      • creates a record in Individuals - Human Rights Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting
      • sets HRC Meeting Recommendations Entered On to Updated
      • sets HRC Meeting Recommendations Entered By to a value calculated from Last User → First Name, Last User → Last Name
      • sets Unique Check to a value calculated from Individual → Individual ID, Updated
    • If Status has a value and Status changed, then otherwise:
      • stops the save with the error "Please Enter the HRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"

When HRC Recommendations changes

  • After Update (54), before save:
    • If Status has a value and Status changed, then if Closing from PRC is "Yes" or HRC Recommendations, Date of Next Meeting and HRC Recommendation Notes all have a value:
      • on the linked Individual record: sets Last HRC Decision Date to this record's Meeting Date; sets Next HRC Date to this record's Date of Next Meeting
      • creates a record in Individuals - Human Rights Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting
      • sets HRC Meeting Recommendations Entered On to Updated
      • sets HRC Meeting Recommendations Entered By to a value calculated from Last User → First Name, Last User → Last Name
      • sets Unique Check to a value calculated from Individual → Individual ID, Updated
    • If Status has a value and Status changed, then otherwise:
      • stops the save with the error "Please Enter the HRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"

When Individual changes

  • After Update (54), before save:
    • If Individual and Meeting Date both have a value:
      • checks the conditions under this one
    • If Individual and Meeting Date both have a value, then if Individual → Next HRC Date is empty:
      • on the linked Individual record: sets Next HRC Date to this record's Meeting Date
  • After Update (64), after save: uses its value

When Meeting Date changes

  • After Update (54), before save:
    • If Meeting Date has a value and Meeting Date changed:
      • sets Packet Due Date, Recommendations Due Date to a value calculated from Meeting Date
    • If Individual and Meeting Date both have a value:
      • checks the conditions under this one
    • If Individual and Meeting Date both have a value, then if Individual → Next HRC Date is empty:
      • on the linked Individual record: sets Next HRC Date to this record's Meeting Date
    • If Status has a value and Status changed, then if Meeting Date is empty:
      • stops the save with the error "Please provide a Meeting Date"

When PRC Status changes

  • After Update (54), before save:
    • If Status has a value and Status changed, then if Update PRC has a value, then if PRC Status is empty:
      • stops the save with the error "Please provide a PRC Status"

When Status changes

  • After Update (54), before save:
    • If Status has a value and Status changed:
      • checks the conditions under this one
    • If Status has a value and Status changed, then if Meeting Date is empty:
      • stops the save with the error "Please provide a Meeting Date"
    • If Status has a value and Status changed, then if Update PRC has a value:
      • looks up records in Individuals - Peer Review Committee
    • If Status has a value and Status changed, then if Update PRC has a value, then if PRC Status is empty:
      • stops the save with the error "Please provide a PRC Status"
    • If Status has a value and Status changed, then if Update PRC has a value, then if PRC:
      • sets Add Doc to PRC to "Yes"
    • If Status has a value and Status changed, then if Update PRC has a value, then otherwise:
      • stops the save with the error "PRC not found to update"
    • If Status has a value and Status changed, then if Closing from PRC is "Yes" or HRC Recommendations, Date of Next Meeting and HRC Recommendation Notes all have a value:
      • on the linked Individual record: sets Last HRC Decision Date to this record's Meeting Date; sets Next HRC Date to this record's Date of Next Meeting
      • creates a record in Individuals - Human Rights Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting
      • sets HRC Meeting Recommendations Entered On to Updated
      • sets HRC Meeting Recommendations Entered By to a value calculated from Last User → First Name, Last User → Last Name
      • sets Unique Check to a value calculated from Individual → Individual ID, Updated
    • If Status has a value and Status changed, then otherwise:
      • stops the save with the error "Please Enter the HRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"
    • Otherwise, if Status is empty:
      • clears HRC Meeting Recommendations Entered On, HRC Meeting Recommendations Entered By

When Unique Check changes

When Update PRC changes

  • After Update (54), before save:
    • If Status has a value and Status changed, then if Update PRC has a value:
      • looks up records in Individuals - Peer Review Committee
    • If Status has a value and Status changed, then if Update PRC has a value, then if PRC Status is empty:
      • stops the save with the error "Please provide a PRC Status"
    • If Status has a value and Status changed, then if Update PRC has a value, then if PRC:
      • sets Add Doc to PRC to "Yes"
    • If Status has a value and Status changed, then if Update PRC has a value, then otherwise:
      • stops the save with the error "PRC not found to update"

Field use in views

31

Add Doc to PRC (field 1388)

Auto Counter (field 939)

Behavioral Graphs Doc (field 1406)

Closing from PRC (field 1385)

Date of Last Meeting (field 943)

Date of Next Meeting (field 944)

Date of Next PRC Meeting (field 1383)

Feedback Form Responses (field 1338)

HRC ID (field 1023)

HRC Meeting Recommendations Entered By (field 1029)

HRC Meeting Recommendations Entered On (field 1036)

HRC Packet Submitted (field 1005)

HRC Prep Files (field 1251)

HRC Recommendation Notes (field 941)

HRC Recommendations (field 1004)

Individual (field 950)

Meeting Date (field 942)

Packet Added To TV By (field 1033)

Packet Added To TV On (field 1034)

Packet Due Date (field 1009)

PRC Status (field 1382)

Recommendations Due Date (field 1151)

Script Update (field 1022)

Status (field 940)

Unique Check (field 1010)

Update PRC (field 1384)

Created (field 948)

Created By User (field 946)

Last User (field 945)

Record ID (field 949)

Updated (field 947)

Individuals - Human Rights Committee: App Scripts

3 scripts. Health: grade A, score 100.

After Update (script 54)

Before an edited record is saved. It can change the record being editedEnabled, 124 lines
  • Author's description: HRC History
  • Sets on this record: Add Doc to PRC, HRC Meeting Recommendations Entered By, HRC Meeting Recommendations Entered On, Packet Added To TV By, Packet Added To TV On, Packet Due Date, Recommendations Due Date, Unique Check
  • Reads from this record: Closing from PRC, Date of Next Meeting, HRC Packet Submitted, HRC Recommendation Notes, HRC Recommendations, Individual, Last User, Meeting Date, PRC Status, Status, Update PRC, Updated
  • Checks for changes in: Date of Next Meeting, HRC Packet Submitted, Meeting Date, Status
  • Loads records from: Individuals - Peer Review Committee
  • Creates or saves records in: Individuals - Human Rights Committee
  • Functions: isDifferent
  • What it does, by condition:
    • If Meeting Date has a value and Meeting Date changed:
      • sets Packet Due Date, Recommendations Due Date to a value calculated from Meeting Date
    • If Individual and Meeting Date both have a value:
      • checks the conditions under this one
      • If Individual → Next HRC Date is empty:
        • on the linked Individual record: sets Next HRC Date to this record's Meeting Date
    • If HRC Packet Submitted has a value and HRC Packet Submitted changed:
      • sets Packet Added To TV On to Updated
      • sets Packet Added To TV By to a value calculated from Last User → First Name, Last User → Last Name
    • Otherwise, if HRC Packet Submitted is empty:
      • clears Packet Added To TV On, Packet Added To TV By
    • If Date of Next Meeting has a value and Date of Next Meeting changed:
      • on the linked Individual record: sets Next HRC Date to this record's Date of Next Meeting
    • If Status has a value and Status changed:
      • checks the conditions under this one
      • If Meeting Date is empty:
        • stops the save with the error "Please provide a Meeting Date"
      • If Update PRC has a value:
        • looks up records in Individuals - Peer Review Committee
        • If PRC Status is empty:
          • stops the save with the error "Please provide a PRC Status"
        • If PRC:
          • sets Add Doc to PRC to "Yes"
        • Otherwise:
          • stops the save with the error "PRC not found to update"
      • If Closing from PRC is "Yes" or HRC Recommendations, Date of Next Meeting and HRC Recommendation Notes all have a value:
        • on the linked Individual record: sets Last HRC Decision Date to this record's Meeting Date; sets Next HRC Date to this record's Date of Next Meeting
        • creates a record in Individuals - Human Rights Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting
        • sets HRC Meeting Recommendations Entered On to Updated
        • sets HRC Meeting Recommendations Entered By to a value calculated from Last User → First Name, Last User → Last Name
        • sets Unique Check to a value calculated from Individual → Individual ID, Updated
      • Otherwise:
        • stops the save with the error "Please Enter the HRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"
    • Otherwise, if Status is empty:
      • clears HRC Meeting Recommendations Entered On, HRC Meeting Recommendations Entered By
  • Code: After Update

After Update (script 64)

After an edited record is savedEnabled, 16 lines
  • Author's description: HRC History
  • Reads from this record: HRC ID, Individual, Unique Check
  • What it does, by condition:
    • Every time it runs:
      • on the linked Individual record: sets Active HRC to this record's HRC ID
  • Code: After Update

New Script (script 51)

After a new record is savedEnabled, 85 lines
  • Author's description: HRC
  • Sets on this record: HRC Meeting Recommendations Entered By, HRC Meeting Recommendations Entered On, Packet Added To TV By, Packet Added To TV On, Packet Due Date, Recommendations Due Date, Unique Check
  • Reads from this record: Date of Next Meeting, HRC Packet Submitted, HRC Recommendation Notes, HRC Recommendations, Individual, Last User, Meeting Date, Status, Updated
  • Creates or saves records in: Individuals - Human Rights Committee
  • What it does, by condition:
    • Every time it runs:
      • sets Unique Check to a value calculated from Individual → Individual ID
    • If Meeting Date has a value:
      • sets Packet Due Date, Recommendations Due Date to a value calculated from Meeting Date
      • If Individual has a value:
        • checks the conditions under this one
        • If Individual → Next HRC Date is empty:
          • on the linked Individual record: sets Next HRC Date to this record's Meeting Date
    • If HRC Packet Submitted has a value:
      • sets Packet Added To TV On to Updated
      • sets Packet Added To TV By to a value calculated from Last User → First Name, Last User → Last Name
    • Otherwise, if HRC Packet Submitted is empty:
      • clears Packet Added To TV On, Packet Added To TV By
    • If Status has a value:
      • checks the conditions under this one
      • If HRC Recommendations, Date of Next Meeting and HRC Recommendation Notes all have a value:
        • on the linked Individual record: sets Last HRC Decision Date to this record's Meeting Date; sets Next HRC Date to this record's Date of Next Meeting
        • creates a record in Individuals - Human Rights Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting
        • sets HRC Meeting Recommendations Entered On to Updated
        • sets HRC Meeting Recommendations Entered By to a value calculated from Last User → First Name, Last User → Last Name
        • sets Unique Check to a value calculated from Individual → Individual ID, Updated
      • Otherwise:
        • stops the save with the error "Please Enter the HRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"
    • Otherwise, if Status is empty:
      • clears HRC Meeting Recommendations Entered On, HRC Meeting Recommendations Entered By
  • Code: New Script

Individuals - Human Rights Committee: Views (table 72)

17 views, 15 with a filter. 10 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 228)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (31)

Record ID, Auto Counter, Individual, Last User, Created By User, Updated, Created, HRC ID, Script Update, Status, HRC Recommendation Notes, Feedback Form Responses, Meeting Date, Date of Last Meeting, Date of Next Meeting, Packet Due Date, Recommendations Due Date, HRC Prep Files, HRC Packet Submitted, HRC Recommendations, HRC Meeting Recommendations Entered By, HRC Meeting Recommendations Entered On, Packet Added To TV By, Packet Added To TV On, Unique Check, Closing from PRC, Add Doc to PRC, Update PRC, PRC Status, Date of Next PRC Meeting, Behavioral Graphs Doc

Agency: HRC History (view 392)

Filter: Agency: HRC History (filter 238)

Filter: Agency: HRC History (filter 238)

Shows records where User Group on the linked Agencies record is one of the viewer's groups.

Columns (9): Record ID, Individual, Status, HRC Recommendation Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created

All HRCs Needing Attention (view 268)

Filter: All HRCs Needing Attention (filter 145)

Filter: All HRCs Needing Attention (filter 145)

Shows records where at least one of these is true:

  • all of these are true:
    • Recommendations Due Date is on or before 7 days from now
    • Status is empty
  • all of these are true:
    • Packet Due Date is on or before 7 days from now
    • HRC Packet Submitted is empty

Columns (7): Record ID, Agency, Individual, Meeting Date, Packet Due Date, Recommendations Due Date, HRC Packet Submitted

All HRCs Needing Attention - By Agency (view 269)

Filter: All HRCs Needing Attention (filter 145)

Filter: All HRCs Needing Attention (filter 145)

Shows records where at least one of these is true:

  • all of these are true:
    • Recommendations Due Date is on or before 7 days from now
    • Status is empty
  • all of these are true:
    • Packet Due Date is on or before 7 days from now
    • HRC Packet Submitted is empty

Columns (8): Record ID, Agency, Behaviorist 1, Individual, Meeting Date, Packet Due Date, Recommendations Due Date, HRC Packet Submitted

HRC History (view 229)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (11): Record ID, Individual, Status, HRC Recommendation Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created, Next HRC Date, Script Update

HRC History: ACORD (view 362)

Filter: HRC History: ACORD (filter 214)

Filter: HRC History: ACORD (filter 214)

Shows records where Agency ID on the linked Agencies record is 18.

Columns (9): Record ID, Individual, Status, HRC Recommendation Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created

HRC History: CCAOH (view 322)

Filter: HRC History: CCAOH (filter 180)

Filter: HRC History: CCAOH (filter 180)

Shows records where Agency ID on the linked Agencies record is 11.

Columns (9): Record ID, Individual, Status, HRC Recommendation Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created

HRC History: GIL Foundation Incorporated (view 311)

Filter: HRC History: GIL Foundation Incorporated (filter 169)

Filter: HRC History: GIL Foundation Incorporated (filter 169)

Shows records where Agency ID on the linked Agencies record is 16.

Columns (9): Record ID, Individual, Status, HRC Recommendation Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created

HRC History: IMPACT (view 350)

Filter: HRC History: IMPACT (filter 203)

Filter: HRC History: IMPACT (filter 203)

Shows records where Agency ID on the linked Agencies record is 15.

Columns (9): Record ID, Individual, Status, HRC Recommendation Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created

HRCs Needing Feedback Form Responses - Behaviorist (view 281)

Filter: HRCs Needing Feedback Form Responses - Behaviorist (filter 151)

Filter: HRCs Needing Feedback Form Responses - Behaviorist (filter 151)

Shows records where all of these are true:

  • Feedback Form Responses is empty
  • at least one of these is true:
    • Status is "Disapproved"
    • Status is "Approved with Qualifications"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Behaviorist 1, Individual, Meeting Date, Packet Due Date, Recommendations Due Date, HRC Packet Submitted

HRCs Needing Feedback Form Responses - Behaviorist - By Agency (view 286)

Filter: HRCs Needing Feedback Form Responses - Behaviorist (filter 151)

Filter: HRCs Needing Feedback Form Responses - Behaviorist (filter 151)

Shows records where all of these are true:

  • Feedback Form Responses is empty
  • at least one of these is true:
    • Status is "Disapproved"
    • Status is "Approved with Qualifications"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Behaviorist 1, Individual, Meeting Date, Packet Due Date, Recommendations Due Date, HRC Packet Submitted

HRCs Needing Attention - By Agency - Director (view 412)

Filter: All HRCs Needing Attention - Director (filter 263)

Filter: All HRCs Needing Attention - Director (filter 263)

Shows records where at least one of these is true:

  • all of these are true:
    • Packet Due Date is on or before 7 days from now
    • HRC Packet Submitted is empty
    • Application User on the linked Employees record is the person viewing the list
  • all of these are true:
    • Recommendations Due Date is on or before 7 days from now
    • Status is empty
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Behaviorist 1, Individual, Meeting Date, Packet Due Date, Recommendations Due Date, HRC Packet Submitted

HRCs Needing Attention - By Behaviorist (view 275)

Filter: All HRCs Needing Attention (filter 145)

Filter: All HRCs Needing Attention (filter 145)

Shows records where at least one of these is true:

  • all of these are true:
    • Recommendations Due Date is on or before 7 days from now
    • Status is empty
  • all of these are true:
    • Packet Due Date is on or before 7 days from now
    • HRC Packet Submitted is empty

Columns (8): Record ID, Agency, Behaviorist 1, Individual, Meeting Date, Packet Due Date, Recommendations Due Date, HRC Packet Submitted

HRCs Needing Attention - By Behaviorist - Director (view 413)

Filter: All HRCs Needing Attention - Director (filter 263)

Filter: All HRCs Needing Attention - Director (filter 263)

Shows records where at least one of these is true:

  • all of these are true:
    • Packet Due Date is on or before 7 days from now
    • HRC Packet Submitted is empty
    • Application User on the linked Employees record is the person viewing the list
  • all of these are true:
    • Recommendations Due Date is on or before 7 days from now
    • Status is empty
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Behaviorist 1, Individual, Meeting Date, Packet Due Date, Recommendations Due Date, HRC Packet Submitted

HRCs Needing Packets - Behaviorist (view 427)

Filter: HRCs Needing Packets - Behaviorist (filter 280)

Filter: HRCs Needing Packets - Behaviorist (filter 280)

Shows records where all of these are true:

  • HRC Packet Submitted is empty
  • Status is empty
  • Packet Due Date is on or before 45 days from now
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Behaviorist 1, Individual, Meeting Date, Packet Due Date, Recommendations Due Date, HRC Packet Submitted

HRCs Needing Packets - Behaviorist - By Agency (view 428)

Filter: HRCs Needing Packets - Behaviorist (filter 280)

Filter: HRCs Needing Packets - Behaviorist (filter 280)

Shows records where all of these are true:

  • HRC Packet Submitted is empty
  • Status is empty
  • Packet Due Date is on or before 45 days from now
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Agency, Behaviorist 1, Individual, Meeting Date, Packet Due Date, Recommendations Due Date, HRC Packet Submitted

HRCs to Update PRCs (Workato) (view 432)

Filter: HRCs to Update PRCs (Workato) (filter 287)

Filter: HRCs to Update PRCs (Workato) (filter 287)

Shows records where Add Doc to PRC is "Yes".

Columns (11): Record ID, Auto Counter, Individual, Script Update, HRC ID, HRC Recommendations, HRC Recommendation Notes, Update PRC, Active PRC, PRC Status, Date of Next PRC Meeting

Individuals - Peer Review CommitteeA

39 fields3 scripts29 views

Individuals - Peer Review Committee (table 71)

39 fields, 5 system fields, 3 App Scripts, 29 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeUniqueRecord IDField IDViewsSet by scripts
Add Doc to HRCShort text13871Before Update (65)
AgencyLink to another table14112Before Update (65), New Script (50)
Auto CounterAuto numberyes9133
Behavioral Graphs DocDocument13994
Closing from HRCShort text13801
ConsentsLong text (calculated)14084
Date of Last MeetingDate9152
Date of Next HRC MeetingDate13812
Date of Next MeetingDate9168
Feedback Form ResponsesLong text124111
HRC StatusDrop-down13792
IndividualLink to another table92229
Last PRC RecommendationsDocument13955
Meeting DateDate91427
Next PRC Packet Due DateDate13941
Nursing Report/Med List DocDocument14014
Packet Added To TV ByShort text10302Before Update (65), New Script (50)
Packet Added To TV OnDate and time10312Before Update (65), New Script (50)
Packet Due DateDate100818Before Update (65), New Script (50)
PRC Face SheetDocument12492
PRC IDLong text (triggered)10274
PRC IssuesLong text (calculated)13922
PRC Meeting Entered ByShort text10322Before Update (65), New Script (50)
PRC Meeting Entered OnDate and time10352Before Update (65), New Script (50)
PRC Needing AttentionLong text (calculated)14091
PRC Packet SubmittedDocument10069
PRC Prep FilesAttachments12502
PRC RecommendationsDocument100713
Psych Note 1Document14004
Psych Note 2Document13984
Psych Note 3Document13974
PTP DocDocument13964
Recommendations Due DateDate11529Before Update (65), New Script (50)
Recommendations NotesLong text93518
Script UpdateShort text10264
StatusDrop-down93421
TD/AIMS Screen As NeededDocument14074
Unique CheckShort textyes10113Before Update (65), New Script (50)
Update HRCCheckbox13862
CreatedDate and time (system)92011
Created By UserUser (system)91811
Last UserUser (system)9176
Record IDRecord ID (system)92129
UpdatedDate and time (system)9196

Calculated and triggered fields

4

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Consents formula (field 1408)

  • Kind: calculated paragraph
  • Reads: Consent Forms → Consent For (via PRC)
coalesce(childconcatenate({Consent Forms}.{PRC}.{Consent For} , ", "),null())

PRC ID formula (field 1027)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

PRC Issues formula (field 1392)

  • Kind: calculated paragraph
  • Reads: Date of Next Meeting, Packet Added To TV On, Packet Due Date, PRC Meeting Entered On, Recommendations Due Date
//Missing Packet
if(and(isblank({Packet Added To TV On}), {Packet Due Date}<= today()),"Missing Packet",
//Needing Feedback Form
if(and(not(isblank({Packet Added To TV On})), {Recommendations Due Date}<= today(), or(isblank({PRC Meeting Entered On}),isblank({Date of Next Meeting}))),"Awaiting Feedback Form",null()))

PRC Needing Attention formula (field 1409)

  • Kind: calculated paragraph
  • Reads: Packet Added To TV On, Packet Due Date, Recommendations Due Date, Status
if(or(and(datedif({Recommendations Due Date}, Today(),"d") <= 7, isblank({Status})),
and(isblank({Packet Added To TV On}),datedif({Packet Due Date}, Today(),"d") <= 7)), "Yes","No")

Relationships

Link fieldRelated tableRelationshipRelated table is
AgencyAgencies (table 48)manyToOneparent
IndividualIndividuals (table 50)manyToOneparent
PRCConsent Forms (table 61)manyToOnechild

Scripts that run when a record is edited

2

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

After Update (script 55)

Runs after the edit is saved. Code summary

  • Uses the value of: Individual, PRC ID, Unique Check

Before Update (script 65)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Checks whether these changed: Date of Next Meeting, Meeting Date, PRC Face Sheet, PRC Packet Submitted, Status
  • Uses the value of: Closing from HRC, HRC Status, Individual, Next PRC Packet Due Date, PRC Recommendations, Recommendations Notes, Unique Check, Update HRC
  • Sets on this record: Add Doc to HRC, Agency, Packet Added To TV By, Packet Added To TV On, Packet Due Date, PRC Meeting Entered By, PRC Meeting Entered On, Recommendations Due Date, Unique Check
  • Changes records in Individuals - Peer Review Committee. That can run its scripts: After Update (55) (edit, after save), Before Update (65) (edit, before save), New Script (50) (new record, after save)

What happens when a field changes

14

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Closing from HRC changes

  • Before Update (65), before save:
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value:
      • on the linked Individual record: sets Last PRC Decision Date to this record's Meeting Date; sets Next PRC Date to this record's Date of Next Meeting
      • creates a record in Individuals - Peer Review Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting; Packet Due Date = this record's Next PRC Packet Due Date; Last PRC Recommendations = this record's PRC Recommendations
      • sets PRC Meeting Entered On to Updated
      • sets PRC Meeting Entered By to a value calculated from Last User → First Name, Last User → Last Name
      • sets Unique Check to a value calculated from Individual → Individual ID, Updated
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value:
      • looks up records in Individuals - Human Rights Committee
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC Status is empty:
      • stops the save with the error "Please provide a HRC Status"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC:
      • sets Add Doc to HRC to "Yes"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then otherwise:
      • stops the save with the error "HRC not found to update"
    • If Status has a value and Status changed, then otherwise:
      • stops the save with the error "Please Enter the PRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"

When Date of Next Meeting changes

  • Before Update (65), before save:
    • If Date of Next Meeting has a value and Date of Next Meeting changed:
      • on the linked Individual record: sets Next PRC Date to this record's Date of Next Meeting
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value:
      • on the linked Individual record: sets Last PRC Decision Date to this record's Meeting Date; sets Next PRC Date to this record's Date of Next Meeting
      • creates a record in Individuals - Peer Review Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting; Packet Due Date = this record's Next PRC Packet Due Date; Last PRC Recommendations = this record's PRC Recommendations
      • sets PRC Meeting Entered On to Updated
      • sets PRC Meeting Entered By to a value calculated from Last User → First Name, Last User → Last Name
      • sets Unique Check to a value calculated from Individual → Individual ID, Updated
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value:
      • looks up records in Individuals - Human Rights Committee
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC Status is empty:
      • stops the save with the error "Please provide a HRC Status"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC:
      • sets Add Doc to HRC to "Yes"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then otherwise:
      • stops the save with the error "HRC not found to update"
    • If Status has a value and Status changed, then otherwise:
      • stops the save with the error "Please Enter the PRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"

When HRC Status changes

  • Before Update (65), before save:
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC Status is empty:
      • stops the save with the error "Please provide a HRC Status"

When Individual changes

  • After Update (55), after save: uses its value
  • Before Update (65), before save:
    • If Individual has a value:
      • sets Agency to Individual → Agency
    • If Meeting Date has a value, then if Meeting Date changed:
      • runs GetPacketDueDate()
      • sets Packet Due Date, Recommendations Due Date to a value calculated from Meeting Date
    • If Meeting Date has a value, then if Meeting Date changed, then if Individual has a value:
      • on the linked Individual record: sets Next PRC Date to this record's Meeting Date; sets PRC Packet Due Date to a value calculated from this record's Meeting Date
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), if Individual → Residential Location has a value:
      • checks the conditions under this one
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), if Individual → Residential Location has a value, then if Individual → Residential Location → Region and Individual → Residential Location → Region both have a value:
      • sets working values the script uses later
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), otherwise, if Individual → Day Program Location has a value:
      • checks the conditions under this one
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), otherwise, if Individual → Day Program Location has a value, then if Individual → Day Program Location → Region and Individual → Day Program Location → Region both have a value:
      • sets working values the script uses later
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), if LocationRegion is "South Region":
      • checks the conditions under this one
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), if LocationRegion is "South Region", then if not secondToLastFriday:
      • stops the save with the error "Previous month did not contain enough Fridays"
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), otherwise:
      • nothing the summary can read
    • If Meeting Date has a value, then otherwise, if Individual has a value:
      • checks the conditions under this one
    • If Meeting Date has a value, then otherwise, if Individual has a value, then if Individual → Next PRC Date is empty:
      • on the linked Individual record: sets Next PRC Date to this record's Meeting Date
    • If Meeting Date has a value, then otherwise, if Individual has a value, then if Individual → PRC Packet Due Date is empty:
      • on the linked Individual record: sets PRC Packet Due Date to a value calculated from this record's Meeting Date

When Meeting Date changes

  • Before Update (65), before save:
    • If Meeting Date has a value:
      • checks the conditions under this one
    • If Meeting Date has a value, then if Meeting Date changed:
      • runs GetPacketDueDate()
      • sets Packet Due Date, Recommendations Due Date to a value calculated from Meeting Date
    • If Meeting Date has a value, then if Meeting Date changed, then if Individual has a value:
      • on the linked Individual record: sets Next PRC Date to this record's Meeting Date; sets PRC Packet Due Date to a value calculated from this record's Meeting Date
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), if Individual → Residential Location has a value:
      • checks the conditions under this one
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), if Individual → Residential Location has a value, then if Individual → Residential Location → Region and Individual → Residential Location → Region both have a value:
      • sets working values the script uses later
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), otherwise, if Individual → Day Program Location has a value:
      • checks the conditions under this one
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), otherwise, if Individual → Day Program Location has a value, then if Individual → Day Program Location → Region and Individual → Day Program Location → Region both have a value:
      • sets working values the script uses later
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), if LocationRegion is "South Region":
      • checks the conditions under this one
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), if LocationRegion is "South Region", then if not secondToLastFriday:
      • stops the save with the error "Previous month did not contain enough Fridays"
    • If Meeting Date has a value, then if Meeting Date changed, then in GetPacketDueDate(), otherwise:
      • nothing the summary can read
    • If Meeting Date has a value, then otherwise, if Individual has a value:
      • checks the conditions under this one
    • If Meeting Date has a value, then otherwise, if Individual has a value, then if Individual → Next PRC Date is empty:
      • on the linked Individual record: sets Next PRC Date to this record's Meeting Date
    • If Meeting Date has a value, then otherwise, if Individual has a value, then if Individual → PRC Packet Due Date is empty:
      • on the linked Individual record: sets PRC Packet Due Date to a value calculated from this record's Meeting Date
    • If Status has a value and Status changed, then if Meeting Date is empty:
      • stops the save with the error "Please provide a Meeting Date"

When Next PRC Packet Due Date changes

When PRC Face Sheet changes

When PRC ID changes

When PRC Packet Submitted changes

  • Before Update (65), before save:
    • If PRC Packet Submitted has a value and PRC Packet Submitted changed:
      • sets Packet Added To TV On to Updated
      • sets Packet Added To TV By to a value calculated from Last User → First Name, Last User → Last Name
    • Otherwise, if PRC Packet Submitted is empty:
      • clears Packet Added To TV On, Packet Added To TV By

When PRC Recommendations changes

  • Before Update (65), before save:
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value:
      • on the linked Individual record: sets Last PRC Decision Date to this record's Meeting Date; sets Next PRC Date to this record's Date of Next Meeting
      • creates a record in Individuals - Peer Review Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting; Packet Due Date = this record's Next PRC Packet Due Date; Last PRC Recommendations = this record's PRC Recommendations
      • sets PRC Meeting Entered On to Updated
      • sets PRC Meeting Entered By to a value calculated from Last User → First Name, Last User → Last Name
      • sets Unique Check to a value calculated from Individual → Individual ID, Updated
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value:
      • looks up records in Individuals - Human Rights Committee
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC Status is empty:
      • stops the save with the error "Please provide a HRC Status"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC:
      • sets Add Doc to HRC to "Yes"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then otherwise:
      • stops the save with the error "HRC not found to update"
    • If Status has a value and Status changed, then otherwise:
      • stops the save with the error "Please Enter the PRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"

When Recommendations Notes changes

  • Before Update (65), before save:
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value:
      • on the linked Individual record: sets Last PRC Decision Date to this record's Meeting Date; sets Next PRC Date to this record's Date of Next Meeting
      • creates a record in Individuals - Peer Review Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting; Packet Due Date = this record's Next PRC Packet Due Date; Last PRC Recommendations = this record's PRC Recommendations
      • sets PRC Meeting Entered On to Updated
      • sets PRC Meeting Entered By to a value calculated from Last User → First Name, Last User → Last Name
      • sets Unique Check to a value calculated from Individual → Individual ID, Updated
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value:
      • looks up records in Individuals - Human Rights Committee
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC Status is empty:
      • stops the save with the error "Please provide a HRC Status"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC:
      • sets Add Doc to HRC to "Yes"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then otherwise:
      • stops the save with the error "HRC not found to update"
    • If Status has a value and Status changed, then otherwise:
      • stops the save with the error "Please Enter the PRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"

When Status changes

  • Before Update (65), before save:
    • If Status has a value and Status changed:
      • checks the conditions under this one
    • If Status has a value and Status changed, then if Meeting Date is empty:
      • stops the save with the error "Please provide a Meeting Date"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value:
      • on the linked Individual record: sets Last PRC Decision Date to this record's Meeting Date; sets Next PRC Date to this record's Date of Next Meeting
      • creates a record in Individuals - Peer Review Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting; Packet Due Date = this record's Next PRC Packet Due Date; Last PRC Recommendations = this record's PRC Recommendations
      • sets PRC Meeting Entered On to Updated
      • sets PRC Meeting Entered By to a value calculated from Last User → First Name, Last User → Last Name
      • sets Unique Check to a value calculated from Individual → Individual ID, Updated
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value:
      • looks up records in Individuals - Human Rights Committee
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC Status is empty:
      • stops the save with the error "Please provide a HRC Status"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC:
      • sets Add Doc to HRC to "Yes"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then otherwise:
      • stops the save with the error "HRC not found to update"
    • If Status has a value and Status changed, then otherwise:
      • stops the save with the error "Please Enter the PRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"
    • Otherwise, if Status is empty:
      • clears PRC Meeting Entered On, PRC Meeting Entered By

When Unique Check changes

When Update HRC changes

  • Before Update (65), before save:
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value:
      • looks up records in Individuals - Human Rights Committee
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC Status is empty:
      • stops the save with the error "Please provide a HRC Status"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then if HRC:
      • sets Add Doc to HRC to "Yes"
    • If Status has a value and Status changed, then if Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value, then if Update HRC has a value, then otherwise:
      • stops the save with the error "HRC not found to update"

Field use in views

44

Add Doc to HRC (field 1387)

Agency (field 1411)

Auto Counter (field 913)

Behavioral Graphs Doc (field 1399)

Closing from HRC (field 1380)

Consents (field 1408)

Date of Last Meeting (field 915)

Date of Next HRC Meeting (field 1381)

Date of Next Meeting (field 916)

Feedback Form Responses (field 1241)

HRC Status (field 1379)

Individual (field 922)

Last PRC Recommendations (field 1395)

Meeting Date (field 914)

Next PRC Packet Due Date (field 1394)

Nursing Report/Med List Doc (field 1401)

Packet Added To TV By (field 1030)

Packet Added To TV On (field 1031)

Packet Due Date (field 1008)

PRC Face Sheet (field 1249)

PRC ID (field 1027)

PRC Issues (field 1392)

PRC Meeting Entered By (field 1032)

PRC Meeting Entered On (field 1035)

PRC Needing Attention (field 1409)

PRC Packet Submitted (field 1006)

PRC Prep Files (field 1250)

PRC Recommendations (field 1007)

Psych Note 1 (field 1400)

Psych Note 2 (field 1398)

Psych Note 3 (field 1397)

PTP Doc (field 1396)

Recommendations Due Date (field 1152)

Recommendations Notes (field 935)

Script Update (field 1026)

Status (field 934)

TD/AIMS Screen As Needed (field 1407)

Unique Check (field 1011)

Update HRC (field 1386)

Created (field 920)

Created By User (field 918)

Last User (field 917)

Record ID (field 921)

Updated (field 919)

Individuals - Peer Review Committee: App Scripts

3 scripts. Health: grade A, score 100.

After Update (script 55)

After an edited record is savedEnabled, 15 lines
  • Author's description: PRC History
  • Reads from this record: Individual, PRC ID, Unique Check
  • What it does, by condition:
    • Every time it runs:
      • on the linked Individual record: sets Active PRC to this record's PRC ID
  • Code: After Update

Before Update (script 65)

Before an edited record is saved. It can change the record being editedEnabled, 225 lines
  • Author's description: PRC History
  • Sets on this record: Add Doc to HRC, Agency, Packet Added To TV By, Packet Added To TV On, Packet Due Date, PRC Meeting Entered By, PRC Meeting Entered On, Recommendations Due Date, Unique Check
  • Reads from this record: Closing from HRC, Date of Next Meeting, HRC Status, Individual, Last User, Meeting Date, Next PRC Packet Due Date, PRC Face Sheet, PRC Packet Submitted, PRC Recommendations, Recommendations Notes, Status, Update HRC, Updated
  • Checks for changes in: Date of Next Meeting, Meeting Date, PRC Face Sheet, PRC Packet Submitted, Status
  • Loads records from: Individuals - Human Rights Committee
  • Creates or saves records in: Individuals - Peer Review Committee
  • Functions: GetPacketDueDate, isDifferent
  • What it does, by condition:
    • If Individual has a value:
      • sets Agency to Individual → Agency
    • If Meeting Date has a value:
      • checks the conditions under this one
      • If Meeting Date changed:
        • runs GetPacketDueDate()
        • sets Packet Due Date, Recommendations Due Date to a value calculated from Meeting Date
        • If Individual has a value:
          • on the linked Individual record: sets Next PRC Date to this record's Meeting Date; sets PRC Packet Due Date to a value calculated from this record's Meeting Date
        • In GetPacketDueDate(), if Individual → Residential Location has a value:
          • checks the conditions under this one
          • If Individual → Residential Location → Region and Individual → Residential Location → Region both have a value:
            • sets working values the script uses later
        • In GetPacketDueDate(), otherwise, if Individual → Day Program Location has a value:
          • checks the conditions under this one
          • If Individual → Day Program Location → Region and Individual → Day Program Location → Region both have a value:
            • sets working values the script uses later
        • In GetPacketDueDate(), if LocationRegion is "South Region":
          • checks the conditions under this one
          • If not secondToLastFriday:
            • stops the save with the error "Previous month did not contain enough Fridays"
        • In GetPacketDueDate(), otherwise:
          • nothing the summary can read
      • Otherwise, if Individual has a value:
        • checks the conditions under this one
        • If Individual → Next PRC Date is empty:
          • on the linked Individual record: sets Next PRC Date to this record's Meeting Date
        • If Individual → PRC Packet Due Date is empty:
          • on the linked Individual record: sets PRC Packet Due Date to a value calculated from this record's Meeting Date
    • If PRC Packet Submitted has a value and PRC Packet Submitted changed:
      • sets Packet Added To TV On to Updated
      • sets Packet Added To TV By to a value calculated from Last User → First Name, Last User → Last Name
    • Otherwise, if PRC Packet Submitted is empty:
      • clears Packet Added To TV On, Packet Added To TV By
    • If Date of Next Meeting has a value and Date of Next Meeting changed:
      • on the linked Individual record: sets Next PRC Date to this record's Date of Next Meeting
    • If Status has a value and Status changed:
      • checks the conditions under this one
      • If Meeting Date is empty:
        • stops the save with the error "Please provide a Meeting Date"
      • If Closing from HRC is "Yes" or PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value:
        • on the linked Individual record: sets Last PRC Decision Date to this record's Meeting Date; sets Next PRC Date to this record's Date of Next Meeting
        • creates a record in Individuals - Peer Review Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting; Packet Due Date = this record's Next PRC Packet Due Date; Last PRC Recommendations = this record's PRC Recommendations
        • sets PRC Meeting Entered On to Updated
        • sets PRC Meeting Entered By to a value calculated from Last User → First Name, Last User → Last Name
        • sets Unique Check to a value calculated from Individual → Individual ID, Updated
        • If Update HRC has a value:
          • looks up records in Individuals - Human Rights Committee
          • If HRC Status is empty:
            • stops the save with the error "Please provide a HRC Status"
          • If HRC:
            • sets Add Doc to HRC to "Yes"
          • Otherwise:
            • stops the save with the error "HRC not found to update"
      • Otherwise:
        • stops the save with the error "Please Enter the PRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"
    • Otherwise, if Status is empty:
      • clears PRC Meeting Entered On, PRC Meeting Entered By
  • Code: Before Update

New Script (script 50)

After a new record is savedEnabled, 179 lines
  • Author's description: PRC
  • Sets on this record: Agency, Packet Added To TV By, Packet Added To TV On, Packet Due Date, PRC Meeting Entered By, PRC Meeting Entered On, Recommendations Due Date, Unique Check
  • Reads from this record: Date of Next Meeting, Individual, Last User, Meeting Date, Next PRC Packet Due Date, PRC Packet Submitted, PRC Recommendations, Recommendations Notes, Status, Updated
  • Creates or saves records in: Individuals - Peer Review Committee
  • Functions: GetPacketDueDate
  • What it does, by condition:
    • Every time it runs:
      • sets Unique Check to a value calculated from Individual → Individual ID
    • If Individual has a value:
      • sets Agency to Individual → Agency
    • If Meeting Date has a value:
      • sets Recommendations Due Date to a value calculated from Meeting Date
      • If Packet Due Date is empty:
        • runs GetPacketDueDate()
        • sets Packet Due Date to a value calculated from Meeting Date
        • In GetPacketDueDate(), if Individual → Residential Location has a value:
          • checks the conditions under this one
          • If Individual → Residential Location → Region and Individual → Residential Location → Region both have a value:
            • sets working values the script uses later
        • In GetPacketDueDate(), otherwise, if Individual → Day Program Location has a value:
          • checks the conditions under this one
          • If Individual → Day Program Location → Region and Individual → Day Program Location → Region both have a value:
            • sets working values the script uses later
        • In GetPacketDueDate(), if LocationRegion is "South Region":
          • checks the conditions under this one
          • If not secondToLastFriday:
            • stops the save with the error "Previous month did not contain enough Fridays"
        • In GetPacketDueDate(), otherwise:
          • nothing the summary can read
      • If Individual has a value:
        • on the linked Individual record: sets Next PRC Date to this record's Meeting Date; sets PRC Packet Due Date to a value calculated from this record's Meeting Date
    • If PRC Packet Submitted has a value:
      • sets Packet Added To TV On to Updated
      • sets Packet Added To TV By to a value calculated from Last User → First Name, Last User → Last Name
    • Otherwise, if PRC Packet Submitted is empty:
      • clears Packet Added To TV On, Packet Added To TV By
    • If Status has a value:
      • checks the conditions under this one
      • If Meeting Date is empty:
        • stops the save with the error "Please provide a Meeting Date"
      • If PRC Recommendations, Date of Next Meeting and Recommendations Notes all have a value:
        • on the linked Individual record: sets Last PRC Decision Date to this record's Meeting Date; sets Next PRC Date to this record's Date of Next Meeting
        • creates a record in Individuals - Peer Review Committee: Individual = this record's Individual; Meeting Date = this record's Date of Next Meeting; Packet Due Date = this record's Next PRC Packet Due Date
        • sets PRC Meeting Entered On to Updated
        • sets PRC Meeting Entered By to a value calculated from Last User → First Name, Last User → Last Name
        • sets Unique Check to a value calculated from Individual → Individual ID, Updated
      • Otherwise:
        • stops the save with the error "Please Enter the PRC Recommendations Doc, Date of Next Meeting and Recommendation Notes to save a Status"
    • Otherwise, if Status is empty:
      • clears PRC Meeting Entered On, PRC Meeting Entered By
  • Code: New Script

Individuals - Peer Review Committee: Views (table 71)

29 views, 25 with a filter. 17 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 226)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (44)

Record ID, Agency, Auto Counter, Individual, Last User, Created By User, Updated, Created, Script Update, PRC ID, Status, Recommendations Notes, Feedback Form Responses, Meeting Date, Date of Last Meeting, Date of Next Meeting, Next PRC Packet Due Date, Recommendations Due Date, Packet Due Date, PRC Prep Files, PRC Packet Submitted, PRC Face Sheet, PRC Recommendations, Packet Added To TV By, Packet Added To TV On, PRC Meeting Entered By, PRC Meeting Entered On, Unique Check, Closing from HRC, Add Doc to HRC, Update HRC, HRC Status, Date of Next HRC Meeting, PRC Issues, Last PRC Recommendations, TD/AIMS Screen As Needed, Behavioral Graphs Doc, Nursing Report/Med List Doc, PTP Doc, Psych Note 1, Psych Note 2, Psych Note 3, Consents, PRC Needing Attention

Agency: PRC History (view 393)

Filter: Agency: PRC History (filter 239)

Filter: Agency: PRC History (filter 239)

Shows records where User Group on the linked Agencies record is one of the viewer's groups.

Columns (9): Record ID, Individual, Status, Recommendations Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created

All PRC's Needing Feedback Form Responses - By Agency (view 331)

Filter: All PRC's Needing Feedback Form Responses (filter 188)

Filter: All PRC's Needing Feedback Form Responses (filter 188)

Shows records where all of these are true:

  • Feedback Form Responses is empty
  • at least one of these is true:
    • Status is "Approved with Qualifications"
    • Status is "Disapproved"

Columns (9): Record ID, Individual, Behaviorist 1, Status, Meeting Date, Recommendations Notes, PRC Recommendations, Feedback Form Responses, Agency

All PRC's Needing Feedback Form Responses - By Behaviorist (view 332)

Filter: All PRC's Needing Feedback Form Responses (filter 188)

Filter: All PRC's Needing Feedback Form Responses (filter 188)

Shows records where all of these are true:

  • Feedback Form Responses is empty
  • at least one of these is true:
    • Status is "Approved with Qualifications"
    • Status is "Disapproved"

Columns (9): Record ID, Individual, Behaviorist 1, Status, Meeting Date, Recommendations Notes, PRC Recommendations, Feedback Form Responses, Agency

All PRC's with Issues (view 433)

Filter: All PRC's with Issues (filter 288)

Filter: All PRC's with Issues (filter 288)

Shows records where PRC Issues is not empty.

Columns (10): Record ID, Individual, Behaviorist 1, Status, Meeting Date, Recommendations Notes, PRC Recommendations, Feedback Form Responses, Agency, PRC Issues

All PRCs Needing Attention (view 270)

Filter: All PRCs Needing Attention (filter 148)

Filter: All PRCs Needing Attention (filter 148)

Shows records where at least one of these is true:

  • all of these are true:
    • Recommendations Due Date is on or before 7 days from now
    • Status is empty
  • all of these are true:
    • Packet Due Date is on or before 7 days from now
    • PRC Packet Submitted is empty

Columns (7): Record ID, Agency, Individual, Meeting Date, Packet Due Date, Recommendations Due Date, PRC Packet Submitted

Peer Review Committee Status (view 377)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (26)

Record ID, Meeting Date, Packet Due Date, Auto Counter, Individual, Status, Recommendations Notes, Script Update, PRC ID, Feedback Form Responses, Date of Last Meeting, Date of Next Meeting, Recommendations Due Date, PRC Prep Files, PRC Packet Submitted, PRC Face Sheet, PRC Recommendations, Packet Added To TV By, Packet Added To TV On, PRC Meeting Entered By, PRC Meeting Entered On, Unique Check, Last User, Created By User, Updated, Created

PRC History (view 227)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (9): Record ID, Individual, Meeting Date, Packet Due Date, Status, Recommendations Notes, Date of Next Meeting, Created By User, Created

PRC History: ACORD (view 363)

Filter: PRC History: ACORD (filter 215)

Filter: PRC History: ACORD (filter 215)

Shows records where Agency ID on the linked Agencies record is 18.

Columns (9): Record ID, Individual, Status, Recommendations Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created

PRC History: CCAOH (view 320)

Filter: PRC History: CCAOH (filter 178)

Filter: PRC History: CCAOH (filter 178)

Shows records where Agency ID on the linked Agencies record is 11.

Columns (9): Record ID, Individual, Status, Recommendations Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created

PRC History: GIL Foundation Incorporated (view 312)

Filter: PRC History: GIL Foundation Incorporated (filter 170)

Filter: PRC History: GIL Foundation Incorporated (filter 170)

Shows records where Agency ID on the linked Agencies record is 16.

Columns (9): Record ID, Individual, Status, Recommendations Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created

PRC History: IMPACT (view 351)

Filter: PRC History: IMPACT (filter 204)

Filter: PRC History: IMPACT (filter 204)

Shows records where Agency ID on the linked Agencies record is 15.

Columns (9): Record ID, Individual, Status, Recommendations Notes, Meeting Date, Packet Due Date, Date of Next Meeting, Created By User, Created

PRC Tracking Sheet (view 446)

Filter: PRC Tracking Sheet (filter 312)

Filter: PRC Tracking Sheet (filter 312)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • Meeting Date is on or before 60 days from now
  • Status is empty
Columns (21)

Record ID, Individual, Agency, Behaviorist 1, Status, Meeting Date, Packet Due Date, Last PRC Rec, BSP, BX Graph, Psych 1, Psych 2, Psych 3, TD/AIMS, Consents, PTP, Nurse/Med Doc, Last User, Updated, Created By User, Created

PRC Tracking Sheet - Behaviorist (view 449)

Filter: PRC Tracking Sheet - Behaviorist (filter 316)

Filter: PRC Tracking Sheet - Behaviorist (filter 316)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • Meeting Date is on or before 60 days from now
  • Status is empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
Columns (21)

Record ID, Individual, Agency, Behaviorist 1, Status, Meeting Date, Packet Due Date, Last PRC Rec, BSP, BX Graph, Psych 1, Psych 2, Psych 3, TD/AIMS, Consents, PTP, Nurse/Med Doc, Last User, Updated, Created By User, Created

PRC Tracking Sheet - Director (view 448)

Filter: PRC Tracking Sheet - Director (filter 315)

Filter: PRC Tracking Sheet - Director (filter 315)

Shows records where all of these are true:

  • Application User on the linked Employees record is the person viewing the list
  • Individual Status on the linked Individuals record is "Active"
  • Meeting Date is on or before 60 days from now
  • Status is empty
Columns (21)

Record ID, Individual, Agency, Behaviorist 1, Status, Meeting Date, Packet Due Date, Last PRC Rec, BSP, BX Graph, Psych 1, Psych 2, Psych 3, TD/AIMS, Consents, PTP, Nurse/Med Doc, Last User, Updated, Created By User, Created

PRC's Needing Feedback Form Responses - Behaviorist (view 334)

Filter: PRC's Needing Feedback Form Responses - Behaviorist (filter 190)

Filter: PRC's Needing Feedback Form Responses - Behaviorist (filter 190)

Shows records where all of these are true:

  • Feedback Form Responses is empty
  • at least one of these is true:
    • Status is "Approved with Qualifications"
    • Status is "Disapproved"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (9): Record ID, Individual, Behaviorist 1, Status, Meeting Date, Recommendations Notes, PRC Recommendations, Feedback Form Responses, Agency

PRC's Needing Feedback Form Responses - Behaviorist - By Agency (view 333)

Filter: PRC's Needing Feedback Form Responses - Behaviorist (filter 190)

Filter: PRC's Needing Feedback Form Responses - Behaviorist (filter 190)

Shows records where all of these are true:

  • Feedback Form Responses is empty
  • at least one of these is true:
    • Status is "Approved with Qualifications"
    • Status is "Disapproved"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (9): Record ID, Individual, Behaviorist 1, Status, Meeting Date, Recommendations Notes, PRC Recommendations, Feedback Form Responses, Agency

PRC's Needing Feedback Form Responses - By Agency - Director (view 420)

Filter: All PRC's Needing Feedback Form Responses - Director (filter 274)

Filter: All PRC's Needing Feedback Form Responses - Director (filter 274)

Shows records where all of these are true:

  • Feedback Form Responses is empty
  • Application User on the linked Employees record is the person viewing the list
  • at least one of these is true:
    • Status is "Approved with Qualifications"
    • Status is "Disapproved"

Columns (9): Record ID, Individual, Behaviorist 1, Status, Meeting Date, Recommendations Notes, PRC Recommendations, Feedback Form Responses, Agency

PRC's Needing Feedback Form Responses - By Behaviorist - Director (view 421)

Filter: All PRC's Needing Feedback Form Responses - Director (filter 274)

Filter: All PRC's Needing Feedback Form Responses - Director (filter 274)

Shows records where all of these are true:

  • Feedback Form Responses is empty
  • Application User on the linked Employees record is the person viewing the list
  • at least one of these is true:
    • Status is "Approved with Qualifications"
    • Status is "Disapproved"

Columns (9): Record ID, Individual, Behaviorist 1, Status, Meeting Date, Recommendations Notes, PRC Recommendations, Feedback Form Responses, Agency

PRC's Needing Packets - Behaviorist (view 429)

Filter: PRC's Needing Packets - Behaviorist (filter 283)

Filter: PRC's Needing Packets - Behaviorist (filter 283)

Shows records where all of these are true:

  • PRC Packet Submitted is empty
  • Packet Due Date is on or before 45 days from now
  • Status is empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (9): Record ID, Individual, Behaviorist 1, Status, Meeting Date, Recommendations Notes, PRC Recommendations, Feedback Form Responses, Agency

PRC's Needing Packets - Behaviorist - By Agency (view 430)

Filter: PRC's Needing Packets - Behaviorist (filter 283)

Filter: PRC's Needing Packets - Behaviorist (filter 283)

Shows records where all of these are true:

  • PRC Packet Submitted is empty
  • Packet Due Date is on or before 45 days from now
  • Status is empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (9): Record ID, Individual, Behaviorist 1, Status, Meeting Date, Recommendations Notes, PRC Recommendations, Feedback Form Responses, Agency

PRCs Awaiting Follow Up - Behaviorist (Not Used?) (view 282)

Filter: PRCs Needing Attention - Behaviorist (filter 154)

Filter: PRCs Needing Attention - Behaviorist (filter 154)

Shows records where all of these are true:

  • PRC Needing Attention is "Yes"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Individual, Behaviorist 1, Meeting Date, Packet Due Date, Recommendations Due Date, PRC Packet Submitted, Agency

PRCs Awaiting Follow Up - Behaviorist - By Agency (view 288)

Filter: PRCs Needing Attention - Behaviorist (filter 154)

Filter: PRCs Needing Attention - Behaviorist (filter 154)

Shows records where all of these are true:

  • PRC Needing Attention is "Yes"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Individual, Behaviorist 1, Meeting Date, Packet Due Date, Recommendations Due Date, PRC Packet Submitted, Agency

PRCs Awaiting Follow Up - By Agency (view 271)

Filter: All PRCs Needing Attention (filter 148)

Filter: All PRCs Needing Attention (filter 148)

Shows records where at least one of these is true:

  • all of these are true:
    • Recommendations Due Date is on or before 7 days from now
    • Status is empty
  • all of these are true:
    • Packet Due Date is on or before 7 days from now
    • PRC Packet Submitted is empty

Columns (8): Record ID, Individual, Behaviorist 1, Meeting Date, Packet Due Date, Recommendations Due Date, PRC Packet Submitted, Agency

PRCs Awaiting Follow Up - By Agency - Director (view 416)

Filter: All PRCs Needing Attention - Director (filter 269)

Filter: All PRCs Needing Attention - Director (filter 269)

Shows records where at least one of these is true:

  • all of these are true:
    • Packet Due Date is on or before 7 days from now
    • PRC Packet Submitted is empty
    • Application User on the linked Employees record is the person viewing the list
  • all of these are true:
    • Recommendations Due Date is on or before 7 days from now
    • Status is empty
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Individual, Behaviorist 1, Meeting Date, Packet Due Date, Recommendations Due Date, PRC Packet Submitted, Agency

PRCs Awaiting Follow Up - By Behaviorist (view 277)

Filter: All PRCs Needing Attention (filter 148)

Filter: All PRCs Needing Attention (filter 148)

Shows records where at least one of these is true:

  • all of these are true:
    • Recommendations Due Date is on or before 7 days from now
    • Status is empty
  • all of these are true:
    • Packet Due Date is on or before 7 days from now
    • PRC Packet Submitted is empty

Columns (8): Record ID, Individual, Behaviorist 1, Meeting Date, Packet Due Date, Recommendations Due Date, PRC Packet Submitted, Agency

PRCs Awaiting Follow Up - By Behaviorist - Director (view 417)

Filter: All PRCs Needing Attention - Director (filter 269)

Filter: All PRCs Needing Attention - Director (filter 269)

Shows records where at least one of these is true:

  • all of these are true:
    • Packet Due Date is on or before 7 days from now
    • PRC Packet Submitted is empty
    • Application User on the linked Employees record is the person viewing the list
  • all of these are true:
    • Recommendations Due Date is on or before 7 days from now
    • Status is empty
    • Application User on the linked Employees record is the person viewing the list

Columns (8): Record ID, Individual, Behaviorist 1, Meeting Date, Packet Due Date, Recommendations Due Date, PRC Packet Submitted, Agency

PRCs to Update HRCs (Workato) (view 431)

Filter: PRCs to Update HRCs (Workato) (filter 286)

Filter: PRCs to Update HRCs (Workato) (filter 286)

Shows records where Add Doc to HRC is "Yes".

Columns (11): Record ID, Auto Counter, Individual, Script Update, PRC ID, Recommendations Notes, PRC Recommendations, Update HRC, Active HRC, HRC Status, Date of Next HRC Meeting

Testing: PRC (view 451)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (12): Record ID, Agency, Individual, Last PRC Recommendations, PRC Recommendations, Script Update, PRC ID, Status, Unique Check, Individual ID, Updated, Last User

Individuals - QuarterliesA

55 fields2 scripts19 views

Individuals - Quarterlies (table 62)

55 fields, 5 system fields, 2 App Scripts, 19 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeUniqueRecord IDField IDViewsSet by scripts
Active Flag (do not change)Short text9631
AgencyLink to another table11036After Insert (48), Before Update (49)
Auto CounterAuto numberyes7811
Check-In Notes Completed for Q1?Drop-down10991
Check-In Notes Completed for Q2?Drop-down11021
Check-In Notes Completed for Q3?Drop-down11001
Check-In Notes Completed for Q4?Drop-down11011
Check-In Notes RequiredShort text13411After Insert (48), Before Update (49)
Completed QuartersLong text (triggered)9801
Day Program LocationLink to another table12351After Insert (48), Before Update (49)
Day Program Quarterlies RequiredShort text12311After Insert (48), Before Update (49)
IndividualLink to another table78919
Individual MedicationsShort text13431After Insert (48), Before Update (49)
IP DateDate95919
New IP DateDate12621
Next Quarterly Due DateDate (calculated)109813
Q1 DueDate78213
Q1 Month DueLong text (triggered)79119
Q1 PDF - Day ProgDocument12331
Q1 PDF - Res ProgDocument10161
Q1 Report DateDate9931Before Update (49)
Q1 StatusDrop-down95819Before Update (49)
Q1 Word - Day ProgDocument12321
Q1 Word - Res ProgDocument9681
Q2 DueDate96113
Q2 Med AuditDrop-down10561
Q2 Month DueLong text (triggered)96619
Q2 PDF - Day ProgDocument12291
Q2 PDF - Res ProgDocument10171
Q2 Report DateDate9951Before Update (49)
Q2 StatusDrop-down96219Before Update (49)
Q2 Word - Day ProgDocument12341
Q2 Word - Res ProgDocument10181
Q3 DueDate95513
Q3 Month DueLong text (triggered)96519
Q3 PDF - Day ProgDocument12271
Q3 PDF - Res ProgDocument10131
Q3 Report DateDate9961Before Update (49)
Q3 StatusDrop-down96019Before Update (49)
Q3 Word - Day ProgDocument12301
Q3 Word - Res ProgDocument10141
Q4 DueDate95613
Q4 Med AuditDrop-down10551
Q4 Month DueLong text (triggered)96719
Q4 PDF - Day ProgDocument12281
Q4 PDF - Res ProgDocument10121
Q4 Report DateDate9941Before Update (49)
Q4 StatusDrop-down95719Before Update (49)
Q4 Word - Day ProgDocument12261
Q4 Word - Res ProgDocument10151
Residential LocationLink to another table11061After Insert (48), Before Update (49)
Residential Quarterlies RequiredShort text13401After Insert (48), Before Update (49)
Script UpdateShort text9811After Insert (48), Before Update (49)
ScriptingIDLong text (triggered)13421
Unique CheckShort textyes9641After Insert (48), Before Update (49)
CreatedDate and time (system)78719
Created By UserUser (system)78519
Last UserUser (system)78419
Record IDRecord ID (system)78819
UpdatedDate and time (system)78619

Calculated and triggered fields

7

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Completed Quarters formula (field 980)

  • Kind: triggered paragraph
  • Reads: Active Flag (do not change), Q1 Status, Q2 Status, Q3 Status, Q4 Status
if({Active Flag (do not change)}="Yes",
  if({Q1 Status} = "Completed" , "Q1" , "") &
  if({Q2 Status} = "Completed" , "Q2" , "") &
  if({Q3 Status} = "Completed" , "Q3" , "") &
  if({Q4 Status} = "Completed" , "Q4" , "")
,null())

Next Quarterly Due Date formula (field 1098)

  • Kind: calculated date
  • Reads: Q1 Report Date, Q2 Report Date, Q3 Report Date, Q4 Report Date
coalesce({Q1 Report Date},coalesce({Q2 Report Date},coalesce({Q3 Report Date},{Q4 Report Date})))

Q1 Month Due formula (field 791)

  • Kind: triggered paragraph
  • Reads: Active Flag (do not change), Q1 Due
if({Active Flag (do not change)}="Yes",
  if(month({Q1 Due}) = 1, "Jan","") &
  if(month({Q1 Due}) = 2, "Feb","") &
  if(month({Q1 Due}) = 3, "Mar","") &
  if(month({Q1 Due}) = 4, "Apr","") &
  if(month({Q1 Due}) = 5, "May","") &
  if(month({Q1 Due}) = 6, "Jun","") &
  if(month({Q1 Due}) = 7, "Jul","") &
  if(month({Q1 Due}) = 8, "Aug","") &
  if(month({Q1 Due}) = 9, "Sep","") &
  if(month({Q1 Due}) = 10, "Oct","") &
  if(month({Q1 Due}) = 11, "Nov","") &
  if(month({Q1 Due}) = 12, "Dec","")
,null())

Q2 Month Due formula (field 966)

  • Kind: triggered paragraph
  • Reads: Active Flag (do not change), Q2 Due
if({Active Flag (do not change)}="Yes",
  if(month({Q2 Due}) = 1, "Jan","") &
  if(month({Q2 Due}) = 2, "Feb","") &
  if(month({Q2 Due}) = 3, "Mar","") &
  if(month({Q2 Due}) = 4, "Apr","") &
  if(month({Q2 Due}) = 5, "May","") &
  if(month({Q2 Due}) = 6, "Jun","") &
  if(month({Q2 Due}) = 7, "Jul","") &
  if(month({Q2 Due}) = 8, "Aug","") &
  if(month({Q2 Due}) = 9, "Sep","") &
  if(month({Q2 Due}) = 10, "Oct","") &
  if(month({Q2 Due}) = 11, "Nov","") &
  if(month({Q2 Due}) = 12, "Dec","")
,null())

Q3 Month Due formula (field 965)

  • Kind: triggered paragraph
  • Reads: Active Flag (do not change), Q3 Due
if({Active Flag (do not change)}="Yes",
  if(month({Q3 Due}) = 1, "Jan","") &
  if(month({Q3 Due}) = 2, "Feb","") &
  if(month({Q3 Due}) = 3, "Mar","") &
  if(month({Q3 Due}) = 4, "Apr","") &
  if(month({Q3 Due}) = 5, "May","") &
  if(month({Q3 Due}) = 6, "Jun","") &
  if(month({Q3 Due}) = 7, "Jul","") &
  if(month({Q3 Due}) = 8, "Aug","") &
  if(month({Q3 Due}) = 9, "Sep","") &
  if(month({Q3 Due}) = 10, "Oct","") &
  if(month({Q3 Due}) = 11, "Nov","") &
  if(month({Q3 Due}) = 12, "Dec","")
,null())

Q4 Month Due formula (field 967)

  • Kind: triggered paragraph
  • Reads: Active Flag (do not change), Q4 Due
if({Active Flag (do not change)}="Yes",
  if(month({Q4 Due}) = 1, "Jan","") &
  if(month({Q4 Due}) = 2, "Feb","") &
  if(month({Q4 Due}) = 3, "Mar","") &
  if(month({Q4 Due}) = 4, "Apr","") &
  if(month({Q4 Due}) = 5, "May","") &
  if(month({Q4 Due}) = 6, "Jun","") &
  if(month({Q4 Due}) = 7, "Jul","") &
  if(month({Q4 Due}) = 8, "Aug","") &
  if(month({Q4 Due}) = 9, "Sep","") &
  if(month({Q4 Due}) = 10, "Oct","") &
  if(month({Q4 Due}) = 11, "Nov","") &
  if(month({Q4 Due}) = 12, "Dec","")
,null())

ScriptingID formula (field 1342)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
AgencyAgencies (table 48)manyToOneparent
IndividualIndividuals (table 50)manyToOneparent
Residential LocationLocations (table 49)manyToOneparent
Day Program LocationLocations (table 49)manyToOneparent

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 49)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Checks whether these changed: Check-In Notes Completed for Q1?, Check-In Notes Completed for Q2?, Check-In Notes Completed for Q3?, Check-In Notes Completed for Q4?, Check-In Notes Required, Day Program Quarterlies Required, Individual, Individual Medications, New IP Date, Q1 Due, Q1 PDF - Day Prog, Q1 PDF - Res Prog, Q1 Report Date, Q1 Status, Q1 Word - Day Prog, Q1 Word - Res Prog, Q2 Due, Q2 Med Audit, Q2 PDF - Day Prog, Q2 PDF - Res Prog, Q2 Report Date, Q2 Status, Q2 Word - Day Prog, Q2 Word - Res Prog, Q3 Due, Q3 PDF - Day Prog, Q3 PDF - Res Prog, Q3 Report Date, Q3 Status, Q3 Word - Day Prog (+10 more)
  • Uses the value of: Active Flag (do not change), Agency, Residential Location, Script Update, ScriptingID
  • Sets on this record: Agency, Check-In Notes Required, Day Program Location, Day Program Quarterlies Required, Individual Medications, Q1 Report Date, Q1 Status, Q2 Report Date, Q2 Status, Q3 Report Date, Q3 Status, Q4 Report Date, Q4 Status, Residential Location, Residential Quarterlies Required, Script Update, Unique Check

What happens when a field changes

45

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Active Flag (do not change) changes

When Agency changes

  • Before Update (49), before save:
    • If any of these is true:
      • any of these is empty:
        • Agency
        • Residential Location
      • Individual changed
      • Script Update is "Individual Updated"
      • Then:
        • sets Agency to Individual → Agency
        • sets Residential Location to Individual → Residential Location
        • sets Day Program Location to Individual → Day Program Location

When Check-In Notes Completed for Q1? changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Completed for Q1?
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later

When Check-In Notes Completed for Q2? changes

  • Before Update (49), before save:
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Completed for Q2?
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later

When Check-In Notes Completed for Q3? changes

  • Before Update (49), before save:
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Completed for Q3?
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later

When Check-In Notes Completed for Q4? changes

  • Before Update (49), before save:
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Completed for Q4?
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Check-In Notes Required changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Required
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Required
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Required
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Required
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Day Program Quarterlies Required changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Day Program Quarterlies Required
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Day Program Quarterlies Required
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Day Program Quarterlies Required
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Day Program Quarterlies Required
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Individual changes

  • Before Update (49), before save:
    • If any of these is true:
      • any of these is empty:
        • Agency
        • Residential Location
      • Individual changed
      • Script Update is "Individual Updated"
      • Then:
        • sets Agency to Individual → Agency
        • sets Residential Location to Individual → Residential Location
        • sets Day Program Location to Individual → Day Program Location
    • In IndividualRequirements(), if Individual → Medication Consents Required is "Yes":
      • sets Individual Medications to Individual → Medications
    • In IndividualRequirements(), otherwise:
      • sets Individual Medications to "None"

When Individual Medications changes

  • Before Update (49), before save:
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Individual Medications
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Individual Medications
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When New IP Date changes

  • Before Update (49), before save:
    • If New IP Date has a value and New IP Date changed:
      • on the linked Individual record: sets New IP Start Date to this record's New IP Date

When Q1 Due changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Q1 Due
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later

When Q1 PDF - Day Prog changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Q1 PDF - Day Prog
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later

When Q1 PDF - Res Prog changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Q1 PDF - Res Prog
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later

When Q1 Report Date changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Q1 Report Date
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later

When Q1 Status changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Q1 Status
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later

When Q1 Word - Day Prog changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Q1 Word - Day Prog
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later

When Q1 Word - Res Prog changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Q1 Word - Res Prog
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later

When Q2 Due changes

  • Before Update (49), before save:
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Q2 Due
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later

When Q2 Med Audit changes

  • Before Update (49), before save:
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Q2 Med Audit
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later

When Q2 PDF - Day Prog changes

  • Before Update (49), before save:
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Q2 PDF - Day Prog
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later

When Q2 PDF - Res Prog changes

  • Before Update (49), before save:
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Q2 PDF - Res Prog
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later

When Q2 Report Date changes

  • Before Update (49), before save:
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Q2 Report Date
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later

When Q2 Status changes

  • Before Update (49), before save:
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Q2 Status
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later

When Q2 Word - Day Prog changes

  • Before Update (49), before save:
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Q2 Word - Day Prog
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later

When Q2 Word - Res Prog changes

  • Before Update (49), before save:
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Q2 Word - Res Prog
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later

When Q3 Due changes

  • Before Update (49), before save:
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Q3 Due
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later

When Q3 PDF - Day Prog changes

  • Before Update (49), before save:
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Q3 PDF - Day Prog
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later

When Q3 PDF - Res Prog changes

  • Before Update (49), before save:
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Q3 PDF - Res Prog
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later

When Q3 Report Date changes

  • Before Update (49), before save:
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Q3 Report Date
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later

When Q3 Status changes

  • Before Update (49), before save:
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Q3 Status
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later

When Q3 Word - Day Prog changes

  • Before Update (49), before save:
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Q3 Word - Day Prog
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later

When Q3 Word - Res Prog changes

  • Before Update (49), before save:
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Q3 Word - Res Prog
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later

When Q4 Due changes

  • Before Update (49), before save:
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Q4 Due
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Q4 Med Audit changes

  • Before Update (49), before save:
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Q4 Med Audit
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Q4 PDF - Day Prog changes

  • Before Update (49), before save:
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Q4 PDF - Day Prog
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Q4 PDF - Res Prog changes

  • Before Update (49), before save:
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Q4 PDF - Res Prog
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Q4 Report Date changes

  • Before Update (49), before save:
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Q4 Report Date
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Q4 Status changes

  • Before Update (49), before save:
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Q4 Status
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Q4 Word - Day Prog changes

  • Before Update (49), before save:
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Q4 Word - Day Prog
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Q4 Word - Res Prog changes

  • Before Update (49), before save:
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Q4 Word - Res Prog
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Residential Location changes

  • Before Update (49), before save:
    • If any of these is true:
      • any of these is empty:
        • Agency
        • Residential Location
      • Individual changed
      • Script Update is "Individual Updated"
      • Then:
        • sets Agency to Individual → Agency
        • sets Residential Location to Individual → Residential Location
        • sets Day Program Location to Individual → Day Program Location

When Residential Quarterlies Required changes

  • Before Update (49), before save:
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Residential Quarterlies Required
        • or 10 other fields
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then if Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 Word - Res Prog is empty
        • Q1 PDF - Res Prog has a value
      • all of these are true:
        • Q1 Word - Res Prog has a value
        • Q1 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
      • checks the conditions under this one
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then if Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"), then otherwise, if any of these is true:
      • all of these are true:
        • Q1 PDF - Day Prog is empty
        • Q1 Word - Day Prog has a value
      • all of these are true:
        • Q1 PDF - Day Prog has a value
        • Q1 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
    • In Q1Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q1"), then if Check-In Notes Completed for Q1? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Residential Quarterlies Required
        • or 12 other fields
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then if Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 Word - Res Prog is empty
        • Q2 PDF - Res Prog has a value
      • all of these are true:
        • Q2 Word - Res Prog has a value
        • Q2 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
      • checks the conditions under this one
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then if Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"), then otherwise, if any of these is true:
      • all of these are true:
        • Q2 PDF - Day Prog is empty
        • Q2 Word - Day Prog has a value
      • all of these are true:
        • Q2 PDF - Day Prog has a value
        • Q2 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Check-In Notes Completed for Q2? has a value:
      • sets working values the script uses later
    • In Q2Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q2"), then if Q2 Med Audit has a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Residential Quarterlies Required
        • or 10 other fields
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then if Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 Word - Res Prog is empty
        • Q3 PDF - Res Prog has a value
      • all of these are true:
        • Q3 Word - Res Prog has a value
        • Q3 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
      • checks the conditions under this one
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then if Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"), then otherwise, if any of these is true:
      • all of these are true:
        • Q3 PDF - Day Prog is empty
        • Q3 Word - Day Prog has a value
      • all of these are true:
        • Q3 PDF - Day Prog has a value
        • Q3 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
    • In Q3Stuff(), if any of 11 fields changed or ScriptCheck.contains("Q3"), then if Check-In Notes Completed for Q3? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Residential Quarterlies Required
        • or 12 other fields
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then if Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 Word - Res Prog is empty
        • Q4 PDF - Res Prog has a value
      • all of these are true:
        • Q4 Word - Res Prog has a value
        • Q4 PDF - Res Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
      • checks the conditions under this one
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then if Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"), then otherwise, if any of these is true:
      • all of these are true:
        • Q4 PDF - Day Prog is empty
        • Q4 Word - Day Prog has a value
      • all of these are true:
        • Q4 PDF - Day Prog has a value
        • Q4 Word - Day Prog is empty
      • Then:
        • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Check-In Notes Completed for Q4? has a value:
      • sets working values the script uses later
    • In Q4Stuff(), if any of 13 fields changed or ScriptCheck.contains("Q4"), then if Q4 Med Audit has a value:
      • sets working values the script uses later

When Script Update changes

  • Before Update (49), before save:
    • If Script Update is "Populate ID":
      • clears Script Update
    • If any of these is true:
      • any of these is empty:
        • Agency
        • Residential Location
      • Individual changed
      • Script Update is "Individual Updated"
      • Then:
        • sets Agency to Individual → Agency
        • sets Residential Location to Individual → Residential Location
        • sets Day Program Location to Individual → Day Program Location

When ScriptingID changes

Field use in views

60

Active Flag (do not change) (field 963)

Agency (field 1103)

Auto Counter (field 781)

Check-In Notes Completed for Q1? (field 1099)

Check-In Notes Completed for Q2? (field 1102)

Check-In Notes Completed for Q3? (field 1100)

Check-In Notes Completed for Q4? (field 1101)

Check-In Notes Required (field 1341)

Completed Quarters (field 980)

Day Program Location (field 1235)

Day Program Quarterlies Required (field 1231)

Individual (field 789)

Individual Medications (field 1343)

IP Date (field 959)

New IP Date (field 1262)

Next Quarterly Due Date (field 1098)

Q1 Due (field 782)

Q1 Month Due (field 791)

Q1 PDF - Day Prog (field 1233)

Q1 PDF - Res Prog (field 1016)

Q1 Report Date (field 993)

Q1 Status (field 958)

Q1 Word - Day Prog (field 1232)

Q1 Word - Res Prog (field 968)

Q2 Due (field 961)

Q2 Med Audit (field 1056)

Q2 Month Due (field 966)

Q2 PDF - Day Prog (field 1229)

Q2 PDF - Res Prog (field 1017)

Q2 Report Date (field 995)

Q2 Status (field 962)

Q2 Word - Day Prog (field 1234)

Q2 Word - Res Prog (field 1018)

Q3 Due (field 955)

Q3 Month Due (field 965)

Q3 PDF - Day Prog (field 1227)

Q3 PDF - Res Prog (field 1013)

Q3 Report Date (field 996)

Q3 Status (field 960)

Q3 Word - Day Prog (field 1230)

Q3 Word - Res Prog (field 1014)

Q4 Due (field 956)

Q4 Med Audit (field 1055)

Q4 Month Due (field 967)

Q4 PDF - Day Prog (field 1228)

Q4 PDF - Res Prog (field 1012)

Q4 Report Date (field 994)

Q4 Status (field 957)

Q4 Word - Day Prog (field 1226)

Q4 Word - Res Prog (field 1015)

Residential Location (field 1106)

Residential Quarterlies Required (field 1340)

Script Update (field 981)

ScriptingID (field 1342)

Unique Check (field 964)

Created (field 787)

Created By User (field 785)

Last User (field 784)

Record ID (field 788)

Updated (field 786)

Individuals - Quarterlies: App Scripts

2 scripts. Health: grade A, score 94.

After Insert (script 48)

After a new record is savedEnabled, 70 lines
  • Author's description: Quarterlies
  • Sets on this record: Agency, Check-In Notes Required, Day Program Location, Day Program Quarterlies Required, Individual Medications, Residential Location, Residential Quarterlies Required, Script Update, Unique Check
  • Reads from this record: Active Flag (do not change), Individual
  • Functions: IndividualRequirements
  • What it does, by condition:
    • Every time it runs:
      • runs IndividualRequirements()
      • sets Script Update to "Populate ID"
      • sets Unique Check to a value calculated from Active Flag (do not change), Individual → Individual ID
      • sets Agency to Individual → Agency
      • sets Residential Location to Individual → Residential Location
      • sets Day Program Location to Individual → Day Program Location
      • sets Check-In Notes Required to Individual → Check-In Notes Required
      • sets Residential Quarterlies Required to Individual → Residential Quarterlies
      • sets Day Program Quarterlies Required to Individual → Day Program Quarterlies
    • In IndividualRequirements(), if Individual → Medication Consents Required is "Yes":
      • sets Individual Medications to Individual → Medications
    • In IndividualRequirements(), otherwise:
      • sets Individual Medications to "None"
  • Code: After Insert

Before Update (script 49)

Before an edited record is saved. It can change the record being editedEnabled, 513 lines
  • Author's description: Quarterlies
  • Sets on this record: Agency, Check-In Notes Required, Day Program Location, Day Program Quarterlies Required, Individual Medications, Q1 Report Date, Q1 Status, Q2 Report Date, Q2 Status, Q3 Report Date, Q3 Status, Q4 Report Date, Q4 Status, Residential Location, Residential Quarterlies Required, Script Update, Unique Check
  • Reads from this record: Active Flag (do not change), Check-In Notes Completed for Q1?, Check-In Notes Completed for Q2?, Check-In Notes Completed for Q3?, Check-In Notes Completed for Q4?, Individual, New IP Date, Q1 Due, Q1 PDF - Day Prog, Q1 PDF - Res Prog, Q1 Word - Day Prog, Q1 Word - Res Prog, Q2 Due, Q2 Med Audit, Q2 PDF - Day Prog, Q2 PDF - Res Prog, Q2 Word - Day Prog, Q2 Word - Res Prog, Q3 Due, Q3 PDF - Day Prog, Q3 PDF - Res Prog, Q3 Word - Day Prog, Q3 Word - Res Prog, Q4 Due, Q4 Med Audit, Q4 PDF - Day Prog, Q4 PDF - Res Prog, Q4 Word - Day Prog, Q4 Word - Res Prog, ScriptingID
  • Checks for changes in: Check-In Notes Completed for Q1?, Check-In Notes Completed for Q2?, Check-In Notes Completed for Q3?, Check-In Notes Completed for Q4?, Check-In Notes Required, Day Program Quarterlies Required, Individual, Individual Medications, New IP Date, Q1 Due, Q1 PDF - Day Prog, Q1 PDF - Res Prog, Q1 Report Date, Q1 Status, Q1 Word - Day Prog, Q1 Word - Res Prog, Q2 Due, Q2 Med Audit, Q2 PDF - Day Prog, Q2 PDF - Res Prog, Q2 Report Date, Q2 Status, Q2 Word - Day Prog, Q2 Word - Res Prog, Q3 Due, Q3 PDF - Day Prog, Q3 PDF - Res Prog, Q3 Report Date, Q3 Status, Q3 Word - Day Prog (+10 more)
  • Functions: checkDifference, IndividualRequirements, isDifferent, Q1Stuff, Q2Stuff, Q3Stuff, Q4Stuff
  • What it does, by condition:
    • Every time it runs:
      • runs IndividualRequirements(), Q1Stuff(), Q2Stuff(), Q3Stuff(), Q4Stuff()
      • sets Unique Check to a value calculated from Active Flag (do not change), Individual → Individual ID
      • clears Script Update
      • sets Check-In Notes Required to Individual → Check-In Notes Required
      • sets Residential Quarterlies Required to Individual → Residential Quarterlies
      • sets Day Program Quarterlies Required to Individual → Day Program Quarterlies
    • If Script Update is "Populate ID":
      • clears Script Update
    • If any of these is true:
      • any of these is empty:
        • Agency
        • Residential Location
      • Individual changed
      • Script Update is "Individual Updated"
      • Then:
        • sets Agency to Individual → Agency
        • sets Residential Location to Individual → Residential Location
        • sets Day Program Location to Individual → Day Program Location
    • If New IP Date has a value and New IP Date changed:
      • on the linked Individual record: sets New IP Start Date to this record's New IP Date
    • In Q1Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Completed for Q1?
        • Check-In Notes Required
        • Day Program Quarterlies Required
        • Q1 Due
        • Q1 PDF - Day Prog
        • Q1 PDF - Res Prog
        • Q1 Report Date
        • Q1 Status
        • Q1 Word - Day Prog
        • Q1 Word - Res Prog
        • Residential Quarterlies Required
      • ScriptCheck.contains("Q1")
      • Then:
        • clears Q1 Report Date
        • sets Q1 Report Date to Q1 Due
        • sets Q1 Status to a value calculated from Q1 Status
      • If ResQrequired.contains("N/A") or not ResQrequired.contains("Q1"):
        • sets working values the script uses later
      • Otherwise, if ResQrequired is "" or ResQrequired.contains("Q1"):
        • checks the conditions under this one
        • If Q1 Word - Res Prog and Q1 PDF - Res Prog both have a value:
          • sets working values the script uses later
        • Otherwise, if any of these is true:
          • all of these are true:
            • Q1 Word - Res Prog is empty
            • Q1 PDF - Res Prog has a value
          • all of these are true:
            • Q1 Word - Res Prog has a value
            • Q1 PDF - Res Prog is empty
          • Then:
            • stops the save with the error "Please provide both the Q1 Word and PDF Residential Program files "
      • If DayQrequired.contains("N/A") or not DayQrequired.contains("Q1"):
        • sets working values the script uses later
      • Otherwise, if DayQrequired is "" or DayQrequired.contains("Q1"):
        • checks the conditions under this one
        • If Q1 PDF - Day Prog and Q1 Word - Day Prog both have a value:
          • sets working values the script uses later
        • Otherwise, if any of these is true:
          • all of these are true:
            • Q1 PDF - Day Prog is empty
            • Q1 Word - Day Prog has a value
          • all of these are true:
            • Q1 PDF - Day Prog has a value
            • Q1 Word - Day Prog is empty
          • Then:
            • stops the save with the error "Please provide both the Q1 Word and PDF Day Program files "
      • If Check-In Notes Completed for Q1? has a value:
        • sets working values the script uses later
    • In Q2Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Completed for Q2?
        • Check-In Notes Required
        • Day Program Quarterlies Required
        • Individual Medications
        • Q2 Due
        • Q2 Med Audit
        • Q2 PDF - Day Prog
        • Q2 PDF - Res Prog
        • Q2 Report Date
        • Q2 Status
        • Q2 Word - Day Prog
        • Q2 Word - Res Prog
        • Residential Quarterlies Required
      • ScriptCheck.contains("Q2")
      • Then:
        • clears Q2 Report Date
        • sets Q2 Report Date to Q2 Due
        • sets Q2 Status to a value calculated from Q2 Status
      • If ResQrequired.contains("N/A") or not ResQrequired.contains("Q2"):
        • sets working values the script uses later
      • Otherwise, if ResQrequired is "" or ResQrequired.contains("Q2"):
        • checks the conditions under this one
        • If Q2 Word - Res Prog and Q2 PDF - Res Prog both have a value:
          • sets working values the script uses later
        • Otherwise, if any of these is true:
          • all of these are true:
            • Q2 Word - Res Prog is empty
            • Q2 PDF - Res Prog has a value
          • all of these are true:
            • Q2 Word - Res Prog has a value
            • Q2 PDF - Res Prog is empty
          • Then:
            • stops the save with the error "Please provide both the Q2 Word and PDF Residential Program files "
      • If DayQrequired.contains("N/A") or not DayQrequired.contains("Q2"):
        • sets working values the script uses later
      • Otherwise, if DayQrequired is "" or DayQrequired.contains("Q2"):
        • checks the conditions under this one
        • If Q2 PDF - Day Prog and Q2 Word - Day Prog both have a value:
          • sets working values the script uses later
        • Otherwise, if any of these is true:
          • all of these are true:
            • Q2 PDF - Day Prog is empty
            • Q2 Word - Day Prog has a value
          • all of these are true:
            • Q2 PDF - Day Prog has a value
            • Q2 Word - Day Prog is empty
          • Then:
            • stops the save with the error "Please provide both the Q2 Word and PDF Day Program files "
      • If Check-In Notes Completed for Q2? has a value:
        • sets working values the script uses later
      • If Q2 Med Audit has a value:
        • sets working values the script uses later
    • In Q3Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Completed for Q3?
        • Check-In Notes Required
        • Day Program Quarterlies Required
        • Q3 Due
        • Q3 PDF - Day Prog
        • Q3 PDF - Res Prog
        • Q3 Report Date
        • Q3 Status
        • Q3 Word - Day Prog
        • Q3 Word - Res Prog
        • Residential Quarterlies Required
      • ScriptCheck.contains("Q3")
      • Then:
        • clears Q3 Report Date
        • sets Q3 Report Date to Q3 Due
        • sets Q3 Status to a value calculated from Q3 Status
      • If ResQrequired.contains("N/A") or not ResQrequired.contains("Q3"):
        • sets working values the script uses later
      • Otherwise, if ResQrequired is "" or ResQrequired.contains("Q3"):
        • checks the conditions under this one
        • If Q3 Word - Res Prog and Q3 PDF - Res Prog both have a value:
          • sets working values the script uses later
        • Otherwise, if any of these is true:
          • all of these are true:
            • Q3 Word - Res Prog is empty
            • Q3 PDF - Res Prog has a value
          • all of these are true:
            • Q3 Word - Res Prog has a value
            • Q3 PDF - Res Prog is empty
          • Then:
            • stops the save with the error "Please provide both the Q3 Word and PDF Residential Program files "
      • If DayQrequired.contains("N/A") or not DayQrequired.contains("Q3"):
        • sets working values the script uses later
      • Otherwise, if DayQrequired is "" or DayQrequired.contains("Q3"):
        • checks the conditions under this one
        • If Q3 PDF - Day Prog and Q3 Word - Day Prog both have a value:
          • sets working values the script uses later
        • Otherwise, if any of these is true:
          • all of these are true:
            • Q3 PDF - Day Prog is empty
            • Q3 Word - Day Prog has a value
          • all of these are true:
            • Q3 PDF - Day Prog has a value
            • Q3 Word - Day Prog is empty
          • Then:
            • stops the save with the error "Please provide both the Q3 Word and PDF Day Program files "
      • If Check-In Notes Completed for Q3? has a value:
        • sets working values the script uses later
    • In Q4Stuff(), if any of these is true:
      • any of these changed:
        • Check-In Notes Completed for Q4?
        • Check-In Notes Required
        • Day Program Quarterlies Required
        • Individual Medications
        • Q4 Due
        • Q4 Med Audit
        • Q4 PDF - Day Prog
        • Q4 PDF - Res Prog
        • Q4 Report Date
        • Q4 Status
        • Q4 Word - Day Prog
        • Q4 Word - Res Prog
        • Residential Quarterlies Required
      • ScriptCheck.contains("Q4")
      • Then:
        • clears Q4 Report Date
        • sets Q4 Report Date to Q4 Due
        • sets Q4 Status to a value calculated from Q4 Status
      • If ResQrequired.contains("N/A") or not ResQrequired.contains("Q4"):
        • sets working values the script uses later
      • Otherwise, if ResQrequired is "" or ResQrequired.contains("Q4"):
        • checks the conditions under this one
        • If Q4 Word - Res Prog and Q4 PDF - Res Prog both have a value:
          • sets working values the script uses later
        • Otherwise, if any of these is true:
          • all of these are true:
            • Q4 Word - Res Prog is empty
            • Q4 PDF - Res Prog has a value
          • all of these are true:
            • Q4 Word - Res Prog has a value
            • Q4 PDF - Res Prog is empty
          • Then:
            • stops the save with the error "Please provide both the Q4 Word and PDF Residential Program files "
      • If DayQrequired.contains("N/A") or not DayQrequired.contains("Q4"):
        • sets working values the script uses later
      • Otherwise, if DayQrequired is "" or DayQrequired.contains("Q4"):
        • checks the conditions under this one
        • If Q4 PDF - Day Prog and Q4 Word - Day Prog both have a value:
          • sets working values the script uses later
        • Otherwise, if any of these is true:
          • all of these are true:
            • Q4 PDF - Day Prog is empty
            • Q4 Word - Day Prog has a value
          • all of these are true:
            • Q4 PDF - Day Prog has a value
            • Q4 Word - Day Prog is empty
          • Then:
            • stops the save with the error "Please provide both the Q4 Word and PDF Day Program files "
      • If Check-In Notes Completed for Q4? has a value:
        • sets working values the script uses later
      • If Q4 Med Audit has a value:
        • sets working values the script uses later
    • In IndividualRequirements(), if Individual → Medication Consents Required is "Yes":
      • sets Individual Medications to Individual → Medications
    • In IndividualRequirements(), otherwise:
      • sets Individual Medications to "None"
  • Code: Before Update

Individuals - Quarterlies: Views (table 62)

19 views, 17 with a filter. 14 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 191)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (60)

Record ID, Agency, Auto Counter, Day Program Location, Individual, Residential Location, Last User, Created By User, Updated, Created, ScriptingID, Script Update, IP Date, New IP Date, Q1 Month Due, Q2 Month Due, Q3 Month Due, Q4 Month Due, Completed Quarters, Q1 Due, Q1 Status, Check-In Notes Completed for Q1?, Q1 Word - Res Prog, Q1 Word - Day Prog, Q1 PDF - Res Prog, Q1 PDF - Day Prog, Q2 Due, Q2 Status, Check-In Notes Completed for Q2?, Q2 Med Audit, Q2 Word - Res Prog, Q2 Word - Day Prog, Q2 PDF - Res Prog, Q2 PDF - Day Prog, Q3 Due, Q3 Status, Check-In Notes Completed for Q3?, Q3 Word - Res Prog, Q3 Word - Day Prog, Q3 PDF - Res Prog, Q3 PDF - Day Prog, Q4 Due, Q4 Status, Check-In Notes Completed for Q4?, Q4 Med Audit, Q4 Word - Res Prog, Q4 Word - Day Prog, Q4 PDF - Res Prog, Q4 PDF - Day Prog, Unique Check, Active Flag (do not change), Q1 Report Date, Q2 Report Date, Q3 Report Date, Q4 Report Date, Next Quarterly Due Date, Check-In Notes Required, Residential Quarterlies Required, Day Program Quarterlies Required, Individual Medications

Agency: Quarterly Reports (view 394)

Filter: Agency: Quarterly Reports (filter 240)

Filter: Agency: Quarterly Reports (filter 240)

Shows records where User Group on the linked Agencies record is one of the viewer's groups.

Columns (15): Record ID, Individual, IP Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Last User, Created By User, Updated, Created

All Completed Quarterlies (view 293)

Filter: All Completed Quarterlies (filter 157)

Filter: All Completed Quarterlies (filter 157)

Shows records where all of these are true:

  • Q1 Status is "Completed"
  • Q2 Status is "Completed"
  • Q3 Status is "Completed"
  • Q4 Status is "Completed"
Columns (20)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created

All Quarterly Reports (view 239)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (15): Record ID, Individual, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, IP Date, Last User, Created By User, Updated, Created

All Quarterly Reports - Behaviorist (view 404)

Filter: All Quarterly Reports - Behaviorist (filter 256)

Filter: All Quarterly Reports - Behaviorist (filter 256)

Shows records where at least one of these is true:

  • Application User on the linked Employees record is the person viewing the list
  • Application User on the linked Employees record is the person viewing the list
  • Application User on the linked Employees record is the person viewing the list
Columns (20)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created

All Quarterly Reports - Director (view 444)

Filter: All Quarterly Reports - Director (filter 309)

Filter: All Quarterly Reports - Director (filter 309)

Shows records where Application User on the linked Employees record is the person viewing the list.

Columns (20)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created

Current Quarterly Reports Due (Next Month) - By Agency (view 255)

Filter: Upcoming Quarterly Reports (Next Month) (filter 135)

Filter: Upcoming Quarterly Reports (Next Month) (filter 135)

Shows records where all of these are true:

  • Next Quarterly Due Date is on or before next month
  • BSP Word on the linked Individuals record is not empty
  • Individual Status on the linked Individuals record is "Active"
Columns (21)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created, Agency

Current Quarterly Reports Due (Next Month) - By Agency - Director (view 408)

Filter: Upcoming Quarterly Reports (Next Month) - Director (filter 260)

Filter: Upcoming Quarterly Reports (Next Month) - Director (filter 260)

Shows records where all of these are true:

  • Next Quarterly Due Date is on or before next month
  • Application User on the linked Employees record is the person viewing the list
  • Individual Status on the linked Individuals record is "Active"
  • BSP Word on the linked Individuals record is not empty
Columns (21)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created, Agency

Current Quarterly Reports Due (Next Month) - By Behaviorist (view 273)

Filter: Upcoming Quarterly Reports (Next Month) (filter 135)

Filter: Upcoming Quarterly Reports (Next Month) (filter 135)

Shows records where all of these are true:

  • Next Quarterly Due Date is on or before next month
  • BSP Word on the linked Individuals record is not empty
  • Individual Status on the linked Individuals record is "Active"
Columns (22)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created, Agency, Behaviorist 1

Current Quarterly Reports Due (Next Month) - By Behaviorist - Director (view 409)

Filter: Upcoming Quarterly Reports (Next Month) - Director (filter 260)

Filter: Upcoming Quarterly Reports (Next Month) - Director (filter 260)

Shows records where all of these are true:

  • Next Quarterly Due Date is on or before next month
  • Application User on the linked Employees record is the person viewing the list
  • Individual Status on the linked Individuals record is "Active"
  • BSP Word on the linked Individuals record is not empty
Columns (22)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created, Agency, Behaviorist 1

Current Quarterly Reports Due - Behaviorist (Next Month) (view 254)

Filter: My Due Quarterly Reports - Behaviorist (Next Month) (filter 134)

Filter: My Due Quarterly Reports - Behaviorist (Next Month) (filter 134)

Shows records where all of these are true:

  • Next Quarterly Due Date is on or before next month
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
Columns (20)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created

Current Quarterly Reports Due - Behaviorist (Next Month) - By Agency (view 284)

Filter: My Due Quarterly Reports - Behaviorist (Next Month) (filter 134)

Filter: My Due Quarterly Reports - Behaviorist (Next Month) (filter 134)

Shows records where all of these are true:

  • Next Quarterly Due Date is on or before next month
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
Columns (21)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created, Agency

Current Quarterly Reports Due - Director (Next Month) (view 443)

Filter: My Due Quarterly Reports - Director (Next Month) (filter 307)

Filter: My Due Quarterly Reports - Director (Next Month) (filter 307)

Shows records where all of these are true:

  • Next Quarterly Due Date is on or before next month
  • Application User on the linked Employees record is the person viewing the list
Columns (20)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created

My Open Quarterly Reports - Behaviorist (view 253)

Filter: Behaviorist - Open Quarterly Reports (filter 136)

Filter: Behaviorist - Open Quarterly Reports (filter 136)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • at least one of these is true:
    • Q1 Status is empty
    • Q2 Status is empty
    • Q3 Status is empty
    • Q4 Status is empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
Columns (20)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created

Open Quarterly Reports (view 252)

Filter: Open Quarterly Reports (filter 132)

Filter: Open Quarterly Reports (filter 132)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • at least one of these is true:
    • Q1 Status is empty
    • Q2 Status is empty
    • Q3 Status is empty
    • Q4 Status is empty
Columns (20)

Record ID, Individual, IP Date, Next Quarterly Due Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Q1 Due, Q2 Due, Q3 Due, Q4 Due, Last User, Created By User, Updated, Created

Quarterly Reports: ACORD (view 364)

Filter: Quarterly Reports: ACORD (filter 216)

Filter: Quarterly Reports: ACORD (filter 216)

Shows records where Agency ID on the linked Agencies record is 18.

Columns (15): Record ID, Individual, IP Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Last User, Created By User, Updated, Created

Quarterly Reports: CCAOH (view 319)

Filter: Quarterly Reports: CCAOH (filter 177)

Filter: Quarterly Reports: CCAOH (filter 177)

Shows records where Agency ID on the linked Agencies record is 11.

Columns (15): Record ID, Individual, IP Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Last User, Created By User, Updated, Created

Quarterly Reports: GIL Foundation Incorporated (view 316)

Filter: Quarterly Reports: GIL Foundation Incorporated (filter 174)

Filter: Quarterly Reports: GIL Foundation Incorporated (filter 174)

Shows records where Agency ID on the linked Agencies record is 16.

Columns (15): Record ID, Individual, IP Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Last User, Created By User, Updated, Created

Quarterly Reports: IMPACT (view 352)

Filter: Quarterly Reports: IMPACT (filter 205)

Filter: Quarterly Reports: IMPACT (filter 205)

Shows records where Agency ID on the linked Agencies record is 15.

Columns (15): Record ID, Individual, IP Date, Q1 Month Due, Q1 Status, Q2 Month Due, Q2 Status, Q3 Month Due, Q3 Status, Q4 Month Due, Q4 Status, Last User, Created By User, Updated, Created

Individuals - Safety & Support MeasuresA

29 fields2 scripts30 views

Individuals - Safety & Support Measures (table 53)

29 fields, 5 system fields, 2 App Scripts, 30 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViewsSet by scripts
Adversives, Restrictives, LoSLink to another table8939
Adversives, Restrictives, LoS NameShort text8961After Insert (30), New Script (31)
AgencyLink to another table11045After Insert (30), New Script (31)
Auto CounterAuto numberyes6661
Consent Form NeededLong text (calculated)10491
Consent Form RequiredLong text (calculated)13731
Consent Form Signed DateDate77617
Consent NameShort text89710After Insert (30), New Script (31)
Consent TypeDrop-down89010
Create ConsentShort text10522New Script (31)
Days Since Last Consent FormNumber (calculated)88616
IndividualLink to another table68430
Last Consent Form Signed DateDate (calculated)77930
Level of SupervisionLink to another table8922
Level of Supervision NameShort text8951
LocationLink to another table11051After Insert (30), New Script (31)
MedicationLink to another table68615
Medication NameShort text8761After Insert (30), New Script (31)
Next Consent Form DueDate9546
Prescriber NameShort text13903
Prescriber TypeDrop-down13893
RestrictiveLink to another table8912
Restrictive NameShort text8941
Script UpdateShort text8777New Script (31)
Signed_Consent_PDFDocument6902
Start DateDate11117
StatusDrop-down68827
Stop DateDate11107
Unsigned_Consent_WordDocument10452
CreatedDate and time (system)67030
Created By UserUser (system)66830
Last UserUser (system)66730
Record IDRecord ID (system)67130
UpdatedDate and time (system)66930

Calculated and triggered fields

4

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

  • Kind: calculated paragraph
  • Reads: Consent Forms → Date Signed (via Individuals Safety & Support Measure), Consent Type, Status
if(and({Status} = "Active",coalesce(datedif(today() , max({Consent Forms}.{Individuals Safety & Support Measure}.{Date Signed}) , "d"),999)>364),{Consent Type},null())
  • Kind: calculated paragraph
  • Reads: Consent Type, Individuals → Adversives, Restrictives, LoS Consents Required (via Individual), Individuals → Medication Consents Required (via Individual)
if(or(and({Individuals}.{Individual}.{Medication Consents Required} = "Yes",{Consent Type}="Medication"),
	and({Individuals}.{Individual}.{Adversives, Restrictives, LoS Consents Required} = "Yes",{Consent Type}="Adversive, Restrictive, LoS")),"Yes", "No")
  • Kind: calculated number
  • Reads: Consent Forms → Date Signed (via Individuals Safety & Support Measure)
coalesce(datedif(today() , max({Consent Forms}.{Individuals Safety & Support Measure}.{Date Signed}) , "d"),999)
  • Kind: calculated date
  • Reads: Consent Forms → Date Signed (via Individuals Safety & Support Measure)
max({Consent Forms}.{Individuals Safety & Support Measure}.{Date Signed})

Relationships

Link fieldRelated tableRelationshipRelated table is
AgencyAgencies (table 48)manyToOneparent
IndividualIndividuals (table 50)manyToOneparent
LocationLocations (table 49)manyToOneparent
Adversives, Restrictives, LoSz - Adversives, Restrictives, LoS (table 46)manyToOneparent
Level of Supervisionz - Levels of Supervision (table 47)manyToOneparent
Medicationz - Medications (table 44)manyToOneparent
Restrictivez - Restrictives (table 45)manyToOneparent
Individuals Safety & Support MeasureConsent Forms (table 61)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

New Script (script 31)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Checks whether these changed: Consent Form Signed Date, Individual
  • Uses the value of: Adversives, Restrictives, LoS, Agency, Location, Medication, Script Update, Signed_Consent_PDF, Status, Unsigned_Consent_Word
  • Sets on this record: Adversives, Restrictives, LoS Name, Agency, Consent Name, Create Consent, Location, Medication Name, Script Update

What happens when a field changes

10

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Adversives, Restrictives, LoS changes

  • New Script (31), before save:
    • Otherwise, then if Medication has a value:
      • sets Consent Name, Medication Name to Medication → Medication
      • clears Adversives, Restrictives, LoS Name
    • Otherwise, then otherwise, if Adversives, Restrictives, LoS has a value:
      • sets Consent Name, Adversives, Restrictives, LoS Name to Adversives, Restrictives, LoS → Adversive, Restrictive, LoS
      • clears Medication Name

When Agency changes

  • New Script (31), before save:
    • If any of these is true:
      • any of these is empty:
        • Agency
        • Location
      • Individual changed
      • Script Update is "Individual Updated"
      • Then:
        • sets Agency to Individual → Agency
        • sets Location to Individual → Residential Location
        • clears Script Update
  • New Script (31), before save:
    • If Consent Form Signed Date has a value and Consent Form Signed Date changed:
      • sets Create Consent to "Yes"
    • If Consent Form Signed Date has a value and Consent Form Signed Date changed, then if Unsigned_Consent_Word is empty:
      • stops the save with the error "Please provide both the Unsigned Consent form in Word format"
    • If Consent Form Signed Date has a value and Consent Form Signed Date changed, then if Signed_Consent_PDF is empty:
      • stops the save with the error "Please provide both the Signed Consent form in PDF format"

When Individual changes

  • New Script (31), before save:
    • If any of these is true:
      • any of these is empty:
        • Agency
        • Location
      • Individual changed
      • Script Update is "Individual Updated"
      • Then:
        • sets Agency to Individual → Agency
        • sets Location to Individual → Residential Location
        • clears Script Update

When Location changes

  • New Script (31), before save:
    • If any of these is true:
      • any of these is empty:
        • Agency
        • Location
      • Individual changed
      • Script Update is "Individual Updated"
      • Then:
        • sets Agency to Individual → Agency
        • sets Location to Individual → Residential Location
        • clears Script Update

When Medication changes

  • New Script (31), before save:
    • Otherwise, then if Medication has a value:
      • sets Consent Name, Medication Name to Medication → Medication
      • clears Adversives, Restrictives, LoS Name
    • Otherwise, then otherwise, if Adversives, Restrictives, LoS has a value:
      • sets Consent Name, Adversives, Restrictives, LoS Name to Adversives, Restrictives, LoS → Adversive, Restrictive, LoS
      • clears Medication Name

When Script Update changes

  • New Script (31), before save:
    • If any of these is true:
      • any of these is empty:
        • Agency
        • Location
      • Individual changed
      • Script Update is "Individual Updated"
      • Then:
        • sets Agency to Individual → Agency
        • sets Location to Individual → Residential Location
        • clears Script Update
  • New Script (31), before save:
    • If Consent Form Signed Date has a value and Consent Form Signed Date changed, then if Signed_Consent_PDF is empty:
      • stops the save with the error "Please provide both the Signed Consent form in PDF format"

When Status changes

  • New Script (31), before save:
    • If Status is "Inactive":
      • clears Medication Name, Adversives, Restrictives, LoS Name
    • Otherwise:
      • checks the conditions under this one
    • Otherwise, then if Medication has a value:
      • sets Consent Name, Medication Name to Medication → Medication
      • clears Adversives, Restrictives, LoS Name
    • Otherwise, then otherwise, if Adversives, Restrictives, LoS has a value:
      • sets Consent Name, Adversives, Restrictives, LoS Name to Adversives, Restrictives, LoS → Adversive, Restrictive, LoS
      • clears Medication Name
  • New Script (31), before save:
    • If Consent Form Signed Date has a value and Consent Form Signed Date changed, then if Unsigned_Consent_Word is empty:
      • stops the save with the error "Please provide both the Unsigned Consent form in Word format"

Field use in views

34

Adversives, Restrictives, LoS (field 893)

Adversives, Restrictives, LoS Name (field 896)

Agency (field 1104)

Auto Counter (field 666)

Individual (field 684)

Level of Supervision (field 892)

Level of Supervision Name (field 895)

Location (field 1105)

Medication (field 686)

Medication Name (field 876)

Prescriber Name (field 1390)

Prescriber Type (field 1389)

Restrictive (field 891)

Restrictive Name (field 894)

Script Update (field 877)

Start Date (field 1111)

Status (field 688)

Stop Date (field 1110)

Created (field 670)

Created By User (field 668)

Last User (field 667)

Record ID (field 671)

Updated (field 669)

Individuals - Safety & Support Measures: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 30)

After a new record is savedEnabled, 48 lines
  • Author's description: Individual Measures
  • Sets on this record: Adversives, Restrictives, LoS Name, Agency, Consent Name, Location, Medication Name
  • Reads from this record: Adversives, Restrictives, LoS, Individual, Medication
  • What it does, by condition:
    • Every time it runs:
      • sets Agency to Individual → Agency
      • sets Location to Individual → Residential Location
    • If Medication has a value:
      • sets Consent Name, Medication Name to Medication → Medication
      • clears Adversives, Restrictives, LoS Name
    • Otherwise, if Adversives, Restrictives, LoS has a value:
      • sets Consent Name, Adversives, Restrictives, LoS Name to Adversives, Restrictives, LoS → Adversive, Restrictive, LoS
      • clears Medication Name
  • Code: After Insert

New Script (script 31)

Before an edited record is saved. It can change the record being editedEnabled, 78 lines
  • Author's description: Individual Measures
  • Sets on this record: Adversives, Restrictives, LoS Name, Agency, Consent Name, Create Consent, Location, Medication Name, Script Update
  • Reads from this record: Adversives, Restrictives, LoS, Consent Form Signed Date, Individual, Medication, Signed_Consent_PDF, Status, Unsigned_Consent_Word
  • Checks for changes in: Consent Form Signed Date, Individual
  • Functions: isDifferent
  • What it does, by condition:
    • If any of these is true:
      • any of these is empty:
        • Agency
        • Location
      • Individual changed
      • Script Update is "Individual Updated"
      • Then:
        • sets Agency to Individual → Agency
        • sets Location to Individual → Residential Location
        • clears Script Update
    • If Consent Form Signed Date has a value and Consent Form Signed Date changed:
      • sets Create Consent to "Yes"
      • If Unsigned_Consent_Word is empty:
        • stops the save with the error "Please provide both the Unsigned Consent form in Word format"
      • If Signed_Consent_PDF is empty:
        • stops the save with the error "Please provide both the Signed Consent form in PDF format"
    • If Status is "Inactive":
      • clears Medication Name, Adversives, Restrictives, LoS Name
    • Otherwise:
      • checks the conditions under this one
      • If Medication has a value:
        • sets Consent Name, Medication Name to Medication → Medication
        • clears Adversives, Restrictives, LoS Name
      • Otherwise, if Adversives, Restrictives, LoS has a value:
        • sets Consent Name, Adversives, Restrictives, LoS Name to Adversives, Restrictives, LoS → Adversive, Restrictive, LoS
        • clears Medication Name
  • Code: New Script

Individuals - Safety & Support Measures: Views (table 53)

30 views, 29 with a filter. 20 filters on this table, 1 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 164)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (34)

Record ID, Adversives, Restrictives, LoS, Agency, Auto Counter, Individual, Level of Supervision, Location, Medication, Restrictive, Last User, Created By User, Updated, Created, Status, Consent Type, Start Date, Stop Date, Consent Form Signed Date, Next Consent Form Due, Last Consent Form Signed Date, Days Since Last Consent Form, Consent Form Needed, Consent Form Required, Signed_Consent_PDF, Unsigned_Consent_Word, Consent Name, Prescriber Name, Prescriber Type, Medication Name, Restrictive Name, Adversives, Restrictives, LoS Name, Level of Supervision Name, Script Update, Create Consent

Agency: Individual Adversives, Restrictives, LoS (view 395)

Filter: Agency: Individual Adversives, Restrictives, LoS (filter 241)

Filter: Agency: Individual Adversives, Restrictives, LoS (filter 241)

Shows records where User Group on the linked Agencies record is one of the viewer's groups.

Columns (9): Record ID, Individual, Adversives, Restrictives, LoS, Status, Last Signed Date, Last User, Created By User, Updated, Created

Agency: Individual Medications (view 396)

Filter: Agency: Individual Medications (filter 242)

Filter: Agency: Individual Medications (filter 242)

Shows records where User Group on the linked Agencies record is one of the viewer's groups.

Columns (14): Record ID, Individual, Medication, Status, Prescriber Name, Consent Form Signed Date, Prescriber Type, Last Consent Form Signed Date, Next Consent Form Due, New IP Start Date, Last User, Created By User, Updated, Created

Filter: All Measures Needing Consent Forms (filter 99)

Filter: All Measures Needing Consent Forms (filter 99)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • Status is "Active"
  • Days Since Last Consent Form is more than 365.0
Columns (16)

Record ID, Agency, Individual, Consent Name, Consent Type, Status, OneDrive Folder, Consent Form Signed Date, Last Consent Form Signed Date, Days Since Last Consent Form, Script Update, Last User, Created By User, Updated, Created, Residential Location

Filter: All Measures Needing Consent Forms (filter 99)

Filter: All Measures Needing Consent Forms (filter 99)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • Status is "Active"
  • Days Since Last Consent Form is more than 365.0
Columns (17)

Record ID, Agency, Behaviorist 1, Individual, Consent Name, Consent Type, Status, OneDrive Folder, Consent Form Signed Date, Last Consent Form Signed Date, Days Since Last Consent Form, Script Update, Last User, Created By User, Updated, Created, Residential Location

All Medications Missing Dates - By Agency (view 260)

Filter: Medications Missing Dates (filter 139)

Filter: Medications Missing Dates (filter 139)

Shows records where at least one of these is true:

  • all of these are true:
    • Medication is not empty
    • Status is "Inactive"
    • Stop Date is empty
  • all of these are true:
    • Medication is not empty
    • Start Date is empty

Columns (14): Record ID, Individual, Behaviorist 1, Medication, Status, Start Date, Stop Date, Last Consent Form Signed Date, Days Since Last Consent Form, Last User, Created By User, Updated, Created, Agency

All Medications Missing Dates - By Behaviorist (view 280)

Filter: Medications Missing Dates (filter 139)

Filter: Medications Missing Dates (filter 139)

Shows records where at least one of these is true:

  • all of these are true:
    • Medication is not empty
    • Status is "Inactive"
    • Stop Date is empty
  • all of these are true:
    • Medication is not empty
    • Start Date is empty

Columns (14): Record ID, Individual, Behaviorist 1, Medication, Status, Start Date, Stop Date, Last Consent Form Signed Date, Days Since Last Consent Form, Last User, Created By User, Updated, Created, Agency

Filter: My Measures Needing Consent Forms - Behaviorist (filter 104)

Filter: My Measures Needing Consent Forms - Behaviorist (filter 104)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • Status is "Active"
  • Consent Form Required is "Yes"
  • Days Since Last Consent Form is more than 365.0
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (12): Record ID, Agency, Individual, Consent Type, Consent Name, Consent Form Signed Date, Days Since Last Consent Form, Last Consent Form Signed Date, Last User, Created By User, Updated, Created

Filter: All Measures Needing Consent Forms - Director (filter 276)

Filter: All Measures Needing Consent Forms - Director (filter 276)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • Status is "Active"
  • Days Since Last Consent Form is more than 365.0
  • Application User on the linked Employees record is the person viewing the list
Columns (16)

Record ID, Agency, Individual, Consent Name, Consent Type, Status, OneDrive Folder, Consent Form Signed Date, Last Consent Form Signed Date, Days Since Last Consent Form, Script Update, Last User, Created By User, Updated, Created, Residential Location

Filter: All Measures Needing Consent Forms - Director (filter 276)

Filter: All Measures Needing Consent Forms - Director (filter 276)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • Status is "Active"
  • Days Since Last Consent Form is more than 365.0
  • Application User on the linked Employees record is the person viewing the list
Columns (17)

Record ID, Agency, Behaviorist 1, Individual, Consent Name, Consent Type, Status, OneDrive Folder, Consent Form Signed Date, Last Consent Form Signed Date, Days Since Last Consent Form, Script Update, Last User, Created By User, Updated, Created, Residential Location

Filter: My Measures Needing Consent Forms - Director (filter 305)

Filter: My Measures Needing Consent Forms - Director (filter 305)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • Status is "Active"
  • Consent Form Required is "Yes"
  • Days Since Last Consent Form is more than 365.0
  • Application User on the linked Employees record is the person viewing the list

Columns (12): Record ID, Agency, Individual, Consent Type, Consent Name, Consent Form Signed Date, Days Since Last Consent Form, Last Consent Form Signed Date, Last User, Created By User, Updated, Created

Filter: My Measures Needing Consent Forms - Behaviorist (filter 104)

Filter: My Measures Needing Consent Forms - Behaviorist (filter 104)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • Status is "Active"
  • Consent Form Required is "Yes"
  • Days Since Last Consent Form is more than 365.0
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (12): Record ID, Agency, Individual, Consent Type, Consent Name, Consent Form Signed Date, Days Since Last Consent Form, Last Consent Form Signed Date, Last User, Created By User, Updated, Created

Filter: Consent Forms to Log (Workato) (filter 127)

Filter: Consent Forms to Log (Workato) (filter 127)

Shows records where Create Consent is "Yes".

Columns (16)

Record ID, Individual, Status, Consent Type, Consent Form Signed Date, Last Consent Form Signed Date, Days Since Last Consent Form, Signed_Consent_PDF, Unsigned_Consent_Word, Consent Name, Script Update, Last User, Created By User, Updated, Created, Create Consent

Individual Adversives, Restrictives, LoS (view 222)

Filter: Individual Adversives, Restrictives, LoS (filter 108)

Filter: Individual Adversives, Restrictives, LoS (filter 108)

Shows records where Consent Type is "Adversive, Restrictive, LoS".

Columns (9): Record ID, Individual, Adversives, Restrictives, LoS, Status, Last Signed Date, Last User, Created By User, Updated, Created

Individual Adversives, Restrictives, LoS: ACORD (view 365)

Filter: Individual Medications: ACORD (filter 217)

Filter: Individual Medications: ACORD (filter 217)

Shows records where Agency ID on the linked Agencies record is 18.

Columns (9): Record ID, Individual, Adversives, Restrictives, LoS, Status, Last Signed Date, Last User, Created By User, Updated, Created

Individual Adversives, Restrictives, LoS: CCAOH (view 318)

Filter: Individual Medications: CCAOH (filter 175)

Filter: Individual Medications: CCAOH (filter 175)

Shows records where Agency ID on the linked Agencies record is 11.

Columns (9): Record ID, Individual, Adversives, Restrictives, LoS, Status, Last Signed Date, Last User, Created By User, Updated, Created

Individual Adversives, Restrictives, LoS: GIL Foundation Incorporated (view 314)

Filter: Individual Adversives, Restrictives, LoS: GIL Foundation Incorporated (filter 172)

Filter: Individual Adversives, Restrictives, LoS: GIL Foundation Incorporated (filter 172)

Shows records where Agency ID on the linked Agencies record is 16.

Columns (9): Record ID, Individual, Adversives, Restrictives, LoS, Status, Last Signed Date, Last User, Created By User, Updated, Created

Individual Adversives, Restrictives, LoS: IMPACT (view 353)

Filter: Individual Medications: IMPACT (filter 206)

Filter: Individual Medications: IMPACT (filter 206)

Shows records where Agency ID on the linked Agencies record is 15.

Columns (9): Record ID, Individual, Adversives, Restrictives, LoS, Status, Last Signed Date, Last User, Created By User, Updated, Created

Individual Levels of Supervision (view 223)

Filter: Individual Levels of Supervision (filter 109)

Filter: Individual Levels of Supervision (filter 109)

Shows records where Consent Type is "Level of Supervision".

Columns (10): Record ID, Individual, Level of Supervision, Status, Consent Form Signed Date, Last Consent Form Signed Date, Last User, Created By User, Updated, Created

Individual Medications (view 167)

Filter: Individual Medications (filter 106)

Filter: Individual Medications (filter 106)

Shows records where Consent Type is "Medication".

Columns (11): Record ID, Individual, Medication, Prescriber Name, Prescriber Type, Status, Last Consent Form Signed Date, Last User, Created By User, Updated, Created

Individual Medications: ACORD (view 366)

Filter: Individual Medications: ACORD (filter 217)

Filter: Individual Medications: ACORD (filter 217)

Shows records where Agency ID on the linked Agencies record is 18.

Columns (12): Record ID, Individual, Medication, Status, Consent Form Signed Date, Last Consent Form Signed Date, Next Consent Form Due, New IP Start Date, Last User, Created By User, Updated, Created

Individual Medications: CCAOH (view 317)

Filter: Individual Medications: CCAOH (filter 175)

Filter: Individual Medications: CCAOH (filter 175)

Shows records where Agency ID on the linked Agencies record is 11.

Columns (12): Record ID, Individual, Medication, Status, Consent Form Signed Date, Last Consent Form Signed Date, Next Consent Form Due, New IP Start Date, Last User, Created By User, Updated, Created

Individual Medications: GIL Foundation Incorporated (view 315)

Filter: Individual Medications: GIL Foundation Incorporated (filter 173)

Filter: Individual Medications: GIL Foundation Incorporated (filter 173)

Shows records where Agency ID on the linked Agencies record is 16.

Columns (12): Record ID, Individual, Medication, Status, Consent Form Signed Date, Last Consent Form Signed Date, Next Consent Form Due, New IP Start Date, Last User, Created By User, Updated, Created

Individual Medications: IMPACT (view 354)

Filter: Individual Medications: IMPACT (filter 206)

Filter: Individual Medications: IMPACT (filter 206)

Shows records where Agency ID on the linked Agencies record is 15.

Columns (12): Record ID, Individual, Medication, Status, Consent Form Signed Date, Last Consent Form Signed Date, Next Consent Form Due, New IP Start Date, Last User, Created By User, Updated, Created

Individual Restrictives (view 221)

Filter: Individual Restrictives (filter 107)

Filter: Individual Restrictives (filter 107)

Shows records where Consent Type is "Restrictive".

Columns (10): Record ID, Individual, Restrictive, Status, Consent Form Signed Date, Last Consent Form Signed Date, Last User, Created By User, Updated, Created

Medications Missing Dates - Behaviorist (Not Used?) (view 261)

Filter: My Medications Missing Dates - Behaviorist (filter 142)

Filter: My Medications Missing Dates - Behaviorist (filter 142)

Shows records where at least one of these is true:

  • all of these are true:
    • Medication is not empty
    • Start Date is empty
    • Application User on the linked Employees record is the person viewing the list
  • all of these are true:
    • Medication is not empty
    • Status is "Inactive"
    • Stop Date is empty
    • Application User on the linked Employees record is the person viewing the list

Columns (14): Record ID, Individual, Agency, Residential Location, Medication, Status, Start Date, Stop Date, Last Consent Form Signed Date, Days Since Last Consent Form, Last User, Created By User, Updated, Created

Medications Missing Dates - Behaviorist - By Agency (view 291)

Filter: My Medications Missing Dates - Behaviorist (filter 142)

Filter: My Medications Missing Dates - Behaviorist (filter 142)

Shows records where at least one of these is true:

  • all of these are true:
    • Medication is not empty
    • Start Date is empty
    • Application User on the linked Employees record is the person viewing the list
  • all of these are true:
    • Medication is not empty
    • Status is "Inactive"
    • Stop Date is empty
    • Application User on the linked Employees record is the person viewing the list

Columns (14): Record ID, Individual, Agency, Residential Location, Medication, Status, Start Date, Stop Date, Last Consent Form Signed Date, Days Since Last Consent Form, Last User, Created By User, Updated, Created

Medications Missing Dates - By Agency - Director (view 424)

Filter: Medications Missing Dates - Director (filter 277)

Filter: Medications Missing Dates - Director (filter 277)

Shows records where at least one of these is true:

  • all of these are true:
    • Medication is not empty
    • Start Date is empty
    • Application User on the linked Employees record is the person viewing the list
  • all of these are true:
    • Medication is not empty
    • Status is "Inactive"
    • Stop Date is empty
    • Application User on the linked Employees record is the person viewing the list

Columns (14): Record ID, Individual, Behaviorist 1, Medication, Status, Start Date, Stop Date, Last Consent Form Signed Date, Days Since Last Consent Form, Last User, Created By User, Updated, Created, Agency

Medications Missing Dates - By Behaviorist - Director (view 425)

Filter: Medications Missing Dates - Director (filter 277)

Filter: Medications Missing Dates - Director (filter 277)

Shows records where at least one of these is true:

  • all of these are true:
    • Medication is not empty
    • Start Date is empty
    • Application User on the linked Employees record is the person viewing the list
  • all of these are true:
    • Medication is not empty
    • Status is "Inactive"
    • Stop Date is empty
    • Application User on the linked Employees record is the person viewing the list

Columns (14): Record ID, Individual, Behaviorist 1, Medication, Status, Start Date, Stop Date, Last Consent Form Signed Date, Days Since Last Consent Form, Last User, Created By User, Updated, Created, Agency

Filter: All Measures Needing Consent Forms (filter 99)

Filter: All Measures Needing Consent Forms (filter 99)

Shows records where all of these are true:

  • Individual Status on the linked Individuals record is "Active"
  • Status is "Active"
  • Days Since Last Consent Form is more than 365.0
Columns (15)

Record ID, Individual, Consent Name, Consent Type, Status, OneDrive Folder, Consent Form Signed Date, Last Consent Form Signed Date, Days Since Last Consent Form, Script Update, Last User, Created By User, Updated, Created, Residential Location

Filters not used by a view

1

These filters exist on the table but no view uses them. They may be left over, or used only from a dashboard or when someone filters a list by hand.

Individual Adversives, Restrictives, LoS: CCAOH (filter 176)

Shows records where Agency ID on the linked Agencies record is 11.

Join - Individuals to Adversives, Restrictives, LoSA

4 fields2 scripts1 views

Join - Individuals to Adversives, Restrictives, LoS (table 67)

4 fields, 5 system fields, 2 App Scripts, 1 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Adversives, Restrictives, LoSLink to another table8481
Auto CounterAuto numberyes8361
IndividualLink to another table8501
Script UpdateShort text8981
CreatedDate and time (system)8401
Created By UserUser (system)8381
Last UserUser (system)8371
Record IDRecord ID (system)8411
UpdatedDate and time (system)8391

Relationships

Link fieldRelated tableRelationshipRelated table is
IndividualIndividuals (table 50)manyToOneparent
Adversives, Restrictives, LoSz - Adversives, Restrictives, LoS (table 46)manyToOneparent

Field use in views

9

Adversives, Restrictives, LoS (field 848)

Auto Counter (field 836)

Individual (field 850)

Script Update (field 898)

Created (field 840)

Created By User (field 838)

Last User (field 837)

Record ID (field 841)

Updated (field 839)

Join - Individuals to Adversives, Restrictives, LoS: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 38)

After a new record is savedEnabled, 19 lines
  • Reads from this record: Adversives, Restrictives, LoS, Individual
  • Creates or saves records in: Individuals - Safety & Support Measures
  • What it does, by condition:
    • Every time it runs:
      • creates a record in Individuals - Safety & Support Measures: Individual = this record's Individual; Adversives, Restrictives, LoS = this record's Adversives, Restrictives, LoS; Consent Type = "Adversive, Restrictive, LoS"; Status = "Active"
  • Code: After Insert

Before Delete (script 39)

Before a record is deletedEnabled, 24 lines
  • Reads from this record: Adversives, Restrictives, LoS, Individual
  • Loads records from: Individuals - Safety & Support Measures
  • Sets fields on other records: Status
  • What it does, by condition:
    • Every time it runs:
      • looks up records in Individuals - Safety & Support Measures
      • on Individuals - Safety & Support Measures records: sets Status to "Inactive"
  • Code: Before Delete

Join - Individuals to Adversives, Restrictives, LoS: Views (table 67)

1 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 196)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (9): Record ID, Adversives, Restrictives, LoS, Auto Counter, Individual, Last User, Created By User, Updated, Created, Script Update

Join - Individuals to DiagnosesA

3 fields2 scripts1 views

Join - Individuals to Diagnoses (table 83)

3 fields, 5 system fields, 2 App Scripts, 1 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Auto CounterAuto numberyes11941
DiagnosisLink to another table12231
IndividualLink to another table12221
CreatedDate and time (system)11981
Created By UserUser (system)11961
Last UserUser (system)11951
Record IDRecord ID (system)11991
UpdatedDate and time (system)11971

Relationships

Link fieldRelated tableRelationshipRelated table is
IndividualIndividuals (table 50)manyToOneparent
Diagnosisz - Diagnoses (table 82)manyToOneparent

Field use in views

8

Auto Counter (field 1194)

Diagnosis (field 1223)

Individual (field 1222)

Created (field 1198)

Created By User (field 1196)

Last User (field 1195)

Record ID (field 1199)

Updated (field 1197)

Join - Individuals to Diagnoses: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 69)

After a new record is savedEnabled, 14 lines
  • Reads from this record: Diagnosis, Individual
  • Creates or saves records in: Individuals - Diagnoses
  • What it does, by condition:
    • Every time it runs:
      • creates a record in Individuals - Diagnoses: Individual = this record's Individual; Diagnosis = this record's Diagnosis; Status = "Active"
  • Code: After Insert

New Script (script 70)

Before a record is deletedEnabled, 22 lines
  • Reads from this record: Diagnosis, Individual
  • Loads records from: Individuals - Diagnoses
  • Sets fields on other records: Status
  • What it does, by condition:
    • Every time it runs:
      • looks up records in Individuals - Diagnoses
      • on Individuals - Diagnoses records: sets Status to "Inactive"
  • Code: New Script

Join - Individuals to Diagnoses: Views (table 83)

1 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 301)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Diagnosis, Individual, Last User, Created By User, Updated, Created

Join - Individuals to MedicationsA

3 fields2 scripts1 views

Join - Individuals to Medications (table 55)

3 fields, 5 system fields, 2 App Scripts, 1 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Auto CounterAuto numberyes6781
IndividualLink to another table6851
MedicationLink to another table6871
CreatedDate and time (system)6821
Created By UserUser (system)6801
Last UserUser (system)6791
Record IDRecord ID (system)6831
UpdatedDate and time (system)6811

Relationships

Link fieldRelated tableRelationshipRelated table is
IndividualIndividuals (table 50)manyToOneparent
Medicationz - Medications (table 44)manyToOneparent

Field use in views

8

Auto Counter (field 678)

Individual (field 685)

Medication (field 687)

Created (field 682)

Created By User (field 680)

Last User (field 679)

Record ID (field 683)

Updated (field 681)

Join - Individuals to Medications: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 20)

After a new record is savedEnabled, 20 lines
  • Reads from this record: Individual, Medication
  • Creates or saves records in: Individuals - Safety & Support Measures
  • What it does, by condition:
    • Every time it runs:
      • creates a record in Individuals - Safety & Support Measures: Individual = this record's Individual; Medication = this record's Medication; Consent Type = "Medication"; Status = "Active"
  • Code: After Insert

Before Delete (script 25)

Before a record is deletedEnabled, 25 lines
  • Reads from this record: Individual, Medication
  • Loads records from: Individuals - Safety & Support Measures
  • Sets fields on other records: Status
  • What it does, by condition:
    • Every time it runs:
      • looks up records in Individuals - Safety & Support Measures
      • on Individuals - Safety & Support Measures records: sets Status to "Inactive"
  • Code: Before Delete

Join - Individuals to Medications: Views (table 55)

1 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 166)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Individual, Medication, Last User, Created By User, Updated, Created

LocationsA

17 fields2 scripts11 views

Locations (table 49)

17 fields, 5 system fields, 2 App Scripts, 11 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
AddressShort text69219
Address 2Short text6911
AgencyLink to another table64815
Area Manager/Additional OversightLink to another table7431
Auto CounterAuto number6311
Case ManagerLink to another table7441
CityLink to another table11336
LocationMap location6945
Location IDLong text (triggered)63211
Location NameShort textyesyesyes63411
Location NurseLink to another table11851
Manager / SupervisorLink to another table7422
RegionLink to another table11211Before Update (19)
Scripting UpdateShort text63311After Insert (18), Before Update (19)
StateLink to another table71911
StatusDrop-down65111After Insert (18)
Zip CodeLink to another table71611
CreatedDate and time (system)63811
Created By UserUser (system)63611
Last UserUser (system)63511
Record IDRecord ID (system)63911
UpdatedDate and time (system)63711

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Location ID formula (field 632)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
AgencyAgencies (table 48)manyToOneparent
Manager / SupervisorContacts (table 58)manyToOneparent
Area Manager/Additional OversightContacts (table 58)manyToOneparent
Case ManagerContacts (table 58)manyToOneparent
Location NurseContacts (table 58)manyToOneparent
Cityz - Cities (table 78)manyToOneparent
Regionz - Regions (table 77)manyToOneparent
Statez - State (table 56)manyToOneparent
Zip Codez - Zip Codes (table 57)manyToOneparent
Residential LocationIndividuals (table 50)manyToOnechild
Day Program LocationIndividuals (table 50)manyToOnechild
Residential LocationIndividuals - Quarterlies (table 62)manyToOnechild
Day Program LocationIndividuals - Quarterlies (table 62)manyToOnechild
LocationIndividuals - Safety & Support Measures (table 53)manyToOnechild
Residential Locationz - Psych Note Creation (table 88)manyToOnechild
Day Program Locationz - Psych Note Creation (table 88)manyToOnechild
Locationzz(Dep)Join - Nurses to Locations (table 60)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 19)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Checks whether these changed: City
  • Uses the value of: Region, Scripting Update
  • Sets on this record: Region, Scripting Update

What happens when a field changes

3

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When City changes

  • Before Update (19), before save:
    • If Region is empty or City changed:
      • sets Region to City → Region

When Region changes

  • Before Update (19), before save:
    • If Region is empty or City changed:
      • sets Region to City → Region

When Scripting Update changes

  • Before Update (19), before save:
    • If Scripting Update is "Populate ID":
      • clears Scripting Update

Field use in views

22

Address (field 692)

Address 2 (field 691)

Agency (field 648)

Area Manager/Additional Oversight (field 743)

Auto Counter (field 631)

Case Manager (field 744)

City (field 1133)

Location (field 694)

Location ID (field 632)

Location Name (field 634)

Location Nurse (field 1185)

Manager / Supervisor (field 742)

Region (field 1121)

Scripting Update (field 633)

State (field 719)

Status (field 651)

Zip Code (field 716)

Created (field 638)

Created By User (field 636)

Last User (field 635)

Record ID (field 639)

Updated (field 637)

Locations: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 18)

After a new record is savedEnabled, 9 lines
  • Sets on this record: Scripting Update, Status
  • What it does, by condition:
    • Every time it runs:
      • sets Scripting Update to "Populate ID"
    • If Status is empty:
      • sets Status to "Active"
  • Code: After Insert

Before Update (script 19)

Before an edited record is saved. It can change the record being editedEnabled, 24 lines
  • Author's description: Location
  • Sets on this record: Region, Scripting Update
  • Reads from this record: City
  • Checks for changes in: City
  • Functions: isDifferent
  • What it does, by condition:
    • If Scripting Update is "Populate ID":
      • clears Scripting Update
    • If Region is empty or City changed:
      • sets Region to City → Region
  • Code: Before Update

Locations: Views (table 49)

11 views, 9 with a filter. 8 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 157)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (22)

Record ID, Agency, Area Manager/Additional Oversight, Auto Counter, Case Manager, City, Location Nurse, Manager / Supervisor, Region, State, Zip Code, Last User, Created By User, Updated, Created, Location ID, Scripting Update, Location Name, Status, Address, Address 2, Location

Active Locations (view 161)

Filter: Active Locations (filter 82)

Filter: Active Locations (filter 82)

Shows records where Status is "Active".

Columns (19): Record ID, Location Name, Address, City, State, Zip Code, Manager / Supervisor, Email, Work Cell, Work Phone, Last User, Updated, Created By User, Created, Scripting Update, Location ID, Location, Status, Agency

Active Locations Map (view 259)

Filter: Active Locations (filter 82)

Filter: Active Locations (filter 82)

Shows records where Status is "Active".

Columns (14): Record ID, Agency, Location Name, Status, Address, State, Zip Code, Last User, Updated, Created By User, Created, Scripting Update, Location ID, Location

Agency: Locations (view 397)

Filter: Agency: Locations (filter 243)

Filter: Agency: Locations (filter 243)

Shows records where User Group on the linked Agencies record is one of the viewer's groups.

Columns (14): Record ID, Agency, Location Name, Status, Address, State, City, Zip Code, Last User, Updated, Created By User, Created, Scripting Update, Location ID

All Locations (view 177)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (14): Record ID, Agency, Location Name, Status, Address, City, State, Zip Code, Last User, Updated, Created By User, Created, Scripting Update, Location ID

Locations: ACORD (view 367)

Filter: Locations: ACORD (filter 218)

Filter: Locations: ACORD (filter 218)

Shows records where Agency ID on the linked Agencies record is 18.

Columns (13): Record ID, Agency, Location Name, Status, Address, State, Zip Code, Last User, Updated, Created By User, Created, Scripting Update, Location ID

Locations: CCAOH (view 329)

Filter: Locations: CCAOH (filter 186)

Filter: Locations: CCAOH (filter 186)

Shows records where Agency ID on the linked Agencies record is 11.

Columns (13): Record ID, Agency, Location Name, Status, Address, State, Zip Code, Last User, Updated, Created By User, Created, Scripting Update, Location ID

Locations: GIL (view 328)

Filter: Locations: GIL (filter 187)

Filter: Locations: GIL (filter 187)

Shows records where Agency ID on the linked Agencies record is 16.

Columns (13): Record ID, Agency, Location Name, Status, Address, State, Zip Code, Last User, Updated, Created By User, Created, Scripting Update, Location ID

Locations: IMPACT (view 355)

Filter: Locations: IMPACT (filter 207)

Filter: Locations: IMPACT (filter 207)

Shows records where Agency ID on the linked Agencies record is 15.

Columns (13): Record ID, Agency, Location Name, Status, Address, State, Zip Code, Last User, Updated, Created By User, Created, Scripting Update, Location ID

My Active Locations - Behaviorist (view 375)

Filter: My Active Locations - Behaviorist (filter 226)

Filter: My Active Locations - Behaviorist (filter 226)

Shows records where all of these are true:

  • Status is "Active"
  • Status on the linked Agencies record is "Active"
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (15): Record ID, Agency, Location Name, Status, Address, City, State, Zip Code, Last User, Updated, Created By User, Created, Scripting Update, Location ID, Location

My Active Locations - Director (view 438)

Filter: My Active Locations - Director (filter 297)

Filter: My Active Locations - Director (filter 297)

Shows records where all of these are true:

  • Status is "Active"
  • Status on the linked Agencies record is "Active"
  • Application User on the linked Employees record is the person viewing the list

Columns (15): Record ID, Agency, Location Name, Status, Address, City, State, Zip Code, Last User, Updated, Created By User, Created, Scripting Update, Location ID, Location

Notes & DocsA

19 fields2 scripts15 views

Notes & Docs (table 69)

19 fields, 5 system fields, 2 App Scripts, 15 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeUniqueRecord IDField IDViewsSet by scripts
Added ByShort text87315New Script (74), New Script (75)
AgencyLink to another table12634
AttachmentsAttachments12641
Audit Note DateDate (calculated)10931
Auto CounterAuto numberyes8652
Check-In Note DateDate (calculated)10941
DocumentDocument12477
Email BehavioristCheckbox12431
Email NeededShort text98815New Script (74)
Email Sent Date and TimeDate and time98715
IndividualLink to another table87212
Info JSONLong text9922New Script (74)
Month/YearShort text10591
Note Date OverrideDate10921
Note IDShort textyes10871
NotesLong text86615
Script UpdateShort text10771
TagsShort text105715
Year-MonthLong text (triggered)109514
CreatedDate and time (system)87015
Created By UserUser (system)8682
Last UserUser (system)8672
Record IDRecord ID (system)87115
UpdatedDate and time (system)8692

Calculated and triggered fields

3

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Audit Note Date formula (field 1093)

  • Kind: calculated date
  • Reads: Created, Note Date Override, Tags
if(contains("Audit Note",{Tags}),coalesce({Note Date Override},{Created}),null())

Check-In Note Date formula (field 1094)

  • Kind: calculated date
  • Reads: Created, Note Date Override, Tags
if(contains("Monthly/Qtrly Check-In Note",{Tags}),coalesce({Note Date Override},{Created}),null())

Year-Month formula (field 1095)

  • Kind: triggered paragraph
  • Reads: Created, Note Date Override
year(coalesce({Note Date Override},{Created})) & " - " & month(coalesce({Note Date Override},{Created}))

Relationships

Link fieldRelated tableRelationshipRelated table is
AgencyAgencies (table 48)manyToOneparent
IndividualIndividuals (table 50)manyToOneparent
NotezMulti - Note Tags (table 75)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

New Script (script 75)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Added By, Agency, Individual
  • Sets on this record: Added By

What happens when a field changes

3

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Added By changes

  • New Script (75), before save:
    • If Added By is empty:
      • sets Added By to a value calculated from Created By User → First Name, Created By User → Last Name

When Agency changes

  • New Script (75), before save:
    • If Individual and Agency are both empty:
      • stops the save with the error "Please select an Individual or Agency"
    • If Individual and Agency both have a value:
      • stops the save with the error "Please only select an Individual or Agency"

When Individual changes

  • New Script (75), before save:
    • If Individual and Agency are both empty:
      • stops the save with the error "Please select an Individual or Agency"
    • If Individual and Agency both have a value:
      • stops the save with the error "Please only select an Individual or Agency"

Field use in views

24

Added By (field 873)

Agency (field 1263)

Attachments (field 1264)

Audit Note Date (field 1093)

Auto Counter (field 865)

Check-In Note Date (field 1094)

Document (field 1247)

Email Behaviorist (field 1243)

Email Needed (field 988)

Email Sent Date and Time (field 987)

Individual (field 872)

Info JSON (field 992)

Month/Year (field 1059)

Note Date Override (field 1092)

Note ID (field 1087)

Notes (field 866)

Script Update (field 1077)

Tags (field 1057)

Year-Month (field 1095)

Created (field 870)

Created By User (field 868)

Last User (field 867)

Record ID (field 871)

Updated (field 869)

Notes & Docs: App Scripts

2 scripts. Health: grade A, score 100.

New Script (script 74)

After a new record is savedEnabled, 54 lines
  • Author's description: Notes
  • Sets on this record: Added By, Email Needed, Info JSON
  • Reads from this record: Agency, Created By User, Email Behaviorist, Individual
  • What it does, by condition:
    • Every time it runs:
      • sets Added By to a value calculated from Created By User → First Name, Created By User → Last Name
    • If Individual and Agency are both empty:
      • stops the save with the error "Please select an Individual or Agency"
    • If Individual and Agency both have a value:
      • stops the save with the error "Please only select an Individual or Agency"
    • If Email Behaviorist has a value and Individual is empty:
      • stops the save with the error "Email Behaviorist only applies to notes for an Individual"
    • If Email Behaviorist and Individual both have a value and Info JSON is empty:
      • sets Email Needed to Email Behaviorist
      • sets Info JSON to a value calculated from Created By User → First Name, Created By User → Last Name, Individual
      • If not individual[relBehaviorist]:
        • stops the save with the error "No Behaviorist Assigned"
      • If not individual[relBehaviorist][email]:
        • stops the save with the error "Behaviorist has no email address"
  • Code: New Script

New Script (script 75)

Before an edited record is saved. It can change the record being editedEnabled, 18 lines
  • Sets on this record: Added By
  • Reads from this record: Agency, Created By User, Individual
  • What it does, by condition:
    • If Added By is empty:
      • sets Added By to a value calculated from Created By User → First Name, Created By User → Last Name
    • If Individual and Agency are both empty:
      • stops the save with the error "Please select an Individual or Agency"
    • If Individual and Agency both have a value:
      • stops the save with the error "Please only select an Individual or Agency"
  • Code: New Script

Notes & Docs: Views (table 69)

15 views, 14 with a filter. 14 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 208)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (24)

Record ID, Agency, Auto Counter, Individual, Last User, Created By User, Updated, Created, Script Update, Notes, Tags, Month/Year, Added By, Email Needed, Email Behaviorist, Note Date Override, Email Sent Date and Time, Info JSON, Year-Month, Note ID, Audit Note Date, Check-In Note Date, Document, Attachments

Agency: Individual Notes (view 398)

Filter: Agency: Individual Notes (filter 244)

Filter: Agency: Individual Notes (filter 244)

Shows records where User Group on the linked Agencies record is one of the viewer's groups.

Columns (9): Record ID, Year-Month, Individual, Notes, Tags, Added By, Email Needed, Email Sent Date and Time, Created

All Agency Notes (view 342)

Filter: All Agency Notes (filter 196)

Filter: All Agency Notes (filter 196)

Shows records where Agency is not empty.

Columns (10): Record ID, Year-Month, Agency, Notes, Tags, Added By, Document, Email Needed, Email Sent Date and Time, Created

All Agency Notes - Behaviorist (view 401)

Filter: All Agency Notes - Behaviorist (filter 248)

Filter: All Agency Notes - Behaviorist (filter 248)

Shows records where all of these are true:

  • Agency is not empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (10): Record ID, Year-Month, Agency, Notes, Tags, Added By, Document, Email Needed, Email Sent Date and Time, Created

All Agency Notes - Director (view 439)

Filter: All Agency Notes - Director (filter 299)

Filter: All Agency Notes - Director (filter 299)

Shows records where all of these are true:

  • Agency is not empty
  • Application User on the linked Employees record is the person viewing the list

Columns (10): Record ID, Year-Month, Agency, Notes, Tags, Added By, Document, Email Needed, Email Sent Date and Time, Created

All Individual Audit Notes (view 249)

Filter: All Individual Audit Notes (filter 129)

Filter: All Individual Audit Notes (filter 129)

Shows records where all of these are true:

  • Individual is not empty
  • Tags contains "Audit Note"

Columns (9): Record ID, Year-Month, Individual, Notes, Tags, Added By, Email Needed, Email Sent Date and Time, Created

All Individual Monthly Check-In Notes (view 250)

Filter: All Individual Monthly Check-In Notes (filter 130)

Filter: All Individual Monthly Check-In Notes (filter 130)

Shows records where all of these are true:

  • Individual is not empty
  • Tags contains "Monthly Check-In Note"

Columns (9): Record ID, Year-Month, Individual, Notes, Tags, Added By, Email Needed, Email Sent Date and Time, Created

All Individual Notes (view 209)

Filter: All Individual Notes (filter 195)

Filter: All Individual Notes (filter 195)

Shows records where Individual is not empty.

Columns (10): Record ID, Year-Month, Individual, Notes, Tags, Added By, Document, Email Needed, Email Sent Date and Time, Created

All Individual Notes - Behaviorist (view 400)

Filter: All Individual Notes - Behaviorist (filter 246)

Filter: All Individual Notes - Behaviorist (filter 246)

Shows records where all of these are true:

  • Individual is not empty
  • at least one of these is true:
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list
    • Application User on the linked Employees record is the person viewing the list

Columns (10): Record ID, Year-Month, Individual, Notes, Tags, Added By, Document, Email Needed, Email Sent Date and Time, Created

All Individual Notes - Director (view 445)

Filter: All Individual Notes - Director (filter 310)

Filter: All Individual Notes - Director (filter 310)

Shows records where all of these are true:

  • Individual is not empty
  • Application User on the linked Employees record is the person viewing the list

Columns (10): Record ID, Year-Month, Individual, Notes, Tags, Added By, Document, Email Needed, Email Sent Date and Time, Created

Individual Notes: ACORD (view 368)

Filter: Individual Notes: ACORD (filter 219)

Filter: Individual Notes: ACORD (filter 219)

Shows records where all of these are true:

  • Individual is not empty
  • Agency ID on the linked Agencies record is 18

Columns (9): Record ID, Year-Month, Individual, Notes, Tags, Added By, Email Needed, Email Sent Date and Time, Created

Individual Notes: CCAOH (view 321)

Filter: Individual Notes: CCAOH (filter 179)

Filter: Individual Notes: CCAOH (filter 179)

Shows records where all of these are true:

  • Individual is not empty
  • Agency ID on the linked Agencies record is 11

Columns (9): Record ID, Year-Month, Individual, Notes, Tags, Added By, Email Needed, Email Sent Date and Time, Created

Individual Notes: GIL Foundation Incorporated (view 313)

Filter: Individual Notes: GIL Foundation Incorporated (filter 171)

Filter: Individual Notes: GIL Foundation Incorporated (filter 171)

Shows records where all of these are true:

  • Individual is not empty
  • Agency ID on the linked Agencies record is 16

Columns (9): Record ID, Year-Month, Individual, Notes, Tags, Added By, Email Needed, Email Sent Date and Time, Created

Individual Notes: IMPACT (view 356)

Filter: Individual Notes: IMPACT (filter 208)

Filter: Individual Notes: IMPACT (filter 208)

Shows records where all of these are true:

  • Individual is not empty
  • Agency ID on the linked Agencies record is 15

Columns (9): Record ID, Year-Month, Individual, Notes, Tags, Added By, Email Needed, Email Sent Date and Time, Created

Note Emails Needed (Workato) (view 238)

Filter: Audit Emails Needed (Workato) (filter 124)

Filter: Audit Emails Needed (Workato) (filter 124)

Shows records where all of these are true:

  • Email Needed is "[Yes]"
  • Email Sent Date and Time is empty

Columns (14): Record ID, Auto Counter, Individual, Notes, Tags, Added By, Email Needed, Email Sent Date and Time, Info JSON, Last User, Created By User, Updated, Created, Individual Record ID

z - Adversives, Restrictives, LoSA

5 fields2 scripts3 views

z - Adversives, Restrictives, LoS (table 46)

5 fields, 5 system fields, 2 App Scripts, 3 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
Adversive, Restrictive, LoSShort textyesyesyes6063
ARLoS IDLong text (triggered)6123
Auto CounterAuto number6041
Script UpdateShort text6053After Insert (6), Before Update (7)
StatusDrop-down8513After Insert (6)
CreatedDate and time (system)6101
Created By UserUser (system)6081
Last UserUser (system)6071
Record IDRecord ID (system)6113
UpdatedDate and time (system)6091

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

ARLoS ID formula (field 612)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
Adversives, Restrictives, LoSIndividuals - Safety & Support Measures (table 53)manyToOnechild
Adversives, Restrictives, LoSJoin - Individuals to Adversives, Restrictives, LoS (table 67)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 7)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Script Update
  • Sets on this record: Script Update

What happens when a field changes

1

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Script Update changes

  • Before Update (7), before save:
    • If Script Update is "Populate ID":
      • clears Script Update

Field use in views

10

z - Adversives, Restrictives, LoS: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 6)

After a new record is savedEnabled, 10 lines
  • Sets on this record: Script Update, Status
  • What it does, by condition:
    • Every time it runs:
      • sets Script Update to "Populate ID"
    • If Status is empty:
      • sets Status to "Active"
  • Code: After Insert

Before Update (script 7)

Before an edited record is saved. It can change the record being editedEnabled, 8 lines
  • Sets on this record: Script Update
  • What it does, by condition:
    • If Script Update is "Populate ID":
      • clears Script Update
  • Code: Before Update

z - Adversives, Restrictives, LoS: Views (table 46)

3 views, 1 with a filter. 1 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 154)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (10): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Script Update, ARLoS ID, Adversive, Restrictive, LoS, Status

All Active Adversives, Restrictives, LoS (view 203)

Filter: All Active Aversives (filter 93)

Filter: All Active Aversives (filter 93)

Shows records where Status is "Active".

Columns (5): Record ID, Adversive, Restrictive, LoS, Status, Script Update, ARLoS ID

All Adversives, Restrictives, LoS (view 202)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (5): Record ID, Adversive, Restrictive, LoS, Status, Script Update, ARLoS ID

z - Cities

2 fields0 scripts2 views

z - Cities (table 78)

2 fields, 5 system fields, 0 App Scripts, 2 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
CityShort textyes11262
RegionLink to another table11322
CreatedDate and time (system)11301
Created By UserUser (system)11281
Last UserUser (system)11271
Record IDRecord ID (system)11312
UpdatedDate and time (system)11291

Relationships

Link fieldRelated tableRelationshipRelated table is
Regionz - Regions (table 77)manyToOneparent
CityLocations (table 49)manyToOnechild

Field use in views

7

City (field 1126)

Region (field 1132)

Created (field 1130)

Created By User (field 1128)

Last User (field 1127)

Record ID (field 1131)

Updated (field 1129)

z - Cities: Views (table 78)

2 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 262)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (7): Record ID, City, Region, Last User, Created By User, Updated, Created

Cities (view 263)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (3): Record ID, City, Region

z - DiagnosesA

3 fields1 scripts3 views

z - Diagnoses (table 82)

3 fields, 5 system fields, 1 App Scripts, 3 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
Auto CounterAuto number11863
DiagnosisShort textyesyesyes11873
StatusDrop-down11883New Script (68)
CreatedDate and time (system)11923
Created By UserUser (system)11903
Last UserUser (system)11893
Record IDRecord ID (system)11933
UpdatedDate and time (system)11913

Relationships

Link fieldRelated tableRelationshipRelated table is
DiagnosisIndividuals - Diagnoses (table 84)manyToOnechild
DiagnosisJoin - Individuals to Diagnoses (table 83)manyToOnechild

Field use in views

8

z - Diagnoses: App Scripts

1 script. Health: grade A, score 100.

New Script (script 68)

Before a new record is saved. It can change the record being createdEnabled, 6 lines
  • Sets on this record: Status
  • What it does, by condition:
    • If Status is empty:
      • sets Status to "Active"
  • Code: New Script

z - Diagnoses: Views (table 82)

3 views, 1 with a filter. 1 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 298)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Diagnosis, Status

Active Diagnoses (view 300)

Filter: Active Diagnoses (filter 160)

Filter: Active Diagnoses (filter 160)

Shows records where Status is "Active".

Columns (8): Record ID, Diagnosis, Status, Last User, Created By User, Updated, Created, Auto Counter

All Diagnoses (view 299)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Diagnosis, Status, Last User, Created By User, Updated, Created, Auto Counter

z - Email Matrix

3 fields0 scripts2 views

z - Email Matrix (table 73)

3 fields, 5 system fields, 0 App Scripts, 2 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Auto CounterAuto number10371
Email CategoryShort textyes10381
RecipientEmail10392
CreatedDate and time (system)10432
Created By UserUser (system)10412
Last UserUser (system)10402
Record IDRecord ID (system)10442
UpdatedDate and time (system)10422

Field use in views

8

z - Email Matrix: Views (table 73)

2 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 242)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Email Category, Recipient

Email Matrix (view 243)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (6): Record ID, Recipient, Last User, Created By User, Updated, Created

z - Levels of SupervisionA

5 fields2 scripts3 views

z - Levels of Supervision (table 47)

5 fields, 5 system fields, 2 App Scripts, 3 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
Auto CounterAuto number6131
Level of SupervisionShort textyesyesyes6153
Level of Supervision IDLong text (triggered)6213
Script UpdateShort text6143After Insert (12), Before Update (13)
StatusDrop-down8523
CreatedDate and time (system)6191
Created By UserUser (system)6171
Last UserUser (system)6161
Record IDRecord ID (system)6203
UpdatedDate and time (system)6181

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Level of Supervision ID formula (field 621)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
Level of SupervisionIndividuals - Safety & Support Measures (table 53)manyToOnechild
Level of Supervisionzz(Dep)Join - Individuals to Levels of Supervision (table 68)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 13)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Script Update
  • Sets on this record: Script Update

What happens when a field changes

1

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Script Update changes

Field use in views

10

z - Levels of Supervision: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 12)

After a new record is savedEnabled, 4 lines
  • Sets on this record: Script Update
  • What it does, by condition:
    • Every time it runs:
      • sets Script Update to "Populate ID"
  • Code: After Insert

Before Update (script 13)

Before an edited record is saved. It can change the record being editedEnabled, 7 lines
  • Sets on this record: Script Update
  • What it does, by condition:
    • If Script Update is "Populate ID":
      • clears Script Update
  • Code: Before Update

z - Levels of Supervision: Views (table 47)

3 views, 1 with a filter. 1 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 155)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (10): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Level of Supervision ID, Script Update, Level of Supervision, Status

All Active Levels of Supervision (view 201)

Filter: All Active Levels of Supervision (filter 92)

Filter: All Active Levels of Supervision (filter 92)

Shows records where Status is "Active".

Columns (5): Record ID, Level of Supervision, Status, Script Update, Level of Supervision ID

All Levels of Supervision (view 200)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (5): Record ID, Level of Supervision, Status, Script Update, Level of Supervision ID

z - MedicationsA

5 fields2 scripts3 views

z - Medications (table 44)

5 fields, 5 system fields, 2 App Scripts, 3 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
Auto CounterAuto number5861
MedicationShort textyesyesyes5893
Medication IDLong text (triggered)5873
Script UpdateShort text5883After Insert (8), Before Update (9)
StatusDrop-down7203After Insert (8)
CreatedDate and time (system)5933
Created By UserUser (system)5913
Last UserUser (system)5903
Record IDRecord ID (system)5943
UpdatedDate and time (system)5923

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Medication ID formula (field 587)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
MedicationIndividuals - Safety & Support Measures (table 53)manyToOnechild
MedicationJoin - Individuals to Medications (table 55)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 9)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Script Update
  • Sets on this record: Script Update

What happens when a field changes

1

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Script Update changes

  • Before Update (9), before save:
    • If Script Update is "Populate ID":
      • clears Script Update

Field use in views

10

z - Medications: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 8)

After a new record is savedEnabled, 10 lines
  • Sets on this record: Script Update, Status
  • What it does, by condition:
    • Every time it runs:
      • sets Script Update to "Populate ID"
    • If Status is empty:
      • sets Status to "Active"
  • Code: After Insert

Before Update (script 9)

Before an edited record is saved. It can change the record being editedEnabled, 7 lines
  • Sets on this record: Script Update
  • What it does, by condition:
    • If Script Update is "Populate ID":
      • clears Script Update
  • Code: Before Update

z - Medications: Views (table 44)

3 views, 1 with a filter. 1 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 152)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (10): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Medication ID, Script Update, Medication, Status

Active Medications (view 172)

Filter: Active Medications (filter 83)

Filter: Active Medications (filter 83)

Shows records where Status is "Active".

Columns (9): Record ID, Medication, Status, Medication ID, Last User, Created By User, Updated, Created, Script Update

All Medications (view 179)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (9): Record ID, Medication, Status, Last User, Created By User, Updated, Created, Script Update, Medication ID

z - Psych Note CreationA

6 fields1 scripts3 views

z - Psych Note Creation (table 88)

6 fields, 5 system fields, 1 App Scripts, 3 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Auto CounterAuto numberyes13461
Day Program LocationLink to another table13661
DocumentDocument13481
NoteLong text13471
Residential LocationLink to another table13621
Selected IndivdualsLong text (triggered)13641
CreatedDate and time (system)13521
Created By UserUser (system)13501
Last UserUser (system)13491
Record IDRecord ID (system)13533
UpdatedDate and time (system)13511

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Selected Indivduals formula (field 1364)

  • Kind: triggered paragraph
  • Reads: z - Psych Note Creation Join → Created (via Psych Note Creation)
childconcatenate({z - Psych Note Creation Join}.{Psych Note Creation}.{Created},", ")

Relationships

Link fieldRelated tableRelationshipRelated table is
Residential LocationLocations (table 49)manyToOneparent
Day Program LocationLocations (table 49)manyToOneparent
Psych Note Creationz - Psych Note Creation Join (table 89)manyToOnechild

Field use in views

11

Auto Counter (field 1346)

Day Program Location (field 1366)

Document (field 1348)

Note (field 1347)

Residential Location (field 1362)

Selected Indivduals (field 1364)

Created (field 1352)

Created By User (field 1350)

Last User (field 1349)

Record ID (field 1353)

Updated (field 1351)

z - Psych Note Creation: App Scripts

1 script. Health: grade A, score 100.

After Insert (script 77)

After a new record is savedEnabled, 7 lines
  • Reads from this record: Day Program Location, Residential Location
  • What it does, by condition:
    • If Residential Location and Day Program Location are both empty:
      • stops the save with the error "Must select a Location and Individuals"
  • Code: After Insert

z - Psych Note Creation: Views (table 88)

3 views, 1 with a filter. 1 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 378)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (11): Record ID, Auto Counter, Day Program Location, Residential Location, Last User, Created By User, Updated, Created, Note, Document, Selected Indivduals

My Psych Notes Created (view 382)

Filter: My Psych Notes Created (filter 235)

Filter: My Psych Notes Created (filter 235)

Shows records where Created By User is the person viewing the list.

Columns (1): Record ID

Psych Note Creation (view 381)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (1): Record ID

z - Psych Note Creation JoinA

3 fields1 scripts3 views

z - Psych Note Creation Join (table 89)

3 fields, 5 system fields, 1 App Scripts, 3 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Auto CounterAuto numberyes13541
IndividualLink to another table13601
Psych Note CreationLink to another table13611
CreatedDate and time (system)13581
Created By UserUser (system)13561
Last UserUser (system)13551
Record IDRecord ID (system)13593
UpdatedDate and time (system)13571

Relationships

Link fieldRelated tableRelationshipRelated table is
IndividualIndividuals (table 50)manyToOneparent
Psych Note Creationz - Psych Note Creation (table 88)manyToOneparent

Field use in views

8

Auto Counter (field 1354)

Individual (field 1360)

Psych Note Creation (field 1361)

Created (field 1358)

Created By User (field 1356)

Last User (field 1355)

Record ID (field 1359)

Updated (field 1357)

z - Psych Note Creation Join: App Scripts

1 script. Health: grade A, score 100.

After Insert (script 78)

After a new record is savedEnabled, 38 lines
  • Author's description: Note Join
  • Reads from this record: Individual, Psych Note Creation
  • Loads records from: zz - Note Tags
  • Creates or saves records in: Notes & Docs, zMulti - Note Tags
  • What it does, by condition:
    • Every time it runs:
      • looks up records in zz - Note Tags
      • creates a record in Notes & Docs: Individual = this record's Individual; Notes = this record's Psych Note Creation → Note; Document = this record's Psych Note Creation → Document
      • creates a record in zMulti - Note Tags: Note Tags = a calculated value; Note = calculated from this record's Individual, Psych Note Creation → Document, Psych Note Creation → Note
  • Code: After Insert

z - Psych Note Creation Join: Views (table 89)

3 views, 1 with a filter. 1 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 379)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Individual, Psych Note Creation, Last User, Created By User, Updated, Created

My Psych Note Creation Join (view 383)

Filter: Psych Note Creation Join (filter 236)

Filter: Psych Note Creation Join (filter 236)

Shows records where Created By User is the person viewing the list.

Columns (1): Record ID

Psych Note Creation Join (view 380)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (1): Record ID

z - RegionsA

3 fields2 scripts3 views

z - Regions (table 77)

3 fields, 5 system fields, 2 App Scripts, 3 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeUniqueRecord IDField IDViews
Auto CounterAuto number11123
RegionShort textyesyes11133
StatusDrop-down11143
CreatedDate and time (system)11183
Created By UserUser (system)11163
Last UserUser (system)11153
Record IDRecord ID (system)11193
UpdatedDate and time (system)11173

Relationships

Link fieldRelated tableRelationshipRelated table is
RegionLocations (table 49)manyToOnechild
Regionz - Cities (table 78)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

New Script (script 63)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Region, Status

What happens when a field changes

2

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Region changes

  • New Script (63), before save:
    • If Region is empty:
      • stops the save with the error "Region is required"

When Status changes

  • New Script (63), before save:
    • If Status is empty:
      • stops the save with the error "Status is required"

Field use in views

8

z - Regions: App Scripts

2 scripts. Health: grade A, score 100.

New Script (script 62)

Before a new record is saved. It can change the record being createdEnabled, 12 lines
  • Reads from this record: Region, Status
  • What it does, by condition:
    • If Region is empty:
      • stops the save with the error "Region is required"
    • If Status is empty:
      • stops the save with the error "Status is required"
  • Code: New Script

New Script (script 63)

Before an edited record is saved. It can change the record being editedEnabled, 12 lines
  • Reads from this record: Region, Status
  • What it does, by condition:
    • If Region is empty:
      • stops the save with the error "Region is required"
    • If Status is empty:
      • stops the save with the error "Status is required"
  • Code: New Script

z - Regions: Views (table 77)

3 views, 1 with a filter. 1 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 256)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Region, Status

Active Regions (view 258)

Filter: Active Regions (filter 138)

Filter: Active Regions (filter 138)

Shows records where Status is "Active".

Columns (8): Record ID, Auto Counter, Region, Status, Last User, Created By User, Updated, Created

All Regions (view 257)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Region, Status, Last User, Created By User, Updated, Created

z - RestrictivesA

5 fields2 scripts3 views

z - Restrictives (table 45)

5 fields, 5 system fields, 2 App Scripts, 3 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
Auto CounterAuto number5951
RestrictiveShort textyesyesyes5973
Restrictive IDLong text (triggered)6033
Script UpdateShort text5963After Insert (10), Before Update (11)
StatusDrop-down8533
CreatedDate and time (system)6011
Created By UserUser (system)5991
Last UserUser (system)5981
Record IDRecord ID (system)6023
UpdatedDate and time (system)6001

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Restrictive ID formula (field 603)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
RestrictiveIndividuals - Safety & Support Measures (table 53)manyToOnechild
Restrictivezz(Dep)Join - Individuals to Restrictives (table 66)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 11)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Script Update
  • Sets on this record: Script Update

What happens when a field changes

1

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Script Update changes

Field use in views

10

z - Restrictives: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 10)

After a new record is savedEnabled, 4 lines
  • Sets on this record: Script Update
  • What it does, by condition:
    • Every time it runs:
      • sets Script Update to "Populate ID"
  • Code: After Insert

Before Update (script 11)

Before an edited record is saved. It can change the record being editedEnabled, 7 lines
  • Sets on this record: Script Update
  • What it does, by condition:
    • If Script Update is "Populate ID":
      • clears Script Update
  • Code: Before Update

z - Restrictives: Views (table 45)

3 views, 1 with a filter. 1 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 153)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (10): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Script Update, Restrictive ID, Restrictive, Status

All Active Restrictives (view 199)

Filter: All Active Restrictives (filter 91)

Filter: All Active Restrictives (filter 91)

Shows records where Status is "Active".

Columns (5): Record ID, Restrictive, Status, Restrictive ID, Script Update

All Restrictives (view 198)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (5): Record ID, Restrictive, Status, Restrictive ID, Script Update

z - StateA

6 fields2 scripts2 views

z - State (table 56)

6 fields, 5 system fields, 2 App Scripts, 2 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
Auto CounterAuto number6951
IDLong text (triggered)6962
Script UpdateShort text6972After Insert (21), Before Update (22)
State (All Caps)Short text6992After Insert (21), Before Update (22)
State CodeShort textyesyesyes7002
State NameShort textyesyes6982
CreatedDate and time (system)7041
Created By UserUser (system)7021
Last UserUser (system)7011
Record IDRecord ID (system)7052
UpdatedDate and time (system)7031

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

ID formula (field 696)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
Billing StateAgencies (table 48)manyToOnechild
StateLocations (table 49)manyToOnechild
Statez - Zip Codes (table 57)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 22)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Script Update, State Name
  • Sets on this record: Script Update, State (All Caps)

What happens when a field changes

2

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Script Update changes

When State Name changes

Field use in views

11

Auto Counter (field 695)

ID (field 696)

Script Update (field 697)

State (All Caps) (field 699)

State Code (field 700)

State Name (field 698)

Created (field 704)

Created By User (field 702)

Last User (field 701)

Record ID (field 705)

Updated (field 703)

z - State: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 21)

After a new record is savedEnabled, 10 lines
  • Sets on this record: Script Update, State (All Caps)
  • Reads from this record: State Name
  • What it does, by condition:
    • Every time it runs:
      • sets State (All Caps) to a value calculated from State Name
      • sets Script Update to "Populate ID"
  • Code: After Insert

Before Update (script 22)

Before an edited record is saved. It can change the record being editedEnabled, 13 lines
  • Sets on this record: Script Update, State (All Caps)
  • Reads from this record: State Name
  • What it does, by condition:
    • Every time it runs:
      • sets State (All Caps) to a value calculated from State Name
    • If Script Update is "Populate ID":
      • clears Script Update
  • Code: Before Update

z - State: Views (table 56)

2 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 168)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (11): Record ID, Auto Counter, Last User, Created By User, Updated, Created, ID, Script Update, State Name, State (All Caps), State Code

States (view 169)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (6): Record ID, State Name, State (All Caps), State Code, ID, Script Update

z - Zip CodesA

5 fields2 scripts2 views

z - Zip Codes (table 57)

5 fields, 5 system fields, 2 App Scripts, 2 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViewsSet by scripts
Auto CounterAuto number7061
Scripting UpdateShort text7082After Insert (23), Before Update (24)
StateLink to another table7152
Zip CodeShort textyesyesyes7092
Zip IDLong text (triggered)7072
CreatedDate and time (system)7132
Created By UserUser (system)7112
Last UserUser (system)7102
Record IDRecord ID (system)7142
UpdatedDate and time (system)7122

Calculated and triggered fields

1

TrackVia works out a calculated field from its formula each time the record is shown, so it is never stored. A triggered field is worked out when the record is saved and keeps that value; {{OLD}} in its formula is a field's value before the save. Read from each formula, not by running it.

Zip ID formula (field 707)

  • Kind: triggered paragraph
  • Reads: Auto Counter
  • Safe in Before Update scripts: it reads only the auto counter, the record's database id, which never changes after the first save
{Auto Counter}

Relationships

Link fieldRelated tableRelationshipRelated table is
Statez - State (table 56)manyToOneparent
Billing Zip CodeAgencies (table 48)manyToOnechild
Zip CodeLocations (table 49)manyToOnechild

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

Before Update (script 24)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Uses the value of: Scripting Update, Zip Code
  • Sets on this record: Scripting Update

What happens when a field changes

2

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Scripting Update changes

  • Before Update (24), before save:
    • If Scripting Update is "Populate ID":
      • clears Scripting Update

When Zip Code changes

Field use in views

10

z - Zip Codes: App Scripts

2 scripts. Health: grade A, score 100.

After Insert (script 23)

After a new record is savedEnabled, 15 lines
  • Sets on this record: Scripting Update
  • Reads from this record: Zip Code
  • What it does, by condition:
    • Every time it runs:
      • sets Scripting Update to "Populate ID"
    • If zLength is more than 5:
      • stops the save with the error "Zip too long, please enter a 5 digit Zip Code"
    • Otherwise, if zLength is less than 5:
      • stops the save with the error "Zip too short, please enter a 5 digit Zip Code"
  • Code: After Insert

Before Update (script 24)

Before an edited record is saved. It can change the record being editedEnabled, 20 lines
  • Sets on this record: Scripting Update
  • Reads from this record: Zip Code
  • What it does, by condition:
    • Every time it runs:
      • sets Scripting Update to "Populate ID"
    • If Scripting Update is "Populate ID":
      • clears Scripting Update
    • If zLength is more than 5:
      • stops the save with the error "Zip too long, please enter a 5 digit Zip Code"
    • Otherwise, if zLength is less than 5:
      • stops the save with the error "Zip too short, please enter a 5 digit Zip Code"
  • Code: Before Update

z - Zip Codes: Views (table 57)

2 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 170)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (10): Record ID, Auto Counter, State, Last User, Created By User, Updated, Created, Zip ID, Scripting Update, Zip Code

Zip Codes (view 171)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (9): Record ID, State, Zip Code, Scripting Update, Last User, Created By User, Updated, Created, Zip ID

zMulti - Note TagsA

5 fields1 scripts1 views

zMulti - Note Tags (table 75)

5 fields, 5 system fields, 1 App Scripts, 1 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Auto CounterAuto numberyes10681
NoteLink to another table12451
Note IDShort text10881
Note TagsLink to another table10751
TagShort text10891
CreatedDate and time (system)10721
Created By UserUser (system)10701
Last UserUser (system)10691
Record IDRecord ID (system)10731
UpdatedDate and time (system)10711

Relationships

Link fieldRelated tableRelationshipRelated table is
NoteNotes & Docs (table 69)manyToOneparent
Note Tagszz - Note Tags (table 74)manyToOneparent

Field use in views

10

Auto Counter (field 1068)

Note (field 1245)

Note ID (field 1088)

Note Tags (field 1075)

Tag (field 1089)

Created (field 1072)

Created By User (field 1070)

Last User (field 1069)

Record ID (field 1073)

Updated (field 1071)

zMulti - Note Tags: App Scripts

1 script. Health: grade A, score 100.

After Insert (script 61)

After a new record is savedEnabled, 25 lines
  • Author's description: Note Tags
  • Reads from this record: Note, Note Tags
  • What it does, by condition:
    • Every time it runs:
      • on the linked Note record: sets Tags to a value calculated from this record's Note Tags → Tag, Note → Tags
    • If Note is empty:
      • stops the save with the error "Note Here"
  • Code: After Insert

zMulti - Note Tags: Views (table 75)

1 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 247)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (10): Record ID, Auto Counter, Note, Note Tags, Last User, Created By User, Updated, Created, Tag, Note ID

zz - Note Auto CounterA

3 fields2 scripts1 views

zz - Note Auto Counter (table 76)

3 fields, 5 system fields, 2 App Scripts, 1 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViews
ActiveShort textyesyes10801
Auto CounterAuto numberyes10791
Note NumberNumberyes10811
CreatedDate and time (system)10851
Created By UserUser (system)10831
Last UserUser (system)10821
Record IDRecord ID (system)10861
UpdatedDate and time (system)10841

Scripts that run when a record is edited

1

TrackVia runs every one of these on every edit, whether or not a given field changed. Each is described once here; the fields below link back to it. Read from the code, not by running it.

New Script (script 60)

Runs before the edit is saved, so what it sets is saved with the edit. Code summary

  • Checks whether these changed: Active

What happens when a field changes

1

For each field an edit script looks at: each condition in the code that looks at the field, and what the script does when it is true, including the script's own functions it calls. A script with no condition on the field only uses its value. Conditions inside other conditions are listed with them ("then").

When Active changes

  • New Script (60), before save:
    • If Active changed:
      • stops the save with the error "Cannot update this field"

Field use in views

8

Active (field 1080)

Auto Counter (field 1079)

Note Number (field 1081)

Created (field 1085)

Created By User (field 1083)

Last User (field 1082)

Record ID (field 1086)

Updated (field 1084)

zz - Note Auto Counter: App Scripts

2 scripts. Health: grade A, score 100.

New Script (script 59)

Before a new record is saved. It can change the record being createdEnabled, 1 lines
  • What it does, by condition:
    • Every time it runs:
      • stops the save with the error "Cannot Create a new Record"
  • Code: New Script

New Script (script 60)

Before an edited record is saved. It can change the record being editedEnabled, 11 lines
  • Reads from this record: Active
  • Checks for changes in: Active
  • Functions: isDifferent
  • What it does, by condition:
    • If Active changed:
      • stops the save with the error "Cannot update this field"
  • Code: New Script

zz - Note Auto Counter: Views (table 76)

1 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 248)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Active, Note Number

zz - Note Tags

3 fields0 scripts2 views

zz - Note Tags (table 74)

3 fields, 5 system fields, 0 App Scripts, 2 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRequiredUniqueRecord IDField IDViews
Auto CounterAuto number10601
StatusDrop-downyes10671
TagShort textyesyesyes10611
CreatedDate and time (system)10651
Created By UserUser (system)10631
Last UserUser (system)10621
Record IDRecord ID (system)10662
UpdatedDate and time (system)10641

Relationships

Link fieldRelated tableRelationshipRelated table is
Note TagszMulti - Note Tags (table 75)manyToOnechild

Field use in views

8

Auto Counter (field 1060)

Status (field 1067)

Tag (field 1061)

Created (field 1065)

Created By User (field 1063)

Last User (field 1062)

Record ID (field 1066)

Updated (field 1064)

zz - Note Tags: Views (table 74)

2 views, 1 with a filter. 1 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 245)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Tag, Status

Active Tags (view 246)

Filter: Active Tags (filter 128)

Filter: Active Tags (filter 128)

Shows records where Status is "Active".

Columns (1): Record ID

zz(Dep)Join - Individuals to Levels of SupervisionA

3 fields1 scripts1 views

zz(Dep)Join - Individuals to Levels of Supervision (table 68)

3 fields, 5 system fields, 1 App Scripts, 1 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Auto CounterAuto numberyes8421
IndividualLink to another table8541
Level of SupervisionLink to another table8491
CreatedDate and time (system)8461
Created By UserUser (system)8441
Last UserUser (system)8431
Record IDRecord ID (system)8471
UpdatedDate and time (system)8451

Relationships

Link fieldRelated tableRelationshipRelated table is
IndividualIndividuals (table 50)manyToOneparent
Level of Supervisionz - Levels of Supervision (table 47)manyToOneparent

Field use in views

8

Auto Counter (field 842)

Individual (field 854)

Level of Supervision (field 849)

Created (field 846)

Created By User (field 844)

Last User (field 843)

Record ID (field 847)

Updated (field 845)

zz(Dep)Join - Individuals to Levels of Supervision: App Scripts

1 script. Health: grade A, score 100.

After Insert (script 40)

After a new record is savedEnabled, 1 lines
  • What it does, by condition:
    • Every time it runs:
      • stops the save with the error "This Feature has moved please add on the individual via Adversive, Restrictive, LoS selector"
  • Code: After Insert

zz(Dep)Join - Individuals to Levels of Supervision: Views (table 68)

1 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 197)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Individual, Level of Supervision, Last User, Created By User, Updated, Created

zz(Dep)Join - Individuals to RestrictivesA

3 fields1 scripts1 views

zz(Dep)Join - Individuals to Restrictives (table 66)

3 fields, 5 system fields, 1 App Scripts, 1 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Auto CounterAuto numberyes8301
IndividualLink to another table8551
RestrictiveLink to another table8561
CreatedDate and time (system)8341
Created By UserUser (system)8321
Last UserUser (system)8311
Record IDRecord ID (system)8351
UpdatedDate and time (system)8331

Relationships

Link fieldRelated tableRelationshipRelated table is
IndividualIndividuals (table 50)manyToOneparent
Restrictivez - Restrictives (table 45)manyToOneparent

Field use in views

8

Auto Counter (field 830)

Individual (field 855)

Restrictive (field 856)

Created (field 834)

Created By User (field 832)

Last User (field 831)

Record ID (field 835)

Updated (field 833)

zz(Dep)Join - Individuals to Restrictives: App Scripts

1 script. Health: grade A, score 100.

After Insert (script 42)

After a new record is savedEnabled, 1 lines
  • What it does, by condition:
    • Every time it runs:
      • stops the save with the error "This Feature has moved please add on the individual via Adversive, Restrictive, LoS selector"
  • Code: After Insert

zz(Dep)Join - Individuals to Restrictives: Views (table 66)

1 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 195)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Individual, Restrictive, Last User, Created By User, Updated, Created

zz(Dep)Join - Nurses to Locations

3 fields0 scripts2 views

zz(Dep)Join - Nurses to Locations (table 60)

3 fields, 5 system fields, 0 App Scripts, 2 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Auto CounterAuto numberyes7601
LocationLink to another table7672
NurseLink to another table7662
CreatedDate and time (system)7641
Created By UserUser (system)7621
Last UserUser (system)7611
Record IDRecord ID (system)7651
UpdatedDate and time (system)7631

Relationships

Link fieldRelated tableRelationshipRelated table is
NurseContacts (table 58)manyToOneparent
LocationLocations (table 49)manyToOneparent

Field use in views

8

Auto Counter (field 760)

Location (field 767)

Nurse (field 766)

Created (field 764)

Created By User (field 762)

Last User (field 761)

Record ID (field 765)

Updated (field 763)

zz(Dep)Join - Nurses to Locations: Views (table 60)

2 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 187)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (8): Record ID, Auto Counter, Location, Nurse, Last User, Created By User, Updated, Created

Location Nurses (view 188)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (5): Nurse, Email, Work Phone, Work Cell, Location

zzz - Special PRC Import

4 fields0 scripts1 views

zzz - Special PRC Import (table 90)

4 fields, 5 system fields, 0 App Scripts, 1 views on this table.

Generated by Insight Workflows Atlas from Tables/ and Views/. No record data. A view shows as its name and id. "on" names another table whose view shows the field through a link, and "as" gives the view's own label.

Field summary

FieldTypeRecord IDField IDViews
Active PRC IDShort text14141
Auto CounterAuto numberyes14121
Individual IDShort text14131
Old PRC IDShort text14151
CreatedDate and time (system)14191
Created By UserUser (system)14171
Last UserUser (system)14161
Record IDRecord ID (system)14201
UpdatedDate and time (system)14181

Field use in views

9

Active PRC ID (field 1414)

Auto Counter (field 1412)

Individual ID (field 1413)

Old PRC ID (field 1415)

Created (field 1419)

Created By User (field 1417)

Last User (field 1416)

Record ID (field 1420)

Updated (field 1418)

zzz - Special PRC Import: Views (table 90)

1 views, 0 with a filter. 0 filters on this table, 0 not used by any view.

Generated by Insight Workflows Atlas from Views/ and Filters/. No record data. Each filter is read from its settings, not by running it. Who can open a view (roles) is not included.

Default view (view 450)

Filter: none, so it shows every record

Filter: none, so it shows every record.

Columns (9): Record ID, Auto Counter, Last User, Created By User, Updated, Created, Individual ID, Active PRC ID, Old PRC ID

Home