Problems

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 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.

Patient Get /ws/problems/ Return Fields

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 String Problem's symptoms' beginning date as a string, formatted as YYYY-MM-DD 00:00:00.000
opened_date String 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 alert
category_user_id Integer User's ID number who created the alert
closed_date String 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

Patient Problem Post Fields

Field Datatype Required for Post Notes
problem_list_id Integer Y The category number correlating to the problem type.
subtype String Y String identifying the subtype of the problem.
date_onset DateTime Y Date the problem began for the patient. Formatted in ISO8601 format.
chronic Boolean Y Flag indicating whether the problem is chronic or not, 1 for yes, 0 for no.
facility Integer Y Facility number where the patient problem is happening.
facility_created Integer Y Facility number where the patient problem was created.
deleted Boolean Y Flag indicating whether the problem has been deleted, 1 for yes, 0 for no.
deleted Boolean Y Flag indicating whether the problem has been deleted, 1 for yes, 0 for no.
open Boolean Y Flag indicating whether the problem is currently open, 1 for yes, 0 for no.
date_closed DateTime Date the problem was closed for the patient. Formatted in ISO8601 format.
severity Integer Integer representing the severity of the problem, scaled from 0 to 100.
inflammation Integer Integer representing the severity of inflammation within the problem, scaled from 0 to 100.
facility_completed Integer Facility number where the patient problem was completed.