Problems (v2)
Minimum CorEMR Version: 6.2.0
This webservice allows clients to manage patient information inside the CorEMR system. It can be used to retrieve and edit patient problems, as well as all of their applicable fields and data.
Problem Endpoints
Action | REST Verb | Route | Description |
---|---|---|---|
Read | GET | /ws/problems/ |
Gets list of all patient problems currently in the system. |
Read | GET | /ws/patients/{external_id}/problems/ |
Get all problems on the specific patient with the given external_id |
Read | GET | /ws/patients/{external_id}/problems/{problem_id} |
Get a specific problem with the given problem_id on the patient with the given external_id |
Create | POST | /ws/patients/{external_id}/problems/ |
Create a new problem on the patient with the given external_id. |
Update | POST | /ws/patients/{external_id}/problems/{problem_id} |
Update an existing patient problem. |
GET Return Fields
/ws/problems/
Return Field | Datatype | Note |
---|---|---|
id | Integer | Unique problem identifier. |
external_id | String | Unique patient identifier correlating to the patient this problem is assigned to. |
title | String | Title of the problem. |
icd10cm | String | Disease classification. |
subtype | String | Custom entered problem subtype. |
severity | Integer | Integer indicating the severity of the problem. |
Inflamation | Integer | Integer indicating the severity of inflammation. |
chronic | Integer | Boolean indicating whether the problem is chronic or not. 0 for false, 1 for true. |
onset_date | DateTime | Problem's symptoms' beginning date as a string, formatted as YYYY-MM-DD 00:00:00.000 |
opened_date | DateTime | Problem's creation date as a string, formatted as YYYY-MM-DD 00:00:00.000 |
created_user | String | User's name who created the problem |
created_user_id | Integer | User's ID number who created the problem |
closed_date | DateTime | Problems's closure date as a string, formatted as YYYY-MM-DD 00:00:00.000 |
closed_user | String | User's name who closed the problem |
closed_user_id | Integer | User's ID number who closed the problem |
POST Fields
Field | Datatype | Required | Notes |
---|---|---|---|
problem_list_id | Integer | The category number correlating to the problem type. | |
date_onset | DateTime | Date the problem began for the patient. Formatted in ISO8601 format. | |
subtype | String | String identifying the subtype of the problem. | |
chronic | Boolean | Flag indicating whether the problem is chronic or not, 1 for yes, 0 for no. | |
facility | Integer | Facility number where the patient problem is happening. | |
facility_created | Integer | Facility number where the patient problem was created. | |
deleted | Boolean | Flag indicating whether the problem has been deleted, 1 for yes, 0 for no. | |
open | Boolean | Flag indicating whether the problem is currently open, 1 for yes, 0 for no. | |
date_closed | DateTime | O | Date the problem was closed for the patient. Formatted in ISO8601 format. |
severity | Integer | O | Integer representing the severity of the problem, scaled from 0 to 100. |
inflammation | Integer | O | Integer representing the severity of inflammation within the problem, scaled from 0 to 100. |
facility_completed | Integer | O | Facility number where the patient problem was completed. |