corpus: expand catIds map and add health-law card
- Map 10 additional DB category slugs to UI cards (social-services, echr-case-law, child-abduction, anti-discrimination, children-rights, legislation, parliamentary, immigration, legal, civil-litigation, etc.) - Add health-law card (1,874 docs were invisible — largest unmapped category) - Add patient-rights, government-policy, policy-reports, ombudsman, bankruptcy mappings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+26
@@ -179,6 +179,15 @@ require_once __DIR__ . '/includes/layout.php';
|
|||||||
<p>NOUer, Stortingsmeldinger, government white papers and regulatory guidance from Regjeringen.no.</p>
|
<p>NOUer, Stortingsmeldinger, government white papers and regulatory guidance from Regjeringen.no.</p>
|
||||||
<button class="cat-browse-btn" data-cat="government-documents" type="button">Browse docs →</button>
|
<button class="cat-browse-btn" data-cat="government-documents" type="button">Browse docs →</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="category-card" data-category="health-law">
|
||||||
|
<div class="category-card__top">
|
||||||
|
<span class="category-card__icon" aria-hidden="true">🏥</span>
|
||||||
|
<span class="category-card__count is-loading" id="cat-health-law">—</span>
|
||||||
|
</div>
|
||||||
|
<h4>Health Law</h4>
|
||||||
|
<p>Helsetilsynet supervision reports, patient rights (pasientrettigheter), NPE compensation claims, mental health law and barnevern health oversight.</p>
|
||||||
|
<button class="cat-browse-btn" data-cat="health-law" type="button">Browse docs →</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- DRILL-DOWN PANEL -->
|
<!-- DRILL-DOWN PANEL -->
|
||||||
@@ -406,25 +415,41 @@ require_once __DIR__ . '/includes/layout.php';
|
|||||||
'family_law': 'cat-family-law',
|
'family_law': 'cat-family-law',
|
||||||
'child-welfare': 'cat-child-welfare',
|
'child-welfare': 'cat-child-welfare',
|
||||||
'child_welfare': 'cat-child-welfare',
|
'child_welfare': 'cat-child-welfare',
|
||||||
|
'children-rights': 'cat-child-welfare',
|
||||||
'labour-law': 'cat-labour-law',
|
'labour-law': 'cat-labour-law',
|
||||||
'labour_law': 'cat-labour-law',
|
'labour_law': 'cat-labour-law',
|
||||||
'social-welfare': 'cat-social-welfare',
|
'social-welfare': 'cat-social-welfare',
|
||||||
'social_welfare': 'cat-social-welfare',
|
'social_welfare': 'cat-social-welfare',
|
||||||
|
'social-services': 'cat-social-welfare',
|
||||||
'tax-law': 'cat-tax-law',
|
'tax-law': 'cat-tax-law',
|
||||||
'tax_law': 'cat-tax-law',
|
'tax_law': 'cat-tax-law',
|
||||||
'administrative-law': 'cat-administrative-law',
|
'administrative-law': 'cat-administrative-law',
|
||||||
'administrative_law': 'cat-administrative-law',
|
'administrative_law': 'cat-administrative-law',
|
||||||
|
'anti-discrimination': 'cat-administrative-law',
|
||||||
|
'legal': 'cat-administrative-law',
|
||||||
|
'civil-litigation': 'cat-administrative-law',
|
||||||
|
'ombudsman': 'cat-administrative-law',
|
||||||
|
'bankruptcy': 'cat-administrative-law',
|
||||||
'consumer-law': 'cat-consumer-law',
|
'consumer-law': 'cat-consumer-law',
|
||||||
'consumer_law': 'cat-consumer-law',
|
'consumer_law': 'cat-consumer-law',
|
||||||
'tenancy-law': 'cat-consumer-law',
|
'tenancy-law': 'cat-consumer-law',
|
||||||
'financial-law': 'cat-consumer-law',
|
'financial-law': 'cat-consumer-law',
|
||||||
'immigration-law': 'cat-immigration-law',
|
'immigration-law': 'cat-immigration-law',
|
||||||
'immigration_law': 'cat-immigration-law',
|
'immigration_law': 'cat-immigration-law',
|
||||||
|
'immigration': 'cat-immigration-law',
|
||||||
|
'echr-case-law': 'cat-immigration-law',
|
||||||
|
'child-abduction': 'cat-immigration-law',
|
||||||
'government-documents':'cat-government-documents',
|
'government-documents':'cat-government-documents',
|
||||||
'government_documents':'cat-government-documents',
|
'government_documents':'cat-government-documents',
|
||||||
|
'legislation': 'cat-government-documents',
|
||||||
|
'parliamentary': 'cat-government-documents',
|
||||||
|
'government-policy': 'cat-government-documents',
|
||||||
|
'policy-reports': 'cat-government-documents',
|
||||||
'case-law': 'cat-administrative-law',
|
'case-law': 'cat-administrative-law',
|
||||||
'victim-compensation': 'cat-administrative-law',
|
'victim-compensation': 'cat-administrative-law',
|
||||||
'procurement-law': 'cat-administrative-law',
|
'procurement-law': 'cat-administrative-law',
|
||||||
|
'health-law': 'cat-health-law',
|
||||||
|
'patient-rights': 'cat-health-law',
|
||||||
};
|
};
|
||||||
|
|
||||||
const catLabels = {
|
const catLabels = {
|
||||||
@@ -437,6 +462,7 @@ require_once __DIR__ . '/includes/layout.php';
|
|||||||
'consumer-law': 'Consumer & Housing',
|
'consumer-law': 'Consumer & Housing',
|
||||||
'immigration-law': 'Immigration & International',
|
'immigration-law': 'Immigration & International',
|
||||||
'government-documents': 'Government Documents',
|
'government-documents': 'Government Documents',
|
||||||
|
'health-law': 'Health Law',
|
||||||
};
|
};
|
||||||
|
|
||||||
// ── STATS + SOURCES table load ───────────────────────────────────────────
|
// ── STATS + SOURCES table load ───────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user