Table of Contents |
---|
...
Verify the validity of access token
Return 401 in case validation fails
Check user scopes in order to perform this action (scope = 'preperson:writecreate')
Return 403 in case invalid scope(s)
...
Check external_id is not empty.
Check external_id is unique ? (unique within le?)
Save object to Mongo DB
Insert patient and set of submitted medical events
...