Closed nihal467 closed 1 month ago
@nihal467 when we submit the Log Update Form, it is logged as rhythm_detail but when we fetch it from the api to display in the evenlist page it is logged as rhythm_details and it is always null. I think this is causing the error.
During Form submission:
Fetching from api:
Thanks for debugging the root cause @HitishRaoP
Looks like there's a spelling mistake in the event types. It'll have to be updated here: https://github.com/ohcnetwork/care/blob/develop/care/facility/management/commands/load_event_types.py#L123
cc: @sainak
@rithviknishad can you please assign this issue to me.
Describe the bug
Heartbeat description we added during a patient log update is missing in the events log present in the patients consultation page
To Reproduce Steps to reproduce the behavior:
Expected behavior
Heartbeat rhythm description should be visible in the events log at the patient consultation page
Screenshots