Формат данных
Формат данных, которые получены после расшифровки, версия 1.0 (пример):
{
"id": 27376,
"datetime": "2021-05-21T12:08:35+0000",
"result_datetime": "2021-05-21T12:12:58+0000",
"sys": 120,
"dia": 80,
"pulse": 60,
"alco": 0,
"spo2": null,
"temperature": 366,
"video_alco": "https://...",
"video_nibp": "https://...",
"video_temperature": "https://...",
"video_spo2": null,
"photo": "https://...",
"checkup_type": "3",
"complaints": "",
"device": "Strazch STZ1001",
"result": "1",
"note": "",
"document": "https://...",
"sign": null,
"pat_fname": "Ivanov",
"pat_sname": "Ivan",
"pat_lname": "Ivanovich",
"pat_tabnum": "001",
"doc_fname": "Petrov",
"doc_sname": "Petr",
"doc_lname": "Petrovich"
}
Ключи и типы данных:
| Key | Value type | Description |
| ----------------- | ----------- | -------------------------------- |
| id | int ||
| datetime | string | Format YYYY-MM-DDThh:mm:ss±hh:mm |
| result_datetime | string | Format YYYY-MM-DDThh:mm:ss±hh:mm |
| sys | int? ||
| dia | int? ||
| pulse | int? ||
| alco | int? ||
| spo2 | int? ||
| temperature | int? ||
| video_alco | url string? | Url with 10 minutes expiry time |
| video_nibp | url string? | Url with 10 minutes expiry time |
| video_temperature | url string? | Url with 10 minutes expiry time |
| video_spo2 | url string? | Url with 10 minutes expiry time |
| photo | url string? | Url with 10 minutes expiry time |
| checkup_type | string ||
| complaints | string ||
| device | string ||
| result | string ||
| note | string? ||
| document | url string? | Url with 10 minutes expiry time |
| sign | url string? | Url with 10 minutes expiry time |
| pat_fname | string ||
| pat_sname | string ||
| pat_lname | string? ||
| pat_tabnum | string ||
| doc_fname | string ||
| doc_sname | string ||
| doc_lname | string? ||
- id — unique checkup identifier;
- datetime — checkup date and time;
- result_datetime — checkup result date and time;
- sys — patient's systolic pressure, [mm Hg];
- dia — patient's diastolic pressure, [mm Hg];
- pulse — patient's pulse, [BPM];
- aclo — patient's breath alcohol concentration, [mg/l] x1000;
- spo2 — patient's oxygen saturation, [%];
- temperature — patient's body temperature, [°C];
- video_alco, video_nibp, video_temperature and video_spo2 — urls of checkup videos (available only for 10 minutes!);
- photo — url of checkup photo (available only for 10 minutes!);
- checkup_type — checkup type;
| Value | Checkup Type |
| ----- | ------------ |
| 1 | Pre-Trip |
| 2 | In-Trip |
| 3 | Post-Trip |
| 4 | Pre-Shift |
| 5 | In-Shift |
| 6 | Post-Shift |
| 7 | Custom |
- complaints — patient's complaints, i.e. "1 3 4" – means that patient has headache, backache and toothache simultaneously;
| Value | Complaint Type |
| ----- | -------------- |
| 1 | Headache |
| 2 | Stomach-ache |
| 3 | Backache |
| 4 | Toothache |
| 5 | Other |
- device — device type and serial number;
- result — checkup result (1 – passed, 0 – failed);
- note — medical report based on the following checkup;
- document — url of checkup protocol (available only for 10 minutes!);
- sign — url of checkup protocol sign (available only for 10 minutes!);
- pat_fname — patient's family name;
- pat_sname — patient's first name;
- pat_lname — patient's patronymic;
- pat_tabnum — patient's unique identifier (personal number);
- doc_fname — doctor's family name;
- doc_sname — doctor's first name;
- doc_lname — doctor's patronymic.
Version 2.0 - strictly JSON
{ "id": 31095, "datetime": "2023-10-24T21:56:14+0200", "result_datetime": "2023-10-24T22:15:31+0200", "sys": 120, "dia": 80, "pulse": 60, "alco": 0, "spo2": null, "temperature": 366, "video_alco": "https://...", "video_nibp": "https://...", "video_temperature": "https://...", "video_spo2": null, "photo": "https://...", "checkup_type": "1", "complaints": "", "device": "Strazch STZ1001", "result": "1", "note": "", "document": "https://...", "sign": null, "pat_fname": "Ivanov", "pat_sname": "Ivan", "pat_lname": "Ivanovich", "pat_tabnum": "001", "pat_birth": "1990-01-01", "pat_snils": null, "pat_sex": "m", "org_uuid": "8d638991-9e46-47d8-839e-dfdc2e612cbe", "org_name": "Test org", "branch_uuid": "8d638991-9e46-47d8-839e-dfdc2e612cbf", "branch_name": "Test branch", "hp": { "sys_min": 90, "sys_max": 140, "dia_min": 60, "dia_max": 90, "pulse_min": 60, "pulse_max": 100, "alco_level": 0 }, "doc_fname": "Petrov", "doc_sname": "Petr", "doc_lname": "Petrovich" }
Keys and value types
| Key | Value type | Description | | ----------------- | ----------- | -------------------------------- | | id | int || | datetime | string | Format YYYY-MM-DDThh:mm:ss±hh:mm | | result_datetime | string | Format YYYY-MM-DDThh:mm:ss±hh:mm | | sys | int? || | dia | int? || | pulse | int? || | alco | int? || | spo2 | int? || | temperature | int? || | video_alco | url string? | Url with 10 minutes expiry time | | video_nibp | url string? | Url with 10 minutes expiry time | | video_temperature | url string? | Url with 10 minutes expiry time | | video_spo2 | url string? | Url with 10 minutes expiry time | | photo | url string? | Url with 10 minutes expiry time | | checkup_type | string || | complaints | string || | device | string || | result | string || | note | string? || | document | url string? | Url with 10 minutes expiry time | | sign | url string? | Url with 10 minutes expiry time | | pat_fname | string || | pat_sname | string || | pat_lname | string? || | pat_tabnum | string || | pat_birth | string | Format YYYY-MM-DD | | pat_snils | string? || | pat_sex | string | "m" or "f" | | org_uuid | string || | org_name | string || | branch_uuid | string? || | branch_name | string? || | hp | JSON? || | doc_fname | string || | doc_sname | string || | doc_lname | string? ||
- id — unique checkup identifier;
- datetime — checkup date and time;
- result_datetime — checkup result date and time;
- sys — patient's systolic pressure, [mm Hg];
- dia — patient's diastolic pressure, [mm Hg];
- pulse — patient's pulse, [BPM];
- aclo — patient's breath alcohol concentration, [mg/l] x1000;
- spo2 — patient's oxygen saturation, [%];
- temperature — patient's body temperature, [°C] x10;
- video_alco, video_nibp, video_temperature and video_spo2 — urls of checkup videos (available only for 10 minutes!);
- photo — url of checkup photo (available only for 10 minutes!);
- checkup_type — checkup type;
| Value | Checkup Type | | ----- | ------------ | | 1 | Pre-Trip | | 2 | In-Trip | | 3 | Post-Trip | | 4 | Pre-Shift | | 5 | In-Shift | | 6 | Post-Shift | | 7 | Custom |
- complaints — patient's complaints, i.e. "1 3 4" – means that patient has headache, backache and toothache simultaneously;
| Value | Complaint Type | | ----- | -------------- | | 1 | Headache | | 2 | Stomach-ache | | 3 | Backache | | 4 | Toothache | | 5 | Other |
- device — device type and serial number;
- result — checkup result (0 – failed, 1 – passed);
- note — medical report based on the following checkup;
- document — url of checkup protocol (available only for 10 minutes!);
- sign — url of checkup protocol sign (available only for 10 minutes!);
- pat_fname — patient's family name;
- pat_sname — patient's first name;
- pat_lname — patient's patronymic;
- pat_tabnum — patient's unique identifier (personal number);
- pat_birth — patient's birthdate;
- pat_snils — patient's snils;
- pat_sex — patient's sex;
- org_uuid — patient's headquarter's identifier;
- org_name — patient's headquarter's name;
- branch_uuid — patient's branch organisation identifier;
- branch_name — patient's branch organisation name;
- hp — checkup's health parameters' ranges and levels;
- doc_fname — doctor's family name;
- doc_sname — doctor's first name;
- doc_lname — doctor's patronymic.