give me a few days to input some more patients and ARs on my demo system. I will also ask some laboratories here how they treat patient confidentiality.
On my demo system, at the moment I have 2 Clients, 2 doctors and 2 patients. Patient-1 is associated with Client-1 / Doctor-1 and Patient-2 with Client-2 / Doctor-2.
If I log in as administrator / lab manager, Open Client (choose Client-1) / AR then Analysis Request Add.
In the Doctors tab, the list shows Doctor-1 and Doctor-2 (note: Doctor -2 is not associated with Client-1)
In the Patients tab, the list shows only Patient-1 (note: this is correct)
In my observation:
1. There is no association between Client and Doctor that exist.
If Doctors will be allowed to practice in 2 or more Clients (Institution/Clinic), then we should explicitly associate them to their respective Clients so the Doctors list will not show all doctors in the system. The Doctors list should only display the list of doctors associated with the respective Client. (like how the patient list behave)
2. The Doctor field is not required when creating an AR.
The Doctor should be closely linked to the Patient since the lab order is emanating from the Client/Doctors office. Thus, If the AR will be created from the Client, the system should first ask which Doctor in the Institution is requesting for the AR then filter the patients associated to him. But this limits the patients whom the Doctor can order an AR.
3. Patient is associated with Client (Institution / Clinic) but not with the Doctor.
When creating a new Patient. The Client field is required (which associates the patient to the Clinic)
What if the Patient chooses to consult another Doctor in another Client (Institution/Clinic)
Can the system be overridden to be able the patient to consult in other Client /Doctor in the system.
Jut my thoughts. I don't know if I'm making any sense.