Documents & PDF
Consultation reports, prescriptions, and branded PDF generation — automatically from form data.
How Documents Work
Documents are professional PDFs generated automatically from form data. When a specialist fills in a consultation report form and signs it, the platform generates a polished PDF using the clinic's branding — logo, colors, letterhead, and footer.
Document types
| Type | Generated From | Contents |
|---|---|---|
| Consultation report | Specialist-filled appointment form | Clinical findings, assessment, treatment recommendations |
| Prescription | Specialist-filled prescription form | Rehabilitation exercises, equipment, or therapeutic recommendations prescribed |
| Intake summary | Patient-filled intake forms | Patient demographics, medical history, consent records |
PDF Templates
Clinics design their own PDF templates using a visual block-based editor — no HTML or code required.
How the editor works
- Open the template designer and create a new template (e.g., "Consultation Report")
- Drag blocks onto the page — letterhead, text sections, patient info, findings, signature line
- Insert form fields — the template pulls data from the form automatically
- Preview with real data — see what the final PDF looks like before publishing
- Publish — the template is now available for document generation
Reusable components
Clinics create shared components that can be used across multiple templates:
- Letterhead — clinic logo, address, registration number
- Footer — legal disclaimers, page numbers
- Signature block — specialist name, title, digital signature
- Disclaimer text — standard legal language
Update a component once and it updates everywhere it's used.
Private Fields
When a form contains private fields (marked by the admin as specialist-only), the generated PDF has two versions:
- Specialist copy — includes all fields, including private clinical notes
- Patient copy — private fields are hidden automatically
This ensures specialists can record internal notes within the same form flow while patients receive a clean, professional document.
Signatures and Immutability
- Documents are digitally signed — the specialist's signature is embedded in the PDF
- Once signed, documents are immutable — regenerating from the same form data produces an identical PDF
- The audit trail records who created the document, who signed it, and when
- Documents are cached — repeated downloads serve the same file, never re-rendering
Prescriptions and Romanian Regulations
What the platform prescribes
RestartiX generates rehabilitation prescriptions — exercise programs, therapeutic equipment recommendations, and treatment protocol documents. These are clinical documents produced by physiotherapists, kinesitherapists, and rehabilitation specialists.
The platform does not generate medication prescriptions (rețete medicale). Medication prescriptions in Romania fall under a separate regulatory system.
Romanian e-prescription context
Romania's e-prescription system (SIPE / e-Rețeta) regulated by Ordinul 900/2006 and subsequent updates applies specifically to medication prescriptions issued by physicians. This system:
- Requires integration with the national health insurance platform (CNAS)
- Uses a government-mandated electronic format for drug prescriptions
- Requires a specific type of certified digital signature recognized by Romanian law
- Applies to physicians prescribing medications — not to physiotherapists or kinesitherapists prescribing exercises
RestartiX prescriptions are not medication prescriptions and do not fall under SIPE/e-Rețeta requirements. They are clinical documents — equivalent to a treatment recommendation letter — that describe the prescribed rehabilitation program.
What we do instead
Rehabilitation prescriptions generated by the platform:
- Are signed by the specialist (drawn digital signature embedded in the PDF)
- Include the specialist's professional credentials (name, title, license number from their profile)
- Are immutable after signing (audit trail, identical regeneration)
- Follow the clinic's own PDF template format (branded, professional)
- Are stored with the patient's clinical record
The format is clinic-defined through the PDF template editor — there is no mandated national format for rehabilitation prescriptions in Romania. Clinics design their own prescription template with the fields they need (patient info, diagnosis, exercises prescribed, duration, frequency, specialist signature).
If medication prescriptions are needed
If a clinic wants to issue medication prescriptions through the platform in the future, this would require integration with Romania's SIPE/e-Rețeta system and a specific type of certified digital signature required by law — a significant undertaking that is currently out of scope. Physicians who need to prescribe medications should use the existing SIPE system separately.
For developers
Technical details — database schemas, API endpoints, PDF rendering pipeline, template schema, and caching strategy — are available in the Documents feature spec and PDF Templates feature spec.