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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

apiaryGet Registers list

Available filters (all optional):

  • id
  • status
  • file_name
  • type (dictionary REGISTER_TYPE)
  • date_from
  • date_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)
  • file_name
  • type
  • date_from
  • date_to
  • document_type
  • document_number

Grid with fields:

idregister_idfile_nametypestatusdocument type & document numberinserted_date
  • No labels