How to validate a CRM Medical Record?

Asked

Viewed 6,033 times

-3

I need to validate information to determine whether the user of my system is a doctor or a patient, in this case CRM, and I would like to know if there is any free API that validates or some standard that I can follow to identify whether or not it is a valid CRM, as we do with CPF.

  • Saw the Consultation CRM?

  • @vnbrs vi yes, it offers 100 free consultations, which will not meet my demand.

  • Friend, the Regional Council of Medicine provides this service so that public and private institutions can verify if a doctor is really a doctor or is falsifying his record. If they offer a free Webservice you should ask them directly.

  • @Celsolvero I asked at http://portal.cfm.org.br/ but did not answer...

  • the CRM query, will not bring you only if it is valid or will not bring you the name, profession, and status (valid / expired / invalid) so they charge. try again, they must think you want all this information, see if there is not only how to validate if the number is correct.

  • 1

    look, I looked for a friend of mine who is a doctor by his name on http://www.cremesp.org.br/ (CRM - SP) and from what I saw in his number there is no digit checker, IE, it is only a self-aincrement ID in a database printed on a small card

Show 1 more comment

1 answer

9

Validation per checker digit, similar to CPF, is not possible. As already mentioned in the comments, CRM is only a sequential number.

Some time ago, I had made the query through the portal. I navigated to a URL:

http://portal.cfm.org.br/index.php?medicosNome=mario&medicosUF=ES&medicosCRM=&medicosSituacao=&medicosTipoInscricao=&medicosEspecialidade=&medicosAreaAtuacao=&captcha=wg76pm&buscaEfetuada=true&option=com_medicos#buscaMedicos

And went through the table of results (in html). However, now they put a Captcha. Still it is possible to do this process, but since there was no demand, I also did not waste time with it.

As you mentioned in the comments also, tried to use the http://www.consultacrm.com.br/index/api but is limited to 100 consultations.

I would do this:

Create the interface for the Crm query, and let the user enter the API key, then you get 100 queries per user. In its interface, you can direct the user to the registration page and key generation, facilitating the process.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.