Sessions (Kansas v3.6)

Tool Search: Ed-Fi

This entity represents the prescribed span of time when an education institution is open, instruction is provided and students are under the direction and guidance of teachers and/or education institution administration. A session may be interrupted by one or more vacations.

Object Triggering Logic

This table describes logic for triggering syncing of this object.

ActionTrigger
Post

When a new Term is created and saved that is mapped to a Term Type and a resync of Sessions is completed.

  • When the same Term Type is selected on multiple Terms, group the Terms together so only one record reports per Term Type.
  • When there are multiple Calendars or Schedule structures in a School with the same Term Types, only one record can report to Ed-Fi. Report the earliest Term Start Date and latest Term End Date.
  • Does not send records when the Calendar Exclude check box is marked.

  • Does not send when the School is marked as  Exclude.
Post

When a Term Descriptor Override is selected on a Course or Section and saved and the course is mapped to a Term Descriptor Override and a resync of Sessions is completed.

  • The Session reports the start and end dates based on the mapping of the course section.
  • When the same Term Type is selected in the Terms Setup and the Term Type Override, a record does not send from the override field.
  • Does not send records when he Calendar Exclude check box is checked or Course is marked as Inactive or Exclude.
PutWhen the Grading Period data is changed or the Grading Period record is deleted.
DeleteWhen the Term is deleted or the mapping is removed the Session record and all dependent data is removed.

**Start and End dates are not part of the natural Key so only 1 record per Term Type can be sent to Ed-Fi.  Logic has been implemented to determine the priority of what start and end dates to use for a Term Type.

School Exclude, Calendar Exclude, Resource Toggle and Resync Logic

This table describes the School Exclude, Calendar Exclude, Resource Toggle and Resync logic of this object.

ActionTrigger
NoneWhen a resource is toggled to OFF after data has sent, all sent data remains in the ODS but no new data sends.
DeleteWhen a resource is toggled to OFF after data has sent and an action is performed that would trigger a delete, that data remains in the ODS until a resync is done.
ResyncWhen a record is in the Ed-Fi Identity Mapping table and not in the ODS, it is deleted from the Ed-Fi Identity Mapping table.
ResyncWhen a record is in the ODS and it does not have a matching record in Campus or the Ed-Fi Identity Mapping table, it is deleted from the ODS.
ResyncWhen a mapping is changed in Resource Preferences, a resync needs to be done to reflect the changes.

Natural Key Changes, Cascading Updates, and Deletes Logic

This table describes the Natural Key Changes/Cascading Updates and Deletes logic of this object.

ActionTrigger
Delete/Post

Natural Key change:

  • When the School ID changes, all data remaina under the old number and a resync needa to be completed to populate data under the new number. The delete tool would need to be used to remove all data from the old School ID.

Delete/PostWhen the Session Name changes.
Delete/Post

When the natural key changes all dependent resources delete/post.

  • Course Offerings, Sections, Staff Section Associations, Student Section Associations, Student Section Attendance Events, Grades.

Scope Year Logic

This table describes scope year logic of this object.

Logic
Reports Sessions for the scope year the to which the calendar is aligned.
Data will only send for the years that have valid configuration.

Resource Preferences

This table describes the Resource Preferences of this object.

Data Element LabelMapping Needed
Term DetailTerm Descriptors
Course/SectionTerm Descriptor Overrides

Identity Mapping Object Key

This table describes the Identity Mapping Object Key of this object.

*If there are multiple terms, overridden courses, or overridden sections in a school with the same term descriptor, there will be an identity mapping record for each Campus record and they will have the same edFiIdentityID.

Where  Posting FromcampusObjectTypeObject Key Data Source
Course overrideCoursecourseID
Section overrideCoursecourseID-sectionID
TermTermtermID

Event Queue Detail

This table describes the Event Queue Detail of this object.

Campus TableEd-Fi ActionFields
TermPost/Put/DeleteThe primary table used for sending data for this resource.
CoursePost/Put/DeleteThe primary table used for sending data for this resource.
SectionPost/Put/DeleteThe primary table used for sending data for this resource.
sectionPlacementPutStart/End Date

Error Log

This table describes the Error logic of this object.

ErrorPossible Causes/How to Fix
Error code return from Ed-Fi. 400: [message:Validation of 'Session' failed.  BeginDate is required.  BeginDate : '1/1/0001 12:00:00 AM' must be within SQL datetime range ('1/1/1753 12:00:00 AM' to '12/31/9999 11:59:59 PM')  EndDate is required.  EndDate : '1/1/0001 12:00:00 AM' must be within SQL datetime range ('1/1/1753 12:00:00 AM' to '12/31/9999 11:59:59 PM') ].Term start or end dates are missing

Object Data Elements

This table describes data elements sent within the Sessions resource.

Data Element LabelBusiness Requirements and RulesMandatory, Conditional or OptionalLocation
id

The unique identifier of the resource.

M
SessionName

The identifier for the calendar for the academic session.


For the Term Descriptor of the Term(s) being reported, reports the Session Name associated with the mapped Ed-Fi Code value. 


See Kansas sessionName translation table below. 

MReporting > Ed-Fi > Configuration > Resources Preferences > Sessions > Ed-Fi Code

EdfiMapping.edFiValue
schoolReference

A reference to the related School resource. 


Reports the fields that are part of the Natural Key for the School resource.


M
schoolYearTypeReferenceA reference to the related SchoolYearType resource.

Reports the end year from the calendar the term is reported.

Reports XXXX.
M
academicWeeksAn unordered collection of sessionAcademicWeeks

This is optional, do not report.
O
beginDate The Term start date.

When reporting from a Term Schedule, reports the start date of the term being reported.
  • When more than one term has the same Term Type selected, report the earliest start date.
  • When reporting from a Term Type Override on a Course or Section.
    • Reporst the earliest term start date based on all sections with the same Term Override.
M

 Terms Setup > Start Date



Term.startDate

endDate

The Term end date.


When reporting from a Term Schedule, reports the end date of the term being reported.
  • When more than one term has the same Term Type selected, use the latest end date.
  • When reporting from a Term Type Override on a Course or Section, reports the latest end date based on all sections with the same Term Override.
MTerm Setup > End Date

Term.endDate
gradingPeriodsAn unordered collection of sessionGradingPeriods.

O


termDescriptor

This descriptor defines the term of a session during the school year (e.g., Fall Semester).


When reporting from Term Descriptors mapping, report the Ed-Fi Code for the value selected


When Ed-Fi Term Type is Null, or when no Ed-Fi code exists, does not report.


When reporting from the Term Descriptor Overrides, report the Ed-Fi code value selected.

Medfimapping.edFiValue
totalInstructionalDays

Total Days in Session.


When reporting from Term Schedule, count the total number of instructional days from the Days tab from the calendar and schedule structure the term is associated with.

  • A day reset must be completed before the days calculate. Use the resync after day reset is completed to have instructional days calculated and sent.
  • When more than one term schedule has the same Term Type, counts the distinct number of instructional days from all terms for that Term Type.

When reporting from Term Type Override, count the number of instructional days that fall on/between the start and end dates.

M

Session Name Translation Table

Click here to expand...

Code ValueSession Name
Q1SchoolYear.endYear + ' Quarter 1'
Q2SchoolYear.endYear + ' Quarter 2'
Q3SchoolYear.endYear + ' Quarter 3'
Q4SchoolYear.endYear + ' Quarter 4'
S1SchoolYear.endYear + ' First Semester'
S2SchoolYear.endYear +'  Second Semester'
SM'Summer'
T1SchoolYear.endYear + ' Trimester 1'
T2SchoolYear.endYear + ' Trimester 2'
T3SchoolYear.endYear + ' Trimester 3'
YRSchoolYear.endYear +'  School Year'

Arrays

Click here to expand...

Grading Periods

Data Element LabelBusiness Requirements and RulesMandatory, Conditional or OptionalLocation
gradingPeriodReferenceReference to the related Grading Period resource.

Reports any Grading Period that has a Grading Period End Date in the Session being reported.
  • Grading Period End Date must be on or after Session Start Date and on or before Session End Date.
When reporting from Term Type Override, reports any Grading Period where the Grading Period End Date occurs in the Session being reported.
  • Grading Period End Date must be on or after Session Start Date and on or before Session End Date.
M

Type Descriptor

Click here to expand...

Term Descriptor
Code ValueDescriptionNamespaceShort Description
Fall SemesterFall Semesteruri://ed-fi.org/TermDescriptorFall Semester
First QuarterFirst Quarteruri://ed-fi.org/TermDescriptorFirst Quarter
First TrimesterFirst Trimesteruri://ed-fi.org/TermDescriptorFirst Trimester
Fourth QuarterFourth Quarteruri://ed-fi.org/TermDescriptorFourth Quarter
MiniTermMiniTermuri://ed-fi.org/TermDescriptorMiniTerm
OtherOtheruri://ed-fi.org/TermDescriptorOther
QuarterQuarteruri://ed-fi.org/TermDescriptorQuarter
Second QuarterSecond Quarteruri://ed-fi.org/TermDescriptorSecond Quarter
Second TrimesterSecond Trimesteruri://ed-fi.org/TermDescriptorSecond Trimester
SemesterSemesteruri://ed-fi.org/TermDescriptorSemester
Spring SemesterSpring Semesteruri://ed-fi.org/TermDescriptorSpring Semester
Summer SemesterSummer Semesteruri://ed-fi.org/TermDescriptorSummer Semester
Third QuarterThird Quarteruri://ed-fi.org/TermDescriptorThird Quarter
Third TrimesterThird Trimesteruri://ed-fi.org/TermDescriptorThird Trimester
TrimesterTrimesteruri://ed-fi.org/TermDescriptorTrimester
Year RoundYear Rounduri://ed-fi.org/TermDescriptorYear Round