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

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 8 Next »

Apiary WS link

public.li.create-declaration-request

Atttributes+Responses request notes

Atttributes

  • period_type 
  • person_id 
  • division_id 
  • employee_id 
  • age_type 
  • innm_id 
  • innm_route

  • innm_dosage

  • innm_dose_qty

  • number 

  • innm_dosage_instuction

Responses 

  • medication_request
  • status

Validate request (JSON chema)

Validate request using JSON schema (link)

Authorize

  1. Verify the validity of access token
  2. Check user scope medication_request:create (!!! TBD) in order to perform this action

Validate active declaration

  1. Get active declaration by person. if not found - return 409 error

Validate crossing with other medication requests 

  1. Get medication requests at status (!!! TBD) by person any crossing with term in payload + innm.  if not found - return 409 error



  • No labels