Closed Viqsi closed 3 weeks ago
For the record, I believe the backend will already let us do this. It might not be the cleanest of API calls, but it's certainly there. That's something I want to look into to be sure tho. Most of the work is in the UI.
This also potentially affects how we show pedigree previews, since they presume the presence of affecteds both in the title and in the "logic description". That may necessitate a little bit of braining.
Some changes are going to have to be made in the proc code, but I think it's still rapidly doable. The basic thing is that we're going to have to allow creation of pedigree cohorts with no constraining variable. That's also the flag we're going to use to identify when there's no point in displaying affecteds (because, with the monkeywrenching I'm looking at, it'd be identical to Total Individuals).
It's a little weirdish but it's doable.
The emergence of #265 has made it rather difficult for me to verify correctness of any work I try with the proc code changes mentioned above, but I suspect the proper approach is going to be "assume family_size
Will Be Correct and proceed anyways". But I'm going to sleep on that first before I decide it's the way to go.
Veronica's feedback has been largely positive (and touched mostly on things other than this redesign - see #269), so I'm calling this one done.
So there was a significant conversation about the Ascertain Pedigrees module; the big turning point for it lead to (and is documented in) #260. That issue, though, is about the Second Public Release; this is what we're doing for the initial release.
After some discussion as to timetables and feasibility, Veronica came up with this sketch of what we could do immediately, which seemed workable:
I expect to revise that text for the top of the page (it's a bit long) and also significantly revise the docs on Ascertain Pedigrees to match. But this absolutely should be doable in the time we have, and it gets us much closer to something ideal.