Upload Power of Attorney or Medical Document
The document upload flow allows an Organization Administrator to select a file from their device or capture a scan of a paper document using the camera. The upload widget validates file type (PDF, JPEG, PNG) and size before submission, shows upload progress, and requires the user to specify the document type, associated person, and optional expiry date. On completion, the document is encrypted at rest in secure storage and the metadata is persisted to the database with an initial status of 'uploaded — pending review'.
User Story
Acceptance Criteria
- Given the user opens the upload flow, when they select a file or capture an image, then the system validates the file format and size before proceeding
- Given a valid file is selected, when the user submits the upload form with document type and associated peer mentor or beneficiary, then the file is encrypted and stored securely and a success confirmation is shown
- Given the upload is in progress, when a network interruption occurs, then the upload resumes or the user is given a clear retry option without data loss
- Given the document is uploaded, when the user views the document list, then the new document appears with status 'uploaded — pending review' and the metadata entered during upload
- Given the user uploads a document that is a physical scan, when the document is saved, then the system stores the original file without modification and associates it with the manual fallback workflow context
Business Value
Uploading documents is the core digitization action that transitions the organization from a paper-based process to a secure digital one. For Blindeforbundet, whose peer mentors handle sensitive health information about beneficiaries, replacing unsecured paper files with encrypted digital storage directly reduces the risk of unauthorized disclosure and lost documentation — both significant legal liabilities.
Components
- Document Upload Widget ui
- Document Management Screen ui
- POA Service service
- Document Repository data
- Secure Document Storage infrastructure