-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#2222 - IER 12 Implementation blue fields #2315
Conversation
@@ -28,8 +29,7 @@ export class IER12FileDetail implements IER12FileLine { | |||
studentGivenName?: string; | |||
studentBirthDate: Date; | |||
studentGroupCode: "A" | "B"; | |||
// Analysis pending for the field. | |||
studentMaritalStatusCode?: string; | |||
studentMaritalStatusCode: "SI" | "SP" | "MA"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering if it wouldn't be better to create a Enum for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see your point. I was thinking back and forth about creating enum.
Only thing which stopped me from creating enum was, the enum isn't going to be used anywhere like ApplicationStatusCode
which was used for a transformation.
Having said that, I can definitely create a type to keep the type creation in one place.
UC = "UC", | ||
EC = "EC", | ||
CI = "CI", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment above the items describing them, please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job. Left some comments.
...libs/integrations/src/institution-integration/ier12-integration/ier12.integration.service.ts
Show resolved
Hide resolved
sources/packages/backend/workflow/BPMN/camunda-8/assessment-gateway.bpmn
Outdated
Show resolved
Hide resolved
sources/packages/backend/workflow/BPMN/camunda-8/fulltime-assessment-2021-2022.bpmn
Outdated
Show resolved
Hide resolved
sources/packages/backend/workflow/BPMN/camunda-8/fulltime-assessment-2021-2022.bpmn
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work and great progress on IER12. I left minor comments, please take a look.
...backend/libs/integrations/src/institution-integration/ier12-integration/ier12-file-detail.ts
Show resolved
Hide resolved
...libs/integrations/src/institution-integration/ier12-integration/ier12.integration.service.ts
Outdated
Show resolved
Hide resolved
@@ -120,10 +124,16 @@ export class StudentAssessmentService extends RecordDataModelService<StudentAsse | |||
{ | |||
assessmentDate: dateEqualTo(processingDate), | |||
offering: { institutionLocation: { hasIntegration: true } }, | |||
application: { | |||
applicationStatus: Not(ApplicationStatus.Overwritten), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
.../libs/integrations/src/institution-integration/ier12-integration/ier12.processing.service.ts
Outdated
Show resolved
Hide resolved
sources/packages/backend/workflow/BPMN/camunda-8/fulltime-assessment-2021-2022.bpmn
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work @dheepak-aot . some minor comments and questions
@@ -28,8 +29,7 @@ export class IER12FileDetail implements IER12FileLine { | |||
studentGivenName?: string; | |||
studentBirthDate: Date; | |||
studentGroupCode: "A" | "B"; | |||
// Analysis pending for the field. | |||
studentMaritalStatusCode?: string; | |||
studentMaritalStatusCode: "SI" | "SP" | "MA"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we move this to the ier12-integration-model ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work @dheepak-aot, just a minor suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work with the changes and for all the additional analysis needed along the development that was not estimated in the original ticket. Looks good 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @dheepak-aot with the analysis and the implementation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for the changes!
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @dheepak-aot 👍
IER Implementation of blue fields
Note: Application event code and application event date is not handled in the current ticket as it will be done in seperate ticket.
For reference Please use the spreadsheet from General > Files >Analysis > Institution File Specs > IER12_Analysis_Output_and_Mapping_Part_1_V2_PR.xlsx
from teams.
Mapping has been done for 23 blue fields excluding Application event code and Application event date.
calulatedDataStudentMaritalStatusCode
(value has "SI" | "SP" | "MA")calculatedDataDependantTotalMSOLAllowance
updated
calculatedDataTotalMSOLAllowance
to use the variablecalulatedDataStudentMaritalStatusCode
instead on doing same calculation again.calaulatedDataTotalNonEducationalCosts
Updated the spreadsheet with details which were discussed during the implementation
In memory calculations were used when the IER field mapping was achievable from existing assessment_data values. We did not create new workflow variables for them.

For e.g.
Few variables which were required for workflow_data were initialized to null in the assessment gateway as they were not guaranteed in all the scenarios.

Added filler for the 10th award slot.
Generated sample file
IER_012_2023-09-19_08.32.57.txt