Vocabulary
Contents
Vocabulary#
Module: spp_vocabulary
Overview#
The Vocabulary module provides a standardized code list management system for OpenSPP. It enables organizations to maintain consistent terminology across the platform by managing vocabularies such as gender, relationship types, marital status, occupations, and other classification systems used throughout social protection programs.
Purpose#
This module is designed to:
Standardize terminology: Maintain consistent code lists across all OpenSPP modules using international standards (ISO, WHO, ILO) or custom definitions
Support interoperability: Enable data exchange with external systems by using globally unique namespace URIs
Manage hierarchical codes: Support parent/child relationships within vocabularies for complex classification systems
Control data quality: Provide system vocabularies that cannot be modified by end users
Module Dependencies#
Dependency |
Description |
|---|---|
base |
Odoo core functionality |
Messaging and activity tracking |
|
spp_security |
OpenSPP security groups and privileges |
Key Features#
Vocabulary Management#
Vocabularies are collections of codes with unique namespace URIs. Each vocabulary can be categorized by domain:
Domain |
Description |
|---|---|
Core |
General-purpose vocabularies |
Social Assistance |
Social assistance programs |
Social Insurance |
Insurance-related codes |
Labor |
Employment and labor codes |
Disability |
WHO ICF disability classifications |
Agriculture |
Agricultural sector codes |
Health |
Health-related classifications |
Education |
Educational level codes |
Pre-loaded Vocabularies#
The module includes standard vocabularies:
Vocabulary |
Namespace Example |
|---|---|
Gender |
|
Relationship Types |
|
Marital Status |
|
Occupation |
|
Education Level |
|
Disability |
|
Housing |
|
Economic Activity |
|
Language |
|
Country |
|
Currency |
|
Religion |
|
ID Types |
|
Vocabulary Codes#
Each vocabulary contains codes with:
Code: Unique identifier within the vocabulary
Name: Human-readable label (translatable)
Parent: Optional parent code for hierarchical vocabularies
Active: Enable/disable codes without deletion
Vocabulary Mapping#
Map codes between different vocabularies or external systems to support data transformation and interoperability.
Deployment Profiles#
Configure which vocabularies and codes are active for specific deployment contexts, allowing customization per country or program.
Concept Groups#
Group related codes across vocabularies for logical organization and easier management.
Integration#
The Vocabulary module integrates with:
spp_registry: Provides code lists for registrant attributes (gender, marital status, education)
spp_programs: Supplies eligibility criteria options and program classifications
spp_api_v2: Exposes vocabularies via REST API for external system integration
spp_dci_client: Maps local codes to DCI-compliant standards for registry interoperability
openspp.org