HumanTrackDevelopers
Referência da APIAplicações

Listar aplicações do paciente para um instrumento

GET/professionals/{professionalId}/patients/{patientId}/forms/{formId}/applications

Lista as aplicações de um instrumento para um paciente, com filtros, ordenação e paginação.

Autorização

ApiKey ApiSecret
X-Api-Key<token>

API Key do parceiro. Deve ser enviada junto com X-Api-Secret.

Em: header

X-Api-Secret<token>

API Secret do parceiro. Deve ser enviada junto com X-Api-Key.

Em: header

Parâmetros de path

professionalId*string

ID do profissional na HumanTrack (humanTrackId).

Formatouuid
patientId*string

ID do paciente na HumanTrack (humanTrackId).

Formatouuid
formId*string

ID do instrumento.

Formatouuid

Parâmetros de query

status?string

Status de aplicação separados por vírgula, por exemplo IN_PROGRESS,FINISHED.

recurrenceCycle?string

Ciclos de recorrência separados por vírgula, por exemplo DAILY,WEEKLY.

startDate?string

Data e hora inicial do filtro (RFC 3339).

Formatodate-time
endDate?string

Data e hora final do filtro (RFC 3339).

Formatodate-time
orderBy?string

Campo de ordenação.

Padrão"created_at"

Valores aceitos

  • "created_at"
  • "next_answer_at"
  • "started_at"
  • "updated_at"
orderDirection?string

Direção da ordenação.

Padrão"DESC"

Valores aceitos

  • "ASC"
  • "DESC"
limit?integer

Número máximo de resultados. Sem o parâmetro, não há limite.

Intervalo0 <= value
offset?integer

Quantidade de resultados a pular.

Intervalo0 <= value
Padrão0

Corpo da resposta

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/professionals/3f7c1a54-6b2e-4a1d-8f0c-2b5e9d3a7c11/patients/9d2e4b70-1c3a-4f6e-9b8d-5a7c0e2f4d33/forms/b1e7d9c2-4f3a-4d8e-9c1b-7a2e5f0d6c88/applications?status=IN_PROGRESS%2CFINISHED&recurrenceCycle=WEEKLY%2CMONTHLY&startDate=2026-01-01T00%3A00%3A00Z&endDate=2026-03-31T23%3A59%3A59Z"
[  {    "allowPatientAnnotation": true,    "answerToken": "string",    "authorId": "ee6f7132-bd0a-4fcd-83b3-a8022377067b",    "createdAt": "2019-08-24T14:15:22Z",    "formTemplate": {      "shortTitle": "string",      "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d",      "title": "string"    },    "formTemplateId": "f62b9cf2-5cec-4a00-b364-0e5e6e71cce0",    "hideFormTemplateTitle": true,    "id": 0,    "lastSubmission": {      "completedFillAt": "2019-08-24T14:15:22Z",      "id": 0,      "score": 0    },    "nextAnswerAt": "2019-08-24T14:15:22Z",    "notifyEmail": true,    "notifyWhatsApp": true,    "openToAnswer": true,    "patientId": "460a6d87-689c-4661-a526-a52450bbe2d7",    "recurrenceCycle": "NOW",    "showFormGraphToPatient": true,    "startedAt": "2019-08-24T14:15:22Z",    "status": "CREATED",    "submissions": [      {        "answers": [          {            "createdAt": "2019-08-24T14:15:22Z",            "customValue": "string",            "formSubmissionId": 0,            "id": 0,            "question": {              "centerEmoji": "string",              "centerLabel": "string",              "formSubScaleId": 0,              "leftEmoji": "string",              "leftLabel": "string",              "pointAnchors": [                {                  "emoji": "string",                  "label": "string",                  "value": 0                }              ],              "position": 0,              "questionOptions": [                {                  "createdAt": "2019-08-24T14:15:22Z",                  "emoji": "string",                  "id": 0,                  "isOther": true,                  "position": 0,                  "updatedAt": "2019-08-24T14:15:22Z",                  "value": "string",                  "weight": 0                }              ],              "questionType": "MULTIPLE_CHOICE",              "rightEmoji": "string",              "rightLabel": "string",              "scaleEnd": 0,              "scaleStart": 0,              "scaleStep": 0,              "title": "string"            },            "questionId": 0,            "riskFlag": {              "flagType": "SUICIDE_SELF_HARM",              "severity": "LOW"            },            "updatedAt": "2019-08-24T14:15:22Z",            "value": "string",            "values": [              "string"            ],            "weight": 0          }        ],        "completedFillAt": "2019-08-24T14:15:22Z",        "createdAt": "2019-08-24T14:15:22Z",        "deadline": "2019-08-24T14:15:22Z",        "fillType": "DEFAULT",        "formApplication": {          "allowPatientAnnotation": true,          "answerToken": "string",          "authorId": "ee6f7132-bd0a-4fcd-83b3-a8022377067b",          "createdAt": "2019-08-24T14:15:22Z",          "formTemplateId": "f62b9cf2-5cec-4a00-b364-0e5e6e71cce0",          "hideFormTemplateTitle": true,          "id": 0,          "nextAnswerAt": "2019-08-24T14:15:22Z",          "notifyEmail": true,          "notifyWhatsApp": true,          "openToAnswer": true,          "patientId": "460a6d87-689c-4661-a526-a52450bbe2d7",          "recurrenceCycle": "NOW",          "showFormGraphToPatient": true,          "startedAt": "2019-08-24T14:15:22Z",          "status": "CREATED",          "updatedAt": "2019-08-24T14:15:22Z"        },        "formApplicationId": 0,        "formTemplate": {          "shortTitle": "string",          "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d",          "title": "string"        },        "formTemplateId": "f62b9cf2-5cec-4a00-b364-0e5e6e71cce0",        "globalClassification": {          "color": "string",          "maxScore": 0,          "minScore": 0,          "title": "string"        },        "hasHighRisk": true,        "id": 0,        "interpretativeAnalysis": "string",        "notifiedAt": "2019-08-24T14:15:22Z",        "patientId": "460a6d87-689c-4661-a526-a52450bbe2d7",        "psychometricIndicators": {          "global": {},          "subscales": {            "property1": {},            "property2": {}          },          "version": 0        },        "riskFlagCount": 0,        "score": 0,        "startedAt": "2019-08-24T14:15:22Z",        "startedFillAt": "2019-08-24T14:15:22Z",        "status": "CREATED",        "subscaleClassifications": {          "property1": {            "color": "string",            "maxScore": 0,            "minScore": 0,            "title": "string"          },          "property2": {            "color": "string",            "maxScore": 0,            "minScore": 0,            "title": "string"          }        },        "subscaleScores": [          {            "id": 0,            "name": "string",            "score": 0          }        ],        "updatedAt": "2019-08-24T14:15:22Z",        "urlToAnswer": "string"      }    ],    "totalSubmissions": 0,    "updatedAt": "2019-08-24T14:15:22Z",    "urlToAnswer": "string"  }]