Medical Prescription Generator (mockup)
Generate fake medical prescription with patient, doctor, CRM, medications. MOCKUP ONLY.
How a Brazilian medical prescription is structured
A receita médica (medical prescription) is a legal document issued by a licensed physician that authorizes a pharmacy to dispense a specific medication. In Brazil, dispensing is governed by Lei 5.991/1973 and controlled substances by Portaria SVS/MS 344/1998, while the physician's duties are codified in the Code of Medical Ethics — Resolução CFM 1.931/2009. A generated mock prescription is useful for designing pharmacy software, training students, building OCR datasets and developing form-validation logic — never for actual dispensing.
Every valid prescription must contain: full patient name, the prescription itself (active ingredient, dosage, pharmaceutical form, posology and treatment duration), date of issue, and the prescriber's identification — full name, CRM/UF (Regional Medical Council registration), specialty, handwritten or digital signature and clinic stamp with address. Since Lei 9.787/1999, physicians treating SUS patients must prescribe using the DCB (Brazilian Common Denomination, the generic name) — the patient is free to choose the manufacturer at the counter.
Types of prescription and validity
- Simple prescription — common medications; valid for 30 days; pharmacy keeps no copy.
- Special prescription (red-stripe, list C1) — anorectics, anabolic steroids, retinoids and antibiotics; 30-day validity; pharmacy retains one copy.
- Notification A1/A2/A3 (yellow-stripe) — narcotics and psychotropics from lists A1, A2 and A3; only valid with a serialized form issued by the State Health Secretariat (SES).
- Special B1/B2 (blue-stripe) — benzodiazepines and other list-B psychotropics; 30-day validity; pharmacy retains one copy.
Digital prescriptions and the gov.br stack
Resolução CFM 2.299/2021 formalized the electronic prescription. Platforms like Memed and Nexodata generate a PDF signed with an ICP-Brasil certificate (or gov.br level Ouro/Prata), include a QR code that pharmacies scan to verify integrity, and have the same legal validity as paper. Telemedicine became permanent under Lei 14.510/2022, so a remote consultation can produce a fully enforceable digital prescription.
Legitimate uses for a mock generator
- Designing layouts for pharmacy or hospital management systems.
- Training pharmacy technicians to read and validate a prescription.
- Building OCR / machine-learning datasets for paper-prescription digitization.
- Producing screenshots for academic papers, course material and software documentation.
FAQ
Can I print this and take it to a pharmacy? Absolutely not. Forging a prescription is the federal crime of document forgery (Código Penal art. 297), punishable by 2 to 6 years of imprisonment plus a fine. Using a forged prescription to obtain a psychotropic substance also triggers Lei 11.343/2006 (drug-trafficking statute).
Is it legal to teach a pharmacy student to spot a fake? Yes — generating mock documents for didactic training is lawful. The output here is clearly marked, contains no real CRM and is not meant for dispensing.
Can I use it to test my OCR pipeline? Yes. A synthetic prescription is ideal for benchmarking layout detection, handwriting recognition and validation of fields like CRM, posology and DCB without touching real patient data (LGPD-friendly).
Does the generator transmit anything? No. Everything happens locally in your browser — no API call, no database write, no third-party tracking on the generated content.
Related Tools
Bakers Percentage Bread Recipe Generator
Given total flour weight and hydration percentage, generate a full recipe (water, salt, yeast) in baker's percentage.
Fake Leads CSV Generator
Generate a CSV with fake leads (name, email, phone, company and role) to test CRMs, imports and sales funnels. Populate your test data in seconds.
Fake Italian Codice Fiscale Generator
Generate an Italian Codice Fiscale with valid checksum from name/date — for signup form testing only.
Medical Certificate Generator (mockup)
Generate fake medical leave certificate. Includes patient, symbolic ICD-10, doctor, days. MOCKUP ONLY.
Fake Company with CNAE
Generate fake company data: legal name, brand, valid CNPJ, primary CNAE and address. For test seeds.
Alphanumeric CNPJ Generator
Generate valid Brazilian alphanumeric CNPJ numbers in the new Receita Federal format (IN RFB 2.119/2022), effective July 2026. Uses the official SERPRO algorithm. For test use only.