4.9 KiB
4.9 KiB
SHCT 4-Level Taxonomy Implementation Summary
Overview
Implemented a comprehensive 4-level hierarchical taxonomy system for complaint classification based on the Saudi Healthcare Complaint Taxonomy (SHCT) standard.
Taxonomy Structure
Level 1: Domains (3 total)
- CLINICAL / سريري - Clinical care and medical services
- MANAGEMENT / إداري - Administrative and operational issues
- RELATIONSHIPS / علاقات - Patient-staff interactions and communication
Level 2: Categories (8 total)
CLINICAL Domain
- Quality / الجودة
- Safety / السلامة
MANAGEMENT Domain
- Institutional Issues / القضايا المؤسسية
- Accessibility / سهولة الوصول
RELATIONSHIPS Domain
- Communication / التواصل
- Humanness / Caring / الإنسانية / الرعاية
- Consent / الموافقة
- Confidentiality / الخصوصية
Level 3: Subcategories (20 total)
Quality Category
- Examination / الفحص
- Patient Journey / رحلة المريض
- Quality of Care / جودة الرعاية
- Treatment / العلاج
- Diagnosis / التشخيص
Safety Category
- Medication & Vaccination / الأدوية واللقاحات
- Safety Incidents / حوادث السلامة
- Skills and Conduct / المهارات والسلوك
Institutional Issues Category
- Administrative Policies / السياسات الإدارية
- Environment / البيئة
- Safety & Security / الأمن والسلامة
- Finance and Billing / المالية والفواتير
- Resources / الموارد
Accessibility Category
- Access / الوصول
- Delays / التأخير
Communication Category
- Patient-staff communication / التواصل بين المريض والموظفين
Humanness / Caring Category
- Emotional Support / الدعم العاطفي
- Assault and Harassment / الاعتداء والمضايقة
Consent Category
- Consent Process / إجراءات الموافقة
Confidentiality Category
- Privacy / خصوصية المعلومات
Level 4: Classifications (75 total)
Detailed classifications for each subcategory providing granular categorization.
Database Schema Changes
ComplaintCategory Model
- Added
levelfield (1=Domain, 2=Category, 3=Subcategory, 4=Classification) - Added
domain_typefield (CLINICAL, MANAGEMENT, RELATIONSHIPS) for top-level categorization - Maintained parent-child hierarchy through
parentforeign key - Bilingual support with
name_en,name_ar,description_en,description_ar
Complaint Model
- Added
domainforeign key (Level 1) - Retained
categoryforeign key (Level 2) - Retained
subcategoryfield (Level 3 - text field for backward compatibility) - Added
classificationfield (Level 4 - text field for backward compatibility)
Implementation Components
1. Management Command
Created load_shct_taxonomy management command to load the complete taxonomy structure with:
- Automatic creation of all 4 levels
- Proper parent-child relationships
- Bilingual labels (English/Arabic)
- Ordering support
2. Form Updates
- ComplaintForm: Updated with cascading dropdowns for 4-level selection
- Domain selection → Category selection → Subcategory selection → Classification selection
- AJAX-powered dependent dropdowns
- PublicComplaintForm: Simplified version with essential fields
3. Model Changes
- Enhanced ComplaintCategory with level tracking
- Enhanced Complaint with domain and classification fields
- Full backward compatibility with existing data
Taxonomy Statistics
- Total Entries: 106
- Domains: 3
- Categories: 8
- Subcategories: 20
- Classifications: 75
Benefits
- Granular Classification: Enables precise categorization of complaints at 4 levels
- Improved Analytics: Better reporting and trend analysis across hierarchy levels
- Bilingual Support: Full Arabic/English support for Saudi healthcare context
- Standardization: Aligns with SHCT healthcare complaint standards
- Backward Compatible: Existing complaints continue to work
Usage Example
When creating a complaint:
- Select Domain (e.g., CLINICAL)
- Select Category (e.g., Quality)
- Select Subcategory (e.g., Treatment)
- Select Classification (e.g., Treatment Effectiveness)
This creates a clear, hierarchical classification path: CLINICAL > Quality > Treatment > Treatment Effectiveness
Next Steps
To complete the implementation, the following components need to be updated:
- Views to handle 4-level form submission
- API endpoints for cascading dropdown loading
- Admin interfaces to display all 4 levels
- Templates with JavaScript for dynamic dropdown behavior
- Serializers for API responses
Loading the Taxonomy
python manage.py load_shct_taxonomy
This command loads the complete taxonomy structure into the database with proper hierarchical relationships.