The Contacts section exists in both the Positive Patient and In Treatment Register patient detail views. This allows the user to add/view/screen contacts of the TB patient. Please reference this issue for background info: https://github.com/OpenSRP/tbr5/issues/45.
[x] When a patient is diagnosed with TB and moves to the Positive Patient register, their detail view will have a blank contacts section:
The "Add Contact" button launches the Add TB Contact form (https://ona.io/opensrp/45150/254493), where the user can add one or more contacts (uses a repeat group).
[x] The contacts that are added in the Add TB Contact form appear as avatars in the index patient's contact details box. The initials are taken from the first name and last name fields in the form. The color of the avatar comes from the person's gender: male, female or 3rd gender. See this issue for the color codes for the gender.
[x] Tapping on any of the avatars opens the Contact Screening Form (https://ona.io/opensrp/45150/261997) for the user to screen that contact. This is similar to the Screening Form we saw in the Presumptive Register. The difference here is that you have already collected the basic demographic details of this person and linked them to an existing TB patient through the Add TB Contact form.
[x] Add different icon indicators to the contact avatars to indicate different statuses, for instance:
[x] The app crashed when I selected the Contact Screening read-only form in the negative screened person's avatar the first time. Subsequently, the app didn't crash, but selecting the negative screened patient is very slow - it takes a second or two to open after tapping on the avatar.
The Contacts section exists in both the Positive Patient and In Treatment Register patient detail views. This allows the user to add/view/screen contacts of the TB patient. Please reference this issue for background info: https://github.com/OpenSRP/tbr5/issues/45.
The "Add Contact" button launches the Add TB Contact form (https://ona.io/opensrp/45150/254493), where the user can add one or more contacts (uses a repeat group).
[x] Tapping on any of the avatars opens the Contact Screening Form (https://ona.io/opensrp/45150/261997) for the user to screen that contact. This is similar to the Screening Form we saw in the Presumptive Register. The difference here is that you have already collected the basic demographic details of this person and linked them to an existing TB patient through the Add TB Contact form.
[x] Add different icon indicators to the contact avatars to indicate different statuses, for instance:
A)
B)
C)
D)