Medical Certificate Generator (mockup)
Generate fake medical leave certificate. Includes patient, symbolic ICD-10, doctor, days. MOCKUP ONLY.
How a Brazilian medical certificate works
An atestado médico is a written statement issued by a licensed physician that attests to a patient's health condition. It is the most common way Brazilian employees justify absence from work and students miss class. The format and ethical obligations are defined by Resolução CFM 1.658/2002, and the employer's right to demand it before excusing a paid absence stems from Lei 605/1949 art. 6º combined with CLT regulations. A synthetic certificate generated here is meant for HR-software prototyping, integration testing with eSocial, training pipelines and academic case studies — never to deceive an employer or institution.
A complete certificate carries the patient's full name, the date and time of the consultation, a description of the assessed condition (with or without an ICD-10 code — disclosing the ICD is optional and depends on the patient's authorization), the recommended period of leave when applicable, and the prescriber's identification: full name, CRM/UF, signature and stamp. Since Lei 14.063/2020 and Portaria MS 1.792/2019, a digital certificate signed with ICP-Brasil has the same legal weight as a paper one — and most HR platforms (Convenia, Sólides, TOTVS) consume it directly.
Types of medical certificate
- Attendance certificate — proves the patient was at the consultation; does not justify a full day off by itself.
- Sick-leave certificate — declares the patient unable to work for N days; the employer must excuse the absence.
- ASO — Occupational Health Certificate — admissional, periodic, return-to-work, change-of-role or dismissal; mandatory under NR-7.
- Physical-aptitude certificate — required for sports events, public-service exams and some gyms.
How HR validates a certificate
Modern HR teams cross-check the CRM number on portal.cfm.org.br (the federal CRM lookup), inspect the ICP-Brasil signature inside the PDF, scan QR codes when present and compare the issue date with employee attendance records. Telemedicine certificates are valid since Lei 14.510/2022 made remote consultation permanent.
Legitimate uses for a mock generator
- Prototyping HR portals that ingest, store and audit certificates.
- Integration tests against eSocial events S-2230 (work-incapacity leave).
- Training HR analysts to recognize tampered documents.
- Building sample datasets for OCR, classification and ICD-extraction models.
FAQ
Can I use a generated certificate to skip work? No — and it is a serious mistake. Presenting a forged certificate is criminal ideological falsity (Código Penal art. 299) plus use of forged document (art. 304), with penalties of 1 to 5 years; on the employment side, it is grounds for just-cause dismissal under CLT art. 482. A physician who knowingly issues a false certificate can lose the CRM and be charged under art. 302 (false medical certificate).
Does the certificate have to disclose the ICD? No. Resolução CFM 1.658/2002 makes ICD disclosure optional and conditional on the patient's express consent. An ICD-less certificate is fully valid.
Is a telemedicine certificate accepted? Yes — since Lei 14.510/2022, certificates issued in remote consultations have the same validity, provided they carry the prescriber's digital signature.
Can I use this output to test my validation API? Yes. Synthetic certificates are perfect for end-to-end tests, OCR benchmarks and detection-model training without exposing real medical data (LGPD-friendly).
Related Tools
Handwriting Generator
Convert typed text into an image with handwriting appearance. Useful for adding a personal touch to digital work.
Resume Generator
Fill a simple printable A4 CV from a form with personal data, education and experience.
Favicon Generator
Generate a favicon from text/emoji in all common sizes (16, 32, 48, 64, 192, 512). PNG download.