Uploaded image for project: 'Health'
  1. Health
  2. HEALTH-129

Doctors supposed to be associated with Clients

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.1, 3.1.1, 3.1.2.1, 3.1.5
    • Fix Version/s: None
    • Labels:
      None

      Description

      Are the Doctors supposed to be associated only to specific Clients (ex. clinics in my case)
      the same way as Contacts to a Client?

      If so, then Doctors should only be able to access the Client (or clinic) information he is associated with, unless he holds clinic in another Client.

      At the moment I can't figure out how to associate a Doctor to a Client just like a Patient would be to a Doctor.

        Activity

        Hide
        lemoene lemoene added a comment -

        In the Bika Health model Doctors may service more than one Clinic/Referring Institution. I am not sure how it was resolved myself, e.g. do they see all the Patient records at all those Clinics, or only the Patients they are referenced too via Cases and ARs Jordi? The latter feels more correct to me

        Show
        lemoene lemoene added a comment - In the Bika Health model Doctors may service more than one Clinic/Referring Institution. I am not sure how it was resolved myself, e.g. do they see all the Patient records at all those Clinics, or only the Patients they are referenced too via Cases and ARs Jordi? The latter feels more correct to me
        Hide
        xispa Jordi (Inactive) added a comment -

        Exactly. One Doctor can service more than one referring institution/client, but they only can see the Patients assigned to themselves via cases/ARs.

        Show
        xispa Jordi (Inactive) added a comment - Exactly. One Doctor can service more than one referring institution/client, but they only can see the Patients assigned to themselves via cases/ARs.
        Hide
        lemoene lemoene added a comment -

        Is that how you find it to work in your testing roberto? if so we can close this one or turn it into a feature request if you have an alternative requirement

        Show
        lemoene lemoene added a comment - Is that how you find it to work in your testing roberto? if so we can close this one or turn it into a feature request if you have an alternative requirement
        Hide
        infomate Roberto Sanglay added a comment -

        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.

        Cheers

        Robert

        Show
        infomate Roberto Sanglay added a comment - 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. Cheers Robert
        Hide
        xispa Jordi (Inactive) added a comment -

        Confirmed. There isn't any 'direct' association between Clients and Doctors. The Case (aka Batch) is the only content in which a Doctor and a Client gets related.

        pq. 1. There is no association between Client and Doctor that exist.
        From an email regards to discussion of HEALTH-136: + Add Patient button on AR Create form:

        Add 'Allow Doctors to create edit clients' option in Bika Setup
        Despite doctors are allowed to create AnalysisRequests and Cases, they are not allowed to create/edit patients, so the "+Add client" button will not be displayed by default. I suggest to include the same option we included in Bika Setup for patients, but for Doctors.

        If we want to give privileges to Doctors to create Patients, then we need to allow to associate Clients with Doctors. I suggest to add a 'Associated Doctors' multiselect field inside Client create/edit view. Doctors will then only be allowed to create patients associated to the Clients to which they are associated. If the current user is a doctor, the Client input fields in batches, analysis requests and patients must be then filtered depending on the above rule. Using the same criteria, the Doctor fields must be then filtered too in accordance with the selected Client in AR Add view, Case Creation, AR details view and Case details view.

        Anyone who wishes to sponsor?

        pq. 2. The Doctor field is not required when creating an AR
        The idea is to maintain Bika Health as generic as possible. Maybe adding a checkbox 'Doctor is mandatory in new ARs' inside 'Preferences' tab from Client's Edit View would be enough. A checkbox field 'Doctor is mandatory by default in new ARs' would be added to inside Bika Setup's 'Analyses' section.

        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)

        Maybe a Patient should have a 1-* relation with Clients and a 0-* with Doctors. That means several changes in health (multi-client assignment for a Patient, behavior in AR Add view and Case, Patient listings from a Client, etc.).

        Show
        xispa Jordi (Inactive) added a comment - Confirmed. There isn't any 'direct' association between Clients and Doctors. The Case (aka Batch) is the only content in which a Doctor and a Client gets related. pq. 1. There is no association between Client and Doctor that exist. From an email regards to discussion of HEALTH-136: + Add Patient button on AR Create form : Add 'Allow Doctors to create edit clients' option in Bika Setup Despite doctors are allowed to create AnalysisRequests and Cases, they are not allowed to create/edit patients, so the "+Add client" button will not be displayed by default. I suggest to include the same option we included in Bika Setup for patients, but for Doctors. If we want to give privileges to Doctors to create Patients, then we need to allow to associate Clients with Doctors. I suggest to add a 'Associated Doctors' multiselect field inside Client create/edit view. Doctors will then only be allowed to create patients associated to the Clients to which they are associated. If the current user is a doctor, the Client input fields in batches, analysis requests and patients must be then filtered depending on the above rule. Using the same criteria, the Doctor fields must be then filtered too in accordance with the selected Client in AR Add view, Case Creation, AR details view and Case details view. Anyone who wishes to sponsor? pq. 2. The Doctor field is not required when creating an AR The idea is to maintain Bika Health as generic as possible. Maybe adding a checkbox 'Doctor is mandatory in new ARs' inside 'Preferences' tab from Client's Edit View would be enough. A checkbox field 'Doctor is mandatory by default in new ARs' would be added to inside Bika Setup's 'Analyses' section. 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) Maybe a Patient should have a 1-* relation with Clients and a 0-* with Doctors. That means several changes in health (multi-client assignment for a Patient, behavior in AR Add view and Case, Patient listings from a Client, etc.).

          People

          • Assignee:
            Unassigned
            Reporter:
            infomate Roberto Sanglay
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: