4 posts were split to a new topic: Attachments: REST end point for file upload should allow to specify encounter (ATT-27)