WALKIN patients appointments module

The desired functionality is the ability to save appointments for walk in patients with appointments status as WALKIN, however as at now that’s not possible because this line resets the appointments status back to SCHEDULED during creation of the appointment

However for module UI users, the line above has been overridden by this

hence I suppose they are able to create an appointment for walkin patients with status WALKIN

Should I fix this by removing the line above or is there another work around that will enable me to save appointments with appointment status as WALKIN?

@mseaton @dkayiwa @mogoodrich

@jecihjoy oh, interesting!

I would change line 1153 so that it sets the status to SCHEDULE only if appointment.getStatus() == null

Will that work for you use case?

Take care, Mark

Yes totally