Appointment date suggestion

This would be another client-side hack or modification to HTML form entry so 
that appointment dates could be suggested based on some logic (from Christian 
Neumann)

I think this could also be done 'properly' in HFE. The obs tag might be able to 
take additional validation rules as parameters for date obs. I can see these 
use cases:
- Relative to the encounter date the appointment date should not be more than x 
months in the future.
- The appointment date must be greater than the encounter date.
- The appointment date can be restricted to certain weekdays (not all the 
clinics offer service all days during the week). Ideally this is tight to the 
encounter location.
- More difficult will be the validation based on other obs or drugs. If a 
patient only gets drugs for 20 days, the appointment date can't be much later.

christian


_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to