Pular para o conteúdo principal

Consultar Medicamentos para Início de Tratamento

Utilize o método WsAcesso_getMedicinesForTreatmentStart para consultar os medicamentos e apresentações elegíveis para início de tratamento no programa PBM.


🔐 Passo 1: Obtenção do Token de Autenticação e Headers

Antes de realizar qualquer consulta, é obrigatório autenticar-se e obter um token JWT válido.
Todos os endpoints deste fluxo utilizam os mesmos headers de autenticação.

👉 Para mais detalhes, consulte: Autenticação e Headers


📋 Passo 2: Consulta de Medicamentos

Utilize o método WsAcesso_getMedicinesForTreatmentStart para listar os medicamentos disponíveis para início de tratamento conforme o programa e a origem informada.

Parâmetros

ParâmetroTipoObrigatórioDescriçãoValor
programCodeIntSimCódigo do programa PBM126
originCodeIntSimCódigo da origem de cadastro37

Exemplo de consulta GraphQL

query {
WsAcesso_getMedicinesForTreatmentStart(
args: {
programCode: 126
originCode: 37
}
) {
code
message
status
medicines {
lineCode
description
lineDescription
ean
EAN
displayMessage
typeCouncilAllowed
productCode
tarred
}
}
}

Exemplo de resposta

{
"data": {
"getMedicinesForTreatmentStart": {
"code": 0,
"message": null,
"status": "00",
"medicines": [
{
"lineCode": 6994,
"description": "MICARDIS",
"lineDescription": "MICARDIS",
"ean": "7896026304276",
"EAN": null,
"displayMessage": "MICARDIS: -, 80 mg emb. c/ 30",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 6993,
"description": "MICARDIS",
"lineDescription": "MICARDIS",
"ean": "7896026304245",
"EAN": null,
"displayMessage": "MICARDIS: -, 40 mg emb. c/ 30",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 7002,
"description": "MICARDIS ANLO",
"lineDescription": "MICARDIS ANLO",
"ean": "7896026305310",
"EAN": null,
"displayMessage": "MICARDIS ANLO: -, 80 mg + 5 mg emb. c/ 30",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 7001,
"description": "MICARDIS ANLO",
"lineDescription": "MICARDIS ANLO",
"ean": "7896026305327",
"EAN": null,
"displayMessage": "MICARDIS ANLO: -, 40 mg + 5 mg emb. c/ 30",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 6995,
"description": "MICARDIS HCT",
"lineDescription": "MICARDIS HCT",
"ean": "7896026304306",
"EAN": null,
"displayMessage": "MICARDIS HCT: -, 40 mg + 12,5 mg emb. c/ 30",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 6996,
"description": "MICARDIS HCT",
"lineDescription": "MICARDIS HCT",
"ean": "7896026304337",
"EAN": null,
"displayMessage": "MICARDIS HCT: -, 80 mg + 12,5 mg emb. c/ 30",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 6997,
"description": "MICARDIS HCT",
"lineDescription": "MICARDIS HCT",
"ean": "7896026304368",
"EAN": null,
"displayMessage": "MICARDIS HCT: -, 80 mg + 25 mg emb. c/ 30",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 7005,
"description": "PRADAXA",
"lineDescription": "PRADAXA",
"ean": "7896026303057",
"EAN": null,
"displayMessage": "PRADAXA: -, 110 mg emb. c/ 30",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 7007,
"description": "PRADAXA",
"lineDescription": "PRADAXA",
"ean": "7896026304702",
"EAN": null,
"displayMessage": "PRADAXA: -, 150 mg emb. c/ 30",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 6998,
"description": "SPIOLTO ",
"lineDescription": "SPIOLTO ",
"ean": "7896026306799",
"EAN": null,
"displayMessage": "SPIOLTO : -, 2,5 mcg + 2,5 mcg frasco c/ 4 mL (60 doses)",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": false
},
{
"lineCode": 7000,
"description": "TRAYENTA",
"lineDescription": "TRAYENTA",
"ean": "7896026305259",
"EAN": null,
"displayMessage": "TRAYENTA: -, 5 mg emb. c/ 30",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 7010,
"description": "TRAYENTA DUO",
"lineDescription": "TRAYENTA DUO",
"ean": "7896026307024",
"EAN": null,
"displayMessage": "TRAYENTA DUO: -, 2,5 mg + 1.000 mg emb. c/ 60",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
},
{
"lineCode": 7009,
"description": "TRAYENTA DUO",
"lineDescription": "TRAYENTA DUO",
"ean": "7896026307031",
"EAN": null,
"displayMessage": "TRAYENTA DUO: -, 2,5 mg + 850 mg emb. c/ 60",
"typeCouncilAllowed": 0,
"productCode": null,
"tarred": true
}
]
}
}
}