Table of Contents |
---|
...
This WS allows getting details about an unidentified person from eHealth.
Specification
Page Properties | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||
|
Logic
Only authenticated and authorized SPECIALIST, ASSISTANT, RECEPTIONIST employees can get preperson.
Preperson could be got only in OUTPATIENT or EMERGENCY legal entity type, if identifier of preperson is being known (returns after Create preperson).
Only preperson’s table fields can be recieved.
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
id | String | MPI identifier of the preperson. Required | 7c3da506-804d-4550-8993-bf17f9ee0402 |
Dictionaries
GENDER
PHONE_TYPE
Request structure
API paragraph not foundSee on Apiary
Authorize
Verify the validity of access token
Returnreturn 401 in case validation fails
Check user scopes in order to perform this action (scope = 'preperson:read')
Returnreturn 403 in case invalid scope(s)
Headers
...
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9{{access_token}}
api-key:uXhEczJ56adsfh3Ri9SUkc4en{{secret}}
Request data validation
Validate preperson_id
Check preperson_id exists
In case error - return 404
Processing
Prepare response
Render response.
Response structure
See on Apiary
...
Page Properties | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
|