I’m really lost when i try to go a bit beyond the obvious in the creation of custom menu items for Gnuhealth. I can use Appointments an a saved search to make a prefiltered appointment list, or a list of inpatient records for building floor. It’s almost trivial.
But i don’t know how to use in window-actions the context, or select the appropiate models to make actions more sophisticated. A good example could be usin one appointment to select the patient and acces to the patient list with only that patient, and access to all the related actions for patient.
could anyone please, please share these knowledge with me?