Closed BethSundberg closed 1 year ago
List of Bug/enhancement found
Re: age range bug 2 - Yes, I totally agree. The start must not be after the end, and I would argue that not even at the end (use Age instead). However, the implementation must take into account several issues. Suppose an element from the set {'P29D', 'P30D', 'P31D'}
and P1M
. Which one is greater? It depends how many days there are in a month. We may need to agree upon some heuristics.
Re: max survival time - the number of days can be complicated. The users may not have the right number all the time, e.g. for survival of 5 years 3 months and 2 days. The issue is similar to the one above - how many days are there in a month? The survival time in days can be calculated using a difference of two local dates with the first being the date of diagnosis and the second the time of death. You would need to add a small widget that has two tiny calendars, where the user selects the local dates in a similar way we search for flights (see below). Otherwise, I do not see how this can be done..
One thing is that if somebody needs to use AgeRange it is because they need to preserve privacy. Therefore, they will not be using a Web-based app. Given the amount of other things we need to do, I think we should remove the AgeRange option from the App for now because I do not think anybody will use it in this setting!
When entering individual information in create a phenopacket step1, the following bugs/issues/suggestions were found. See the list in the attached word document.
Phenopacket new issue suggestions June 2023.docx