Uploaded image for project: 'Android Client'
  1. Android Client
  2. AC-52

As a user i want to be able to end visit.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Labels:
    • Complexity:
      Medium
    • Sprint:
      AC Sprint 7

      Description

      Resources

      dialog.message - 'Are you sure you want to end this visit ?'
      dialog.ok button - 'Yes'
      dialog.cancel button - 'No'

      address : ws/rest/v1/visit/

      {visit uuid}

      request : Content-Type application/json
      request : body

      { "stopDatetime": "2014-11-02T11:34:29.000+0000" }
      TODO
      1. Add context menu item, End Visit, for Visit Dashboard
      2. Add end visit functionality
      End visit case 1
      1. select visit from active visits list
      2. click in context menu icon (3 dots icon)
      3. menu expands and contains End Visit item
      4. dialog appears
      CASE 1A
      1. user clicks yes button
      2. dialog has been dismissed
      3. user is moved to Patient Dashboard
      4. in Visit Tab ended visit is displayed as past visit
      5. visit is no longer available in Active Visits view
      CASE 1B
      1. user clicks no button
      2. dialog has been dismissed
      3. user sees Visit Dashboard

        Attachments

          Activity

            People

            Assignee:
            ehaligowska Emilia Haligowska
            Reporter:
            kkalfas Kamil Kalfas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Time Spent - 2 days, 7 hours Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - 2 days, 7 hours Remaining Estimate - 1 hour
                2d 7h