Spaces:
Sleeping
Sleeping
File size: 5,227 Bytes
05cb41b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 | # Sample Medical Documents
## Document Types and Formats
Since we cannot provide actual medical document images, here are detailed descriptions of what typical OPD documents look like. You should create mock versions or use document generation to simulate these.
### 1. Medical Prescription Format
**Standard Elements:**
```
--------------------------------
[Clinic/Hospital Logo]
Dr. [Name], [Qualification]
Reg. No: [State]/[Number]/[Year]
[Clinic Address]
Phone: [Contact]
--------------------------------
Date: DD/MM/YYYY
Patient Name: ________________
Age/Sex: _____________________
Address: _____________________
Chief Complaints:
- [Symptom 1]
- [Symptom 2]
Diagnosis:
[Medical condition]
Rx (Prescription):
1. Tab. [Medicine Name] [Strength]
[Dosage] x [Duration]
2. Syp. [Medicine Name]
[Dosage] x [Duration]
Investigations Advised:
- [Test 1]
- [Test 2]
Follow-up: [Date]
[Doctor's Signature]
[Doctor's Stamp]
--------------------------------
```
### 2. Medical Bill/Invoice Format
**Standard Elements:**
```
--------------------------------
[Hospital/Clinic Name]
[Address]
GST No: [Number]
--------------------------------
Bill No: [Number] Date: DD/MM/YYYY
Patient Details:
Name: ________________
Contact: ______________
Ref. By: Dr. __________
PARTICULARS AMOUNT
--------------------------------
Consultation Fee ₹ XXXX
Diagnostic Tests:
- Blood Test ₹ XXXX
- X-Ray ₹ XXXX
Procedures:
- Dressing ₹ XXXX
Medicines ₹ XXXX
--------------------------------
Sub Total: ₹ XXXX
GST (18%): ₹ XXXX
--------------------------------
TOTAL: ₹ XXXX
Amount in Words: _____________
Payment Mode: Cash/Card/UPI
Transaction ID: ______________
[Authorized Signatory]
[Stamp]
--------------------------------
```
### 3. Diagnostic Test Report Format
**Standard Elements:**
```
--------------------------------
[Diagnostic Center Name]
[NABL/CAP Accreditation Number]
--------------------------------
Patient Name: _______________
Age/Sex: ___________________
Ref. By: Dr. _______________
Date: DD/MM/YYYY
Report ID: _________________
TEST NAME RESULT NORMAL RANGE
-----------------------------------------
COMPLETE BLOOD COUNT (CBC)
Hemoglobin 14.5 13-17 g/dL
WBC Count 7800 4000-11000
Platelets 250000 150000-450000
LIVER FUNCTION TEST
SGPT 35 10-40 U/L
SGOT 30 10-40 U/L
[Additional tests...]
Remarks: _____________________
Pathologist: Dr. _____________
[Digital Signature]
--------------------------------
```
### 4. Pharmacy Bill Format
**Standard Elements:**
```
--------------------------------
[Pharmacy Name]
Drug License No: [Number]
GST No: [Number]
--------------------------------
Bill No: [Number] Date: DD/MM/YYYY
Patient: _______________
Doctor: ________________
S.No | Medicine Name | Batch | Exp | Qty | MRP | Amount
--------------------------------------------------------
1 | Paracetamol | XX123 | 12/25| 10 | 5 | 50
2 | Amoxicillin | YY456 | 06/25| 14 | 12 | 168
Total: ₹ 218
GST: ₹ 39
Net Amount: ₹ 257
[Pharmacist Signature]
[Stamp]
--------------------------------
```
## Sample Data Patterns to Generate
### Valid Doctor Registration Numbers:
- Karnataka: KA/12345/2015
- Maharashtra: MH/67890/2018
- Delhi: DL/34567/2020
- Tamil Nadu: TN/45678/2016
### Common Diagnoses (for testing):
- Viral fever
- Upper respiratory tract infection
- Gastroenteritis
- Hypertension
- Type 2 Diabetes
- Migraine
- Allergic rhinitis
- Lower back pain
### Common Medicines:
- Paracetamol 500mg/650mg
- Amoxicillin 500mg
- Azithromycin 500mg
- Omeprazole 20mg
- Cetirizine 10mg
- Metformin 500mg
- Amlodipine 5mg
### Common Diagnostic Tests:
- Complete Blood Count (CBC)
- Blood Sugar (Fasting/PP)
- Lipid Profile
- Liver Function Test (LFT)
- Kidney Function Test (KFT)
- Thyroid Profile
- Urine Routine
- X-Ray Chest
- ECG
- Ultrasound Abdomen
## Document Variations to Handle
1. **Handwritten prescriptions** - Some doctors still write by hand
2. **Multilingual documents** - Bills might be in English + regional language
3. **Different layouts** - Each hospital has unique bill format
4. **Quality issues** - Faded prints, photos taken at angles
5. **Multiple pages** - Long bills might span multiple pages
6. **Stamps and signatures** - May be overlapping text
7. **Corrections** - Manual corrections with pen
8. **Partial documents** - Sometimes users submit incomplete docs
## Tips for Creating Test Documents
1. Use tools like:
- HTML/CSS to create bill layouts
- Canvas API to add signatures/stamps
- Python libraries (PIL, ReportLab) for PDF generation
- Add realistic noise/blur for testing OCR
2. Create at least 20-30 different document variations to test your system thoroughly
3. Include edge cases:
- Bills with multiple patients (family)
- Partial payments
- Cancelled items
- Refunds
- Package deals
4. Consider creating a document generator function that can create variations automatically |