Table of Contents

...

Input parameter

Values

Type

Description

Example

patient_id

 

String

Unique patient identifier

7075e0e2-6b57-47fd-aff7-324806efa7e5

id

 

String

Unique specimen identifier

aff00bf6-68bf-4b49-b66d-f031d48922b3

 

Dictionaries

specimen_cancel_reasons

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

  • Access denied. Party is deceased

  • Your scope does not allow to access this resource. Missing allowances: specimen:cancel

     

    403

    Access denied. Party is not verified

     

    403

    Access denied. Party is deceased

     

    404

    not found

     

    409

    Does not match the signer drfo

     

    409

    client_id refers to legal entity that is not active

     

    409

    User is not allowed to perform actions with an enity that belongs to another legal entity

     

    409

    Employee is not the one who registered the specimen, doesn't have an approval or required employee type

     

    409

    Specimen in status <status> cannot be cancelled

    '

     

    422

    Invalid signed content

     

    422

    value is not allowed in enum

     

    422

    Signed content doesn't match with previously created specimen