Skip to content
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

Feature/risk assessment grading #16

Merged
merged 26 commits into from
Oct 3, 2024

Conversation

9sneha-n
Copy link
Contributor

@9sneha-n 9sneha-n commented Sep 5, 2024

📌 References

📝 Implementation

  1. Display risk grading table
  2. Risk summary form
  3. Risk Questionnaire form
  4. Risk Grading form + calculation

📹 Screenshots/Screen capture

🔥 Notes to the tester

Base automatically changed from feature/event-tracker-summary-form to development September 16, 2024 06:02
@9sneha-n 9sneha-n changed the base branch from development to feature/performace-overview-table-link-indicators September 30, 2024 11:08
@9sneha-n 9sneha-n marked this pull request as ready for review October 1, 2024 09:49
RiskAssessmentGrading,
} from "../../domain/entities/risk-assessment/RiskAssessmentGrading";
import { Future } from "../../domain/entities/generic/Future";

const MAIN_SYNDROME_OPTION_SET_CODE = "AGENTS";
const SUSPECTED_DISEASE_OPTION_SET_CODE = "RTSL_ZEB_OS_DISEASE";
const NOTIFICATION_SOURCE_OPTION_SET_CODE = "RTSL_ZEB_OS_SOURCE";

export class OptionsD2Repository implements OptionsRepository {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to refactor the options repository as soon as possible and create an entity for each option (with its corresponding repo) and join the options in the corresponding hook in the presentation layer.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be taken care of in upcoming refactor PR

color="secondary"
startIcon={<AddCircleOutline />}
onClick={() => {
goTo(RouteName.CREATE_FORM, {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a function with
goTo(RouteName.CREATE_FORM, { formType: "risk-assessment-summary" })

const fieldValidationErrors = validateFormState(
updatedFormWithRulesApplied,
updatedField,
configirableForm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

configirableForm --> configurableForm

Copy link
Contributor

@anagperal anagperal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @9sneha-n !!

Base automatically changed from feature/performace-overview-table-link-indicators to development October 3, 2024 09:57
@bhavananarayanan bhavananarayanan merged commit 49a6927 into development Oct 3, 2024
1 check passed
@bhavananarayanan bhavananarayanan deleted the feature/risk-assessment-grading branch October 3, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants