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

[Sowmya|Tanya] | Adds logic to fetch drug chart data | A-1204950368410820 #671

Merged
merged 2 commits into from
Aug 18, 2023

Conversation

tanyaa-tw
Copy link
Contributor

No description provided.

@Arjun-Go
Copy link
Contributor

Since you don't need the confirmBox in the patientDasboardController, the mocks for the confirmbox can be removed from the test file as well. -

confirmBox = jasmine.createSpyObj('confirmBox', ['show']);

onConfirm: PropTypes.func,
}),
patientId: PropTypes.string,
forDate: PropTypes.instanceOf(Date),
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to send the forDate from Bahmni Apps?
I think the navigation of dates will be driven from IPD module only. So I think sending only patientId would be sufficient.

});
}
patientId: $stateParams.patientUuid,
forDate: new Date().toUTCString()
Copy link
Contributor

@Phanindra-tw Phanindra-tw Aug 18, 2023

Choose a reason for hiding this comment

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

Same as above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are directly passing the epoch value of date from bahmniapps. In IPD-frontend repo we are directly receiving the epoch value for forDate

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay, for now lets keep it like this, We might have to revisit this when navigation card is played.

@tanyaa-tw tanyaa-tw merged commit a5f3524 into Bahmni-IPD-master Aug 18, 2023
1 check passed
@tanyaa-tw tanyaa-tw deleted the drug-chart-schedule-tasks branch August 18, 2023 11:50
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.

4 participants