-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/risk assessment grading #16
Conversation
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 { |
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.
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.
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.
will be taken care of in upcoming refactor PR
color="secondary" | ||
startIcon={<AddCircleOutline />} | ||
onClick={() => { | ||
goTo(RouteName.CREATE_FORM, { |
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.
Create a function with
goTo(RouteName.CREATE_FORM, { formType: "risk-assessment-summary" })
const fieldValidationErrors = validateFormState( | ||
updatedFormWithRulesApplied, | ||
updatedField, | ||
configirableForm |
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.
configirableForm --> configurableForm
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.
thanks @9sneha-n !!
📌 References
📝 Implementation
📹 Screenshots/Screen capture
🔥 Notes to the tester