Retrieve Patient Query Results for a Query Identifier

get

/ohfapi/cg/v3.3/patientapi/patients/queries/{id}/data

This endpoint supports the retrieval of Patient Identifiers resulted as response to the Query.

Request

Supported Media Types
Path Parameters
Query Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : PatientId
Type: object
Show Source

400 Response

Invalid request parameters

404 Response

Query not found
Back to Top

Examples

The following example shows how to view patient IDs for a query by submitting a GET request.

API URL

http://localhost:7010/ohfapi/cg/v3.3/patientapi/patientsqueries/989/data

Example of Response Body

The following example shows the response returned in JSON format.

{
  "items": [
    {
      "patientId": 59518,
      "patientIdentifier": "OBFUSCATED_59518"
    },
    {
      "patientId": 59539,
      "patientIdentifier": "OBFUSCATED_59539"
    }
  ],
  "count": 2,
  "hasMore": false,
  "links": [
    {
      "rel": "self",
      "href": "http://localhost:7010/ohfapi/cg/v3.3/patientapi/patients/queries/989/data"
    }
  ]
}
Back to Top