Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-771

Patient search fails when a result patient is missing preferred identifier

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • TBD
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Undetermined

    Description

      Calls to the REST API patient search endpoint which would return a patient that is missing a preferred identifier produce this server error: https://pastebin.com/sXdS82xL

      Mitigation is to use a custom representation that excludes the preferred identifier.

      The REST API shouldn't fail in this circumstance. We should discuss what it should do in the comments.

      Suggestion, to begin: The server should log an ERROR and return the result list, excluding the patients with missing preferred identifiers.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                bistenes Brandon Istenes
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: