This resource allows for the management of clinical quality measures in the popHealth application.

Supported Formats

json

GET /api/admin/patients/count
Get count of patients in the database

Supported Formats

json

Examples

{"patient_count":56}

POST /api/admin/patients
Upload a zip file of patients.

Supported Formats

json

Params

Param name Description
practice_id
optional

ID for the patient's Practice

Validations:

  • Must be a String

practice_name
optional

Name for the patient's Practice

Validations:

  • Must be a String


DELETE /api/admin/patients/deletePatientsFromPractice
Delete all the patients from a practice (practice_id)

Supported Formats

json

Params

Param name Description
practice_id
required

Practice ID

Validations:

  • Must be a String


DELETE /api/admin/patients
Delete all patients in the database.

Supported Formats

json

PUT /api/patient
Load a single patient XML file into popHealth

Upload a single XML file for a patient into popHealth.

Supported Formats

xml

Params

Param name Description
practice_id
optional

ID for the patient's Practice

Validations:

  • Must be a String

practice_name
optional

Name for the patient's Practice

Validations:

  • Must be a String