2. Student Record Intake Functions
| Student Fields | Not started |
2.0 Set Intake Value Defaults - COMPLETED |
| Purpose | Based on the student start grade level, enter the student's current grade level. | |
| Trigger | Runs only one time, when the student record is first entered, never updated. | |
| Conditions | requisite fields are not empty. | |
| Sequence | This function runs after the student record is created. | |
| Step 1 |
Set Student current grade level equal to Student start grade. |
|
| Step 2 |
Set Student promotion equal to "promote". |
|
| Step 3 |
Set Student status equal to "planned". |
|
|
Creating student logins will be done in a separate step after student record created. |
||
| END |
| Student Fields | Not started |
2.1 Enter Student's Grade Span and School |
| Purpose | Reduce data entry by automatically finding the student grade span based on current grade level. | |
| Trigger | When new student record is entered |
|
| Conditions | requisite fields are not empty. | |
| Sequence | This function runs after the student record is created. | |
| Step 1 |
Find the Grade Span with start grade greater than or equal to the Student |
|
| Step 2 |
Associate the Grade Span record found above to the Student record with the Student grade span field. |
|
| Step 3 |
Find the School record associated to the Grade Span record found above and associate to the Student record with the Student school field. |
|
| END |
| Student Fields | Not started |
2.2 Calculate Graduation Date and Remaining Years |
| Purpose | By finding the last day of school and how many years left in the school, PEMS helps admins estimate future enrollment. | |
| Trigger | When a new student record is entered |
|
| Conditions | requisite fields are not empty. | |
| Sequence | This function runs when the student record is created. | |
| Step 1 |
Student remaining years = School Configuration highest_grade_level - Student note: remaining years does not include the student's enrollment year/current year |
|
| Step 2 | Find the |
|
| Step 3 | Add Student remaining years to start year |
|
| Step 4 |
Find the Academic year with the sequence value found above, this is the graduating academic year. There is no field for the graduating academic year. Find the grad year end date. |
|
|
Use grad year end date, calendar functions will update the year end date based on the school term associated end date when there is a change. |
||
| END |
| Student Fields | Not started |
2.3 Find and Enter Student's School Start Term - COMPLETED |
| Purpose | Based on the student start date, auto-enter the student start term, the purpose is to reduce data entry for the user. | |
| Trigger | When new student record is entered or when the student start date changes. This function only runs if the student status = planned. | |
| Conditions | requisite fields are not empty. | |
| Sequence | This function runs after the student record is created and only once on student intake. | |
| Step 1 |
Find the School Term with start date before or equal to the Student start date AND School Term with end date after or equal to the Student start date: school term start date ≤ student start date ≤ school term end date |
|
| Step 2 |
Associate the School Term record to the Student record with the School Start term field. |
|
| END |
| Student Fields | Not started |
2.4 Calculate Enrollment Year Terms |
| Purpose | Students transfer in and out of schools at various times and frequently in the middle of school terms. Many student's do not complete all the terms in their first year enrolled in the term. Based on the student's start date, calculate how many terms the student attends in their first year attending the school. | |
| Trigger | When new student record is entered or when the student start date changes. This function only runs if the student status = planned. | |
| Conditions | requisite fields are not empty. | |
| Sequence | After function 2.23 runs and only once on student intake. | |
| Step 1 |
Find ordinate of the the School Term linked to the Student from the school start term field, found in function 2.3 above. |
|
| Step 2 |
Find the start year's child School Term record. |
|
| Step 3 |
Based on the related Term Label flag, flag = official end, find the ordinate of the last school term in the academic start year. |
|
| Step 4 |
Enrollment year terms = end year ordinate - ordinate of school start term + 1 |
|
|
|
||
| END | ||
| Introduces a Restriction |
This method assumes that there are no interim terms that are optional, that the optional terms are either at the beginning or end of an official academic year. There is one use case where this assumption will fail, the 'intersession' where students can optionally enroll in a short period between terms, usually over the Christmas holiday to make up work that was not completed. We will not design for intersession, and only allow optional terms to be before or after the standard academic year. This use case is not very common. |
Use Case Test 2.4 Calculate Enrollment Year Terms*
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*note: there is a logic problem if there is an optional term 'sandwiched' between the official end and start terms that the student chooses to not attend, this will change the number of enrollment year terms. Do not allow optional terms in between required terms in the same academic year. A required academic year must be continuous.
| Student Fields | Not started |
2.5 Calculate Remaining Terms in Enrollment Grade Span |
| Purpose | Calculate the remaining terms in the grade span. This is used for assigning plans. Plans can not be assigned that require more terms than remaining in the grade span. | |
| Trigger |
When new student record is entered and only once on student intake. note: this field is updated in the advancement workflow, but it will use very different logic than this initial value |
|
| Conditions | requisite fields are not empty. | |
| Sequence | This function runs after 2.4, find enrollment year terms. | |
| Step 1 |
Find the remaining academic years in the grade span: Subtract Student current grade level from Grade Span End grade: Grade Span End grade - Student current grade |
|
|
|
||
|
DONE |
|
|
| Step 4 |
Multiply number of required terms times the number of remaining years in the grade span required_terms_year X (Grade Span End grade - Student current grade) |
|
| Step 5 |
Add Student Enrollment year terms to above: Student Enrollment year terms + required_terms_year X (Grade Span End grade - Student current grade) |
|
| END |
No Comments