Menu

#3177 List of files for consultation attachment are not sorted in any user identifiable way

RELEASE_12_1
closed-duplicate
nobody
None
5
2014-12-03
2014-03-10
Hagir
No

When creating a consultation request, users complain that the list of documents to be attached are not ordered by any identifiable way (not name not observation date). The documents are currently sorted by the ID (i.e. the order they were added to the database). However, when archiving historical documents with old observation dates, the list gets very messy and hard to search.

Example:
Add the following documents in the patient chart:

1- "letter" at ID 1, observation_date=2014-03-01
2- "oldchart" at ID 2, observation_date=2014-03-02
3- "hospital report" at ID 3, observation_date=2013-12-01
4- "consult notes" at ID 4, observation_date=2014-03-03

Go create a consultation request and click "attach files"
This list shows as following:

consult notes .......2014-03-03
hospital report .......2013-12-01
oldchart .......2014-03-02
letter .......2014-03-01

Expected result: The attach-file list to be date sorted:
consult notes .......2014-03-03
oldchart .......2014-03-02
letter .......2014-03-01
hospital report .......2013-12-01

Relevant also to master and feb Alpha

1 Attachments

Discussion

  • Nick

    Nick - 2014-03-17
     
  • Nick

    Nick - 2014-03-17
    • assigned_to: Nick
     
  • Nick

    Nick - 2014-03-19
     
  • Nick

    Nick - 2014-03-19

    When creating a consultation request, users complains that the list of documents to be attached are not ordered by any identifiable way (not name not observation date). The list is currently populated as the following:

    1- First, all documents are listed in alphabetical order (attachConsult2.jsp:211 EDocUtil.SORT_DESCRIPTION).

    2- Then, the list of labs is populated and sorted by observation date(attachConsult2.jsp:214: Cllections.sort(labs)).

    When users are using the consultation, it gets confusing to see what appears to be the same list, sorted alphabetically at some side and date sorted in the remaining. This is specially confusing for users who don't know the difference between scanned labs and electronic labs.

    Example:

    Create a demographic: LARIVIERE, CYNTHIA DOB:1985-08-05, F, HIN:1453443317 BH
    Add the following documents in the patient chart (or from inbox):

    1- "letter", observation_date=2014-03-01
    2- "oldchart", observation_date=2014-03-02
    3- "hospital report" , observation_date=2013-12-01
    4- "consult notes", observation_date=2014-03-03

    5- Upload the attached 2 cml lab samples.

    Go eChart to create a consultation request and click "attach files"
    This list shows as following:

    consult notes... 02-Mar-2014
    hospital report... 01-Dec-2013
    letter... 01-Mar-2014
    oldchart... 02-Mar-2014
    HEMATOLOGY... 15-Mar-2014
    CHEMISTRY/R... 02-Oct-2009
    RIA/MICROBI... 01-Oct-2009

    Expected result: The attach-file list to be at least sorted (date sorted is best from users point of view):
    HEMATOLOGY... 15-Mar-2014
    consult notes... 02-Mar-2014
    oldchart... 02-Mar-2014
    letter... 01-Mar-2014
    hospital report... 01-Dec-2013
    CHEMISTRY/R... 02-Oct-2009
    RIA/MICROBI... 01-Oct-2009

    Relevant also to master and feb Alpha

     
  • SBek

    SBek - 2014-10-06
    • status: open --> open-accepted
    • assigned_to: Nick --> nobody
     
  • SBek

    SBek - 2014-12-03
    • status: open-accepted --> closed-duplicate
     
MongoDB Logo MongoDB