ЕСОЗ - публічна документація

[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

apiaryGet Registers list

Available filters (all optional):

  • id
  • status
  • file_name
  • type (dictionary REGISTER_TYPE)
  • inserted_at_from
  • inserted_at_to

Grid with fields:

idfile_nameinserted_datestatusperson_typetypeqtyerrorsdetails

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

apiaryGet 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:

idregister_idfile_nametypestatusdocument type & document numberinserted_date

ЕСОЗ - публічна документація