Purpose
NHS admin via portal must be able to upload file with register and system will automatically terminate declaration if the person from the document was matched
Design
Files List
New page must be added to NHS admin panel.
On that page there is a history of all uploaded files with statistics
apiary: Get Registers list
Available filters (all optional):
- id
- status
- file_name
- type (dictionary REGISTER_TYPE)
- date_from
- date_to
Grid with fields:
id | file_name | inserted_date | status | type | qty | errors | details |
---|
Details call a web service: register_entires?register_id=$id
Uploading File
NHS admin upload files with 2 fields: document_type and document_number.
On the page must be:
- field with drop-down list "type" (dictionary: 'REGISTER_TYPE')
- field with reason_description
- button 'upload file'
After the file was upload show the name of file next to it and message 'File was added'
apiary: Post Registers
Files Entries (details)
New page must be added to NHS admin panel.
On that page there is a history of each entry of all uploaded files with statistics
apiary: Get Register entries list
Available filters (all optional):
- id
- register_id
- status (processing, matched, not_matched)
- file_name
- type
- date_from
- date_to
- document_type
- document_number
Grid with fields:
id | register_id | file_name | type | status | document type & document number | inserted_date |
---|