ЕСОЗ - публічна документація
[AUTO] terminate declaration FE
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
UI Design
Files Upload
Files List
Files entries List
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)
- inserted_at_from
- inserted_at_to
Grid with fields:
id | file_name | inserted_date | status | person_type | 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 "person_type" (enum: patient, employee)
- 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)
- inserted_at_from
- inserted_at_to
- type (document_type)
- number (document_number)
Grid with fields:
id | register_id | file_name | type | status | document type & document number | inserted_date |
---|
ЕСОЗ - публічна документація