Skip to content

Commit

Permalink
[TPDMDEV-793]/[DATASTD-2116] Plan/PlanMilestone domain (#96)
Browse files Browse the repository at this point in the history
* Plan Milestone implementation

Included OldEthnicityDescriptor since that was removed in DS-5.0
bumped version to 1.2 in package.json

* added missing interchange values

* PlanMilestone v4 implementation

* Updates for Plan Milestone v5

* Update build-model.yml

* Update build-model.yml

* Update build-model.yml

* Missed removing unused files and added separate interchange

* Updates based on Chris W. review and consultation with Ed

* Plan related entities moved to their own interchange

* Updates requested from review
  • Loading branch information
stevenarnold-ed-fi authored Mar 12, 2024
1 parent 7467d44 commit f4e5568
Show file tree
Hide file tree
Showing 24 changed files with 169 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
inputs:
data_model_version:
type: string
description: "data_model_version: The data standard version corresponding to the Ed-Fi Model branch. Default: 5.0"
description: "data_model_version: The data standard version corresponding to the Ed-Fi Model branch. Default: 5.0.0"
ODS_version:
type: string
description: "ODS_version: The Ed-Fi ODS/API version corresponding to the Ed-Fi Model branch. Default: 7.0"
description: "ODS_version: The Ed-Fi ODS/API version corresponding to the Ed-Fi Model branch. Default: 7.1"
tpdm_version:
type: string
description: "tpdm_version: The TPDM version being built. Default: 1.2.0"
Expand All @@ -20,10 +20,10 @@ on:

env:
data_model_version: "5.0.0"
ODS_version: "7.0"
ODS_version: "7.1"
tpdm_version: "1.2.0"
ed_fi_model_ref: "DS-5.0-ME-3.x"
node_version: "16.13.1"
node_version: "18"

jobs:

Expand Down Expand Up @@ -97,14 +97,14 @@ jobs:
"projects"=$projectList;
"projectPaths"=$projectPaths;
"pluginConfigDirectories"=$emptyList;
"defaultPluginTechVersion"="${{ env.ODS_version }}";
"defaultPluginTechVersion"="${{ env.ODS_version }}.0";
"allianceMode"=$true;
}
$MetaEdConfigBase.Add("metaEdConfiguration",$metaEdConfiguration)
Write-Host $metaEdConfiguration
$FilePath = 'MetaEd/build/MetaEdConfig-API-${{ env.ODS_version }}-DS-${{ env.data_model_version }}.json'
$MetaEdConfigBase | ConvertTo-Json -Depth 100 | Out-File -FilePath $FilePath -NoNewline -Encoding Ascii
- name: MetaEd - Build TPDM-Community
run: |
node ./index.js --config ./MetaEdConfig-API-${{ env.ODS_version }}-DS-${{ env.data_model_version }}.json -a
Expand Down
11 changes: 11 additions & 0 deletions Common/PlanMilestoneStatusEvent.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Common PlanMilestoneStatusEvent
documentation "An event recongnizing the change in status for the milestone"
descriptor PlanMilestoneStatus
documentation "The student's status associated with the plan milestone."
is part of identity
date PlanMilestoneStatusDate
documentation "The month, day and year associated with the change in the plan milestone status."
is part of identity
shared string EdFi.Description
documentation "Additional information associated with the milestone status achieved."
is optional
8 changes: 8 additions & 0 deletions Common/PlanPhaseStatusEvent.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Common PlanPhaseStatusEvent
documentation "An event recongnizing the change in status for the phase"
descriptor PlanPhaseStatus
documentation "The student's status associated with entering or completing the phase"
is part of identity
date PlanPhaseStatusDate
documentation "The month, day and year on which the status was achieved for the phase"
is part of identity
3 changes: 3 additions & 0 deletions Descriptor/OldEthnicity.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Descriptor OldEthnicity
deprecated "Users of this element are advised to use Race and HispanicLatinoEthnicity instead. Expect removal of this element in a future release."
documentation "Previous definition of Ethnicity combining Hispanic/Latino and Race."
3 changes: 3 additions & 0 deletions Descriptor/PlanMilestoneStatus.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Descriptor PlanMilestoneStatus
documentation "The student's status associated with the plan milestone."

2 changes: 2 additions & 0 deletions Descriptor/PlanMilestoneType.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Descriptor PlanMilestoneType
documentation "The type of milestone defined for the student's plan."
2 changes: 2 additions & 0 deletions Descriptor/PlanPhaseStatus.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Descriptor PlanPhaseStatus
documentation "The student's status associated with entering or completing the phase."
2 changes: 1 addition & 1 deletion DomainEntity/Candidate.metaed
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Domain Entity Candidate
bool HispanicLatinoEthnicity
documentation "An indication that the individual traces his or her origin or descent to Mexico, Puerto Rico, Cuba, Central, and South America, and other Spanish cultures, regardless of race. The term, ""Spanish origin,"" can be used in addition to ""Hispanic or Latino."""
is optional
descriptor EdFi.OldEthnicity
descriptor OldEthnicity
documentation "Previous definition of Ethnicity combining Hispanic/Latino and race: 1 - American Indian or Alaskan Native 2 - Asian or Pacific Islander 3 - Black, not of Hispanic origin 4 - Hispanic 5 - White, not of Hispanic origin."
is optional
descriptor EdFi.Race
Expand Down
4 changes: 4 additions & 0 deletions DomainEntity/CertificationExamResult.metaed
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ Domain Entity CertificationExamResult
descriptor CertificationExamStatus
documentation "The status of the Certification Exam attempt."
is optional
domain entity EdFi.StudentAssessment
documentation "Reference to a detailed result for Assessment taken by a student."
is optional
role name CertificationExam
11 changes: 11 additions & 0 deletions DomainEntity/Plan.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Domain Entity Plan
documentation "A scheme for achieving milestones organized by phases for students to follow and be tracked against."
domain entity EdFi.EducationOrganization
documentation "A reference to the Education Organization associated with the plan."
is part of identity
shared string PlanName
documentation "The name of the plan."
is part of identity
domain entity EdFi.GraduationPlan
documentation "The graduation plan associated with this plan."
is optional
15 changes: 15 additions & 0 deletions DomainEntity/PlanMilestone.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Domain Entity PlanMilestone
documentation "A significant event or achievement as part of a plan."
shared string PlanMilestoneName
documentation "The descriptive name of the milestone."
is part of identity
descriptor PlanMilestoneType
documentation "The type of milestone defined for the student's plan."
is part of identity
shared string PlanMilestoneCode
documentation "The code or identifier associated with an element associated with the plan milestone (e.g., course, certification, etc)"
is optional
shared string EdFi.Description
documentation "Additional information describing the plan's milestone to be achieved."
is optional
role name PlanMilestone
19 changes: 19 additions & 0 deletions DomainEntity/PlanPhase.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Domain Entity PlanPhase
documentation "A stage in the process of a student achieving milestones."
domain entity Plan
documentation "A reference to the plan associated with the phase."
is part of identity
shared string PlanPhaseName
documentation "The name of the phase associated with the plan."
is part of identity
integer PlanPhaseSequence
documentation "Indicates the number in order, starting with 1, that the phases are organized into."
is optional
shared string EdFi.Description
documentation "Additional information describing the plan's phase"
is optional
role name PhasePlan
domain entity PlanMilestone
documentation "A reference to the plan milestones associated with this phase"
is optional collection
role name PlanPhasePlan
11 changes: 11 additions & 0 deletions DomainEntity/StudentPlan.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Domain Entity StudentPlan
documentation "The entity representing the association or assignment of the student to the plan being pursued."
domain entity EdFi.Student
documentation "A reference to the student associated with the plan."
is part of identity
domain entity Plan
documentation "A reference to the plan associated with or assigned to the student."
is part of identity
common EdFi.Period
documentation "The time periods for which the student was assigned and pursing the plan."
is optional collection
18 changes: 18 additions & 0 deletions DomainEntity/StudentPlanMilestoneStatus.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Domain Entity StudentPlanMilestoneStatus
documentation "The status of the student's achievement of the plan milestone."
domain entity StudentPlan
documentation "A reference to the student's plan assignment or association."
is part of identity
merge StudentPlan.Plan.PlanName with PlanPhase.Plan.PlanName
domain entity PlanMilestone
documentation "A reference to the PlanMilestone against which the status is being recorded."
is part of identity
bool CompletionIndicator
documentation "Indicator on whether the student has completed the plan milestone."
is optional
common PlanMilestoneStatusEvent
documentation "The student's milestone status and the date of the status change."
is optional collection
domain entity PlanPhase
documentation "The phase in time when the milestone status was achieved."
is optional
18 changes: 18 additions & 0 deletions DomainEntity/StudentPlanPhaseStatus.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Domain Entity StudentPlanPhaseStatus
documentation "The status of the student's association with the plan's phase."
domain entity StudentPlan
documentation "A reference to the student's plan assignment or association."
is part of identity
merge StudentPlan.Plan.PlanName with PlanPhase.Plan.PlanName
domain entity PlanPhase
documentation "A reference to the phase in time associated with the status."
is part of identity
bool CompletionIndicator
documentation "Indicator on whether the student has completed the phase associated with the plan."
is optional
common PlanPhaseStatusEvent
documentation "The student's phase status and the date of the status change."
is optional collection
common EdFi.Period
documentation "The time periods associated with the phase status."
is optional collection
1 change: 1 addition & 0 deletions Interchange/Candidate.metaed
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Interchange Candidate
association CandidateRelationshipToStaffAssociation
association CandidateEducatorPreparationProgramAssociation
association EdFi.StudentSchoolAssociation
association EdFi.StudentSectionAssociation
association EdFi.StudentEducationOrganizationAssociation
association EdFi.StudentEducationOrganizationResponsibilityAssociation
association FieldworkExperienceSectionAssociation
11 changes: 11 additions & 0 deletions Interchange/Plan.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Interchange Plan

documentation "This interchange defines Plans and all their identifying information"

domain entity EdFi.Student
domain entity Plan
domain entity PlanMilestone
domain entity PlanPhase
domain entity StudentPlan
domain entity StudentPlanMilestoneStatus
domain entity StudentPlanPhaseStatus
4 changes: 4 additions & 0 deletions Interchange/Survey.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Interchange EdFi.Survey additions

association SurveyResponsePersonTargetAssociation
association SurveySectionResponsePersonTargetAssociation
4 changes: 4 additions & 0 deletions Shared/MilestoneStatusDescription.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Shared String MilestoneStatusDescription
documentation "Additional information associated with the milestone status achieved."
min length 0
max length 60
4 changes: 4 additions & 0 deletions Shared/PlanMilestoneCode.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Shared String PlanMilestoneCode
documentation "The code or identifier associated with an element associated with the plan milestone (e.g., course, certification, etc)"
min length 1
max length 60
4 changes: 4 additions & 0 deletions Shared/PlanMilestoneName.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Shared String PlanMilestoneName
documentation "The name for the milestone"
min length 0
max length 60
4 changes: 4 additions & 0 deletions Shared/PlanName.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Shared String PlanName
documentation "The name for the plan associated with plan milestones"
min length 0
max length 60
4 changes: 4 additions & 0 deletions Shared/PlanPaseName.metaed
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Shared String PlanPhaseName
documentation "The name for the plan associated with plan milestones"
min length 0
max length 60
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"description": "TPDM-Community",
"metaEdProject": {
"projectName": "TPDM",
"projectVersion": "1.1.0"
"projectVersion": "1.2.0"
}
}

0 comments on commit f4e5568

Please sign in to comment.