Open nus-se-script opened 5 days ago
It seems like there is a misunderstanding in what is considered as a session log. Each log is tagged to a single therapy session, on any given day there can be multiple therapy session for a person as such, multiple logs in a single appointment date. As such these logs should not be appended.
--
When multiple logs are made for the same session, it is saved as separate logs. For example, when I do
addlog i/S7140834E d/15 Nov 2024 l/young patient
, thenaddlog i/S7140834E d/15 Nov 2024 l/has insomnia
, followed bylogs i/S7140834E
, I get the following:. As seen, there are 2 separate logs despite the same date/appointment on
15 Nov 2024
. Making it inefficient in viewing logs from the same appointment.Consider the following case: A doctor/therapist views a patient for a consultation. As the consult goes, the doctor continuously adds consult notes ie logs using the
addlog
command. Her doing so will result in multiple entries of logs despite it all being in the same appointment itself.As a user, I would except
addlogs
to organise logs according to appointment/dates for each patient so that I can easily view all patient information by appointment.A suggestion would be to add all logs under the
l/
field to the same log but in a new line.[original: nus-cs2103-AY2425S1/pe-interim#2864] [original labels: severity.Medium type.FeatureFlaw]