Add support for searching for families in the header search box

Description

on playground, when you search by last name, it brings up all family members who have records, but not the family record. I think the family chart should come up as an option (maybe the last one, but still an option).
see picture for an example.

Environment

None

Activity

Show:
Marta Girdea
February 25, 2017, 12:50 AM

, : I deployed a fix on playground, you can play with it if you wish. It doesn't find families by patient last name (and I'm not sure I agree with that anyway, we can discuss), but it finds by family identifier (internal or external).

Sasha Andjic
February 25, 2017, 12:52 AM

ok...will do

On Fri, Feb 24, 2017 at 7:50 PM, Marta Girdea (JIRA) <

Sasha Andjic
February 25, 2017, 1:03 AM

Can we sort families by familyid, so both Vaders (see screenshot) are together?
Is it possible to remove "in WIKI data P0000.." below each entry?

Marta Girdea
February 25, 2017, 1:20 AM

We're using the default XWiki search widget. It's possible to customize it and remove the location bit, but the question is whether it's a priority. Any customization to XWiki code makes maintenance more difficult, so we usually try to avoid it.

I just plugged in the family search service for family studies. I guess it's a good idea to ensure some sort of consistent ordering for all searches, but usually relevance is better than increasing identifier number. The fact that FAM0000196 appears twice is a bug in the service that should be fixed.

Btw, I see the family search service actually does search by patient first and last name when looking for families, so the feature will actually be just the way Felicia requested it

Sasha Andjic
February 25, 2017, 1:23 AM

YAY!

Fixed

Assignee

Marta Girdea

Reporter

Felicia Collura

Labels

None

External issue ID

None

Fix versions

Priority

Medium