medical_app (0.1.0)

Download OpenAPI specification:Download

Manage patient records for easier access to treatment history

Get all medics

query Parameters
offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 1 .. 50 ]
Default: 20

The numbers of items to return.

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": [
    ]
}

Create a new medic

Authorizations:
Bearer
Request Body schema: application/json
firstName
required
string
lastName
required
string
email
required
string
patientIds
Array of integers[ items [ 1 .. 2147483647 ] ]

Responses

Request samples

Content type
application/json
{
  • "firstName": "string",
  • "lastName": "string",
  • "email": "string",
  • "patientIds": [ ]
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": {
    }
}

Get a specific medic

path Parameters
medicId
required
integer (MedicId) [ 1 .. 2147483647 ]

The unique identifier of the medic

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": {
    }
}

Delete a specific medic

Authorizations:
Bearer
path Parameters
medicId
required
integer (MedicId) [ 1 .. 2147483647 ]

The unique identifier of the medic

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": 1
}

Update a specific medic

Authorizations:
Bearer
path Parameters
medicId
required
integer (MedicId) [ 1 .. 2147483647 ]

The unique identifier of the medic

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": {
    }
}

Get all patients of one medic

Authorizations:
Bearer
path Parameters
medicId
required
integer (MedicId) [ 1 .. 2147483647 ]

The unique identifier of the medic

query Parameters
offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 1 .. 50 ]
Default: 20

The numbers of items to return.

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": [
    ]
}

link a patient with a medic

Authorizations:
Bearer
path Parameters
medicId
required
integer (MedicId) [ 1 .. 2147483647 ]

The unique identifier of a medic

patientId
required
integer (PatientId) [ 1 .. 2147483647 ]

The unique identifier of a patient

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": {
    }
}

Create a new patient

Authorizations:
Bearer
Request Body schema: application/json
firstName
required
string
lastName
required
string
email
required
string
required
Array of objects (RecordArray)
medicIds
Array of integers[ items [ 1 .. 2147483647 ] ]

Responses

Request samples

Content type
application/json
{
  • "firstName": "string",
  • "lastName": "string",
  • "email": "string",
  • "records": [
    ],
  • "medicIds": [ ]
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": {
    }
}

Get specific patient

Authorizations:
Bearer
path Parameters
patientId
required
integer (PatientId) [ 1 .. 2147483647 ]

The unique identifier of a patient

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": {
    }
}

Delete a specific patient

Authorizations:
Bearer
path Parameters
patientId
required
integer (PatientId) [ 1 .. 2147483647 ]

The unique identifier of a patient

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": 1
}

Get all records of one patient

Authorizations:
Bearer
path Parameters
patientId
required
integer (PatientId) [ 1 .. 2147483647 ]

The unique identifier of the patient

query Parameters
offset
integer >= 0

The number of items to skip before starting to collect the result set.

limit
integer [ 1 .. 50 ]
Default: 20

The numbers of items to return.

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": [
    ]
}

Add new record to patient

Authorizations:
Bearer
path Parameters
patientId
required
integer (PatientId) [ 1 .. 2147483647 ]

The unique identifier of the patient

Request Body schema: application/json
title
required
string
description
required
string
dateDiagnosis
required
string <date>
dateSymptomOnset
required
string <date>
dateSymptomOffset
string <date>
patientId
required
integer (PatientId) [ 1 .. 2147483647 ]

The unique identifier of a patient

Responses

Request samples

Content type
application/json
{
  • "title": "string",
  • "description": "string",
  • "dateDiagnosis": "2019-08-24",
  • "dateSymptomOnset": "2019-08-24",
  • "dateSymptomOffset": "2019-08-24",
  • "patientId": 1
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": {
    }
}

Get specific record

Authorizations:
Bearer
path Parameters
patientId
required
integer (PatientId) [ 1 .. 2147483647 ]

The unique identifier of the patient

recordId
required
integer (RecordId) [ 1 .. 2147483647 ]

The unique identifier of the record

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": {
    }
}

Delete a specific record

Authorizations:
Bearer
path Parameters
patientId
required
integer (PatientId) [ 1 .. 2147483647 ]

The unique identifier of the patient

recordId
required
integer (RecordId) [ 1 .. 2147483647 ]

The unique identifier of the record

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "data": 1
}