-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdataanalysis.yaml
60 lines (60 loc) · 1.67 KB
/
dataanalysis.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
openapi: 3.0.3
info:
title: Healthcare Insights API
description: API for accessing healthcare insights services from Data Analysis AB Sweden.
version: 1.0.0
contact:
name: Data Analysis AB Sweden
email: [email protected]
servers:
- url: https://api.dataanalysis.se/v1
description: Production server
- url: https://sandbox.api.dataanalysis.se/v1
description: Sandbox server
paths:
/insights:
post:
summary: Retrieve insights from aggregated data sources
description: Retrieve healthcare insights based on patient data obtained from multiple aggregated data sources.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InsightsRequest'
responses:
'200':
description: Retrieved healthcare insights from multiple data sources.
content:
application/json:
schema:
$ref: '#/components/schemas/InsightsResponse'
components:
schemas:
InsightsRequest:
type: object
properties:
patientId:
type: string
example: "12345"
data:
type: object
additionalProperties:
type: string
example:
bloodPressure: "120/80"
cholesterol: "200"
InsightsResponse:
type: object
properties:
patientId:
type: string
example: "12345"
insights:
type: array
items:
type: string
example: "Risk of cardiovascular disease: Low"
tags:
- name: Insights
description: Operations related to healthcare insights