Access4LearningNA / NADM

North American Data Model
2 stars 2 forks source link

Subordinate elements have refId but should not #128

Closed tqwhite closed 6 years ago

tqwhite commented 7 years ago

Subordinate elements (e.g., iepEligabilityBackgroundType) were extended from gOtherSIFType to allow extension. This brought along a refId as well as the extension point.

Since the subordinate elements are not exposed as independent objects the presence of a refId is inappropriate.

tqwhite commented 7 years ago

I think we should create a new global type, gSIF_ExtensibleType, that supplies an extension point but has no refId.

aemnathanclinton commented 7 years ago

We didn't extend from any SIF base type with similar xSre types. xAttendanceEventType for instance is just an xs:complexType. Here's an exerpt from SIFNAxSRECommonTypes.xsd `

Calendar Event Date O 001275 https://ceds.ed.gov/cedselementdetails.aspx?termid=6241 The date of the scheduled or unscheduled event. O 000076 https://ceds.ed.gov/cedselementdetails.aspx?termid=3076 The status of a student's attendance during a given day while school is in session. O 000601 https://ceds.ed.gov/cedselementdetails.aspx?termid=3594 The type of attendance event. O 000599 https://ceds.ed.gov/cedselementdetails.aspx?termid=3592 The category that describes how the student spends his or her time not physically present on school grounds and not participating in instruction or instruction-related activities at an approved off-grounds location. O 000600 https://ceds.ed.gov/cedselementdetails.aspx?termid=3593 The category that describes how the student spends his or her time when attending an instructional program approved by the state and/or school. A percentage representing the amount of time for this event. For example, if the student was in attendance for half of the day, this value would be 0.5. O 000522 https://ceds.ed.gov/CEDSElementDetails.aspx?TermxTopicId=24024 An indication of the portion of a typical daily session in which students receive instruction in a specified subject (e.g., morning, sixth period, block period, or AB schedules). `
4pins commented 7 years ago

I seem to remember long conversations about having a "relaxed" version, where the refId is optional. There is a reference to a "xStudentRelaxedType" in the StudentLocatorResponse.xsd but I cannot find where it is defined.

4pins commented 7 years ago

While I didn't find the definition is does resolve somehow. See: http://specification.sifassociation.org/Implementation/NA/3.5/Collections/studentLocatorResults.xhtml#/studentLocatorResults/studentLocatorResult/student/@refId