...
This WS allows to get Specimen without patient context by its accession identifier.
Specification
Link | |
Resource | /api/specimens/accession_identifier |
Scope | specimen:read |
Components | Specimen |
Microservices |
|
Protocol type | REST |
Request type | GET |
Sync/Async | Async |
Public/Private/Internal | Public |
Key points
Returns a single Specimen that has a specified accession_identifier
ABAC isn’t used here
...
Get Specimen by ID from specimens collection (MongoDB)
Enrich
identity
object in the response with person’s age and gender, but w/o patient’s nameRender a response according to specification.
Filters
Filter | Values | Type | Description | Example |
---|---|---|---|---|
accession_identifier |
| String | human readable Specimen number | 1234-3224-2342-1233 |
Request structure
See on Apiary
...
See on Apiary
HTTP status codes
HTTP status code | Message | What caused the error |
---|---|---|
200 |
|
|
401 | Invalid access token |
|
403 | Your scope does not allow to access this resource. Missing allowances: specimen:read |
|