GET Buscar Exames do Paciente
Retorna a lista de pedidos de exames de um paciente pelo ID interno, com paginação por cursor.
Autenticação necessária
Esta rota requer o header Authorization: Bearer {accessToken}
Obtendo o ID do paciente
O patientId é retornado pelo endpoint Buscar ID do Paciente no campo id.
Endpoint
GET https://api-dev.imagemais.com.br/api/results/patient/{patientId}/exams
Parâmetros de Rota
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
patientId | number | ✅ | ID interno do paciente |
Parâmetros de Query
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
limit | number | ❌ | Quantidade de itens por página |
cursor | string | ❌ | Cursor para a próxima página (retornado em pagination.nextCursor) |
Requisição
curl -X 'GET' \
'https://api-dev.imagemais.com.br/api/results/patient/{patientId}/exams?limit=50' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {accessToken}'
Respostas
200 Sucesso
{
"data": [
{
"uuid": "39fa770d-cdd3-4fcc-9580-a8a2a34308c7",
"prefix": "IMGM",
"orderId": 9301,
"createdAt": "2026-05-18T12:01:36.503Z",
"procedureSupplier": [
{
"id": 2393,
"code": "PARA3",
"procedure": {
"id": 2393,
"name": "PARASITOLOGICO - 3A AMOSTRA"
}
}
],
"order": {
"id": 9301,
"createdAt": "2026-05-18T12:01:36.503Z",
"status": {
"name": "COMPLETED"
},
"resultsIntegration": {
"uuid": "<integrationUuid>",
"status": {
"name": "RELEASE"
}
},
"reports": []
}
}
],
"pagination": {
"nextCursor": null
}
}
200 Com laudos (reports)
Quando o pedido possui laudos gerados, o campo reports é preenchido com os dados de cada laudo.
{
"data": [
{
"uuid": "7276a513-0a39-45e2-a0dd-f5691a930fcd",
"prefix": "IMGM",
"orderId": 9243,
"createdAt": "2026-05-16T10:38:27.517Z",
"procedureSupplier": [
{
"id": 1702,
"code": "GLI",
"procedure": {
"id": 1702,
"name": "GLICOSE JEJUM"
}
}
],
"order": {
"id": 9243,
"createdAt": "2026-05-16T10:38:27.517Z",
"status": {
"name": "COMPLETED"
},
"resultsIntegration": {
"uuid": "<integrationUuid>",
"status": {
"name": "RELEASE"
}
},
"reports": [
{
"uuid": "<reportUuid>",
"orderUlid": "<orderUlid>",
"procedureId": 1702,
"createUserId": 45,
"statusId": 2,
"createdAt": "2026-05-17T08:22:10.000Z",
"updatedAt": "2026-05-17T08:22:10.000Z",
"procedure": {
"id": 1702,
"name": "GLICOSE JEJUM"
},
"status": {
"id": 2,
"name": "SIGNED"
}
}
]
}
}
],
"pagination": {
"nextCursor": null
}
}
200 Paciente sem exames ou ID inexistente
{
"data": [],
"pagination": {
"nextCursor": null
}
}