Uploaded image for project: 'Attachments Module'
  1. Attachments Module
  2. ATT-27

REST end point for file upload should allow to specify encounter

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Labels:
    • Complexity:
      M

      Description

      When uploading an attachment it is currently only possible to either

      • link it to a visit ;
      • make it encounterless (visit param is left null).
        See here.

      The purpose of this ticket is to ensure that it would be possible to specify an encounter parameter to choose which encounter to hook the attachment to.

      If both the visit and encounter parameter are provided together then an IllegalRequestException should be thrown if the encounter does not belong to the visit.

        Gliffy Diagrams

          Attachments

            Issue Links

              Attachments-Category-Modification

                Activity

                  People

                  • Assignee:
                    ridmal ridmal liyanagamage
                    Reporter:
                    mksd Dimitri R
                    Designated Committer:
                    Dimitri R
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    1 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: