Problems

Minimum CorEMR Version: 5.4.2

Actions

ActionREST VerbDescription
ReadGET
/ws/problems/
Gets list of active problems currently in system. Filters can be applied, as explained below.
ReadGET
/ws/patients/{external_id}/problems/
Gets list of active problems on existing patient. Filters can be applied, as explained below.
AddPOST
/ws/patients/{external_id}/problems/
Creates a new problem on existing patient.
ReadGET
/ws/patients/{external_id}/problems/{problem_id}
Gets an existing problem on existing patient.
UpdatePUT
/ws/patients/{external_id}/problems/{problem_id}
Updates an existing problem on existing patient.

Fields

Either title or icd10cm may be sent to add or update the problem.

FieldDatatypeAddReadNotes
idIntegerYUnique problem record identifier.
external_idString(17)YUnique patient identifier.
titleStringYRead-only if icd10cm is set.
subtypeString
icd10cmString(20)YIf specified and valid, will be used for the problem title.
severityInteger
inflammationInteger
chronicBool
onset_dateDatetime
opened_dateDatetimeY
opened_userStringYAvailable only in 5.5.11 or higher.
opened_user_idIntegerY
closed_dateDatetimeNULL unless removed.
closed_userStringYAvailable only in 5.5.11 or higher. NULL unless removed.
closed_user_idIntegerYNULL unless removed.

Filters

FilterDescription
categoriesComma seperated list of problem titles.
icd10sComma seperated list of ICD10 codes.
sinceDate or Datetime to indicate a point to read problems from. Capped at one month in the past.
include_closedIncludes problems closed in the last 4 hours.

Closing

Updating an existing problem with a closed_date will close the problem.