Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

Page Properties
idAPI_Specification

Link

https://ehealthmedicaleventsapi.docs.apiary.io/#reference

Resource

/api/patients/{{patient_id}}/clinical_impressions

Scope

clinical_impression:read

Components

Microservices

Protocol type

REST

Request type

GET

Sync/Async

Async

Public/Private/Internal

Public

...

Access to the resource is also managed by ABAC module

Headers

Наприклад:

  • Content-Type:application/json

  • Authorization:Bearer mF_9.B5f-4.1JqM{{access_token}}

  • API-key:{{secret}}

Request data validation

...

Validate Patient

  • Get Patient identifier from the URL

  • Check it exists in DB

    • Return 404 ('not found') in case of error

...

Page Properties
idAPI_HTTP status codes

HTTP status code

Message

What caused the error

 200

 

 

401

 

Access token validation failed

403

 

Invalid scope

404

 not found