Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion spp_disability_registry/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ Key Features
scheduling
- Impairment type, cause, and severity classifications using DCI
vocabularies
- Assistive device management with status (needed, requested, provided)
- Assistive device management with status workflow (needed, requested,
provided)
- Proxy response tracking for children
- CEL function integration for program eligibility targeting

Expand Down
1 change: 0 additions & 1 deletion spp_disability_registry/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"views/assessment_views.xml",
"views/assistive_device_views.xml",
"views/registrant_views.xml",
"views/res_config_settings_views.xml",
"views/menus.xml",
],
"demo": [
Expand Down
5 changes: 4 additions & 1 deletion spp_disability_registry/data/vocabulary_device.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
<odoo noupdate="1">
<!--
Assistive Device Type Vocabulary
Based on DCI CD.DR.04 and ISO 9999
-->
<record id="vocab_device_type" model="spp.vocabulary">
<field name="name">Assistive Device Type</field>
<field name="namespace_uri">urn:dci:cd:dr:04</field>
<field name="version">2024</field>
<field name="description">Types of assistive devices</field>
<field
name="description"
>Types of assistive devices aligned with ISO 9999 classification</field>
<field name="is_system">True</field>
<field name="domain">disability</field>
</record>
Expand Down
27 changes: 6 additions & 21 deletions spp_disability_registry/demo/demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,10 @@
<field name="wg_selfcare">a_lot</field>
<field name="wg_communicating">some</field>
<field
name="impairment_line_ids"
eval="[
Command.create({
'impairment_type_id': ref('code_disability_physical'),
'impairment_cause_id': ref('code_cause_injury'),
'severity_level_id': ref('code_severity_severe'),
}),
Command.create({
'impairment_type_id': ref('code_disability_visual'),
'impairment_cause_id': ref('code_cause_disease'),
'severity_level_id': ref('code_severity_moderate'),
}),
]"
name="impairment_type_ids"
eval="[Command.link(ref('code_disability_physical'))]"
/>
<field name="severity_level_id" ref="code_severity_severe" />
<field name="review_category">mine</field>
<field
name="support_needs"
Expand All @@ -71,15 +61,10 @@
<field name="wg_selfcare">none</field>
<field name="wg_communicating">a_lot</field>
<field
name="impairment_line_ids"
eval="[
Command.create({
'impairment_type_id': ref('code_disability_hearing'),
'impairment_cause_id': ref('code_cause_congenital'),
'severity_level_id': ref('code_severity_moderate'),
}),
]"
name="impairment_type_ids"
eval="[Command.link(ref('code_disability_hearing'))]"
/>
<field name="severity_level_id" ref="code_severity_moderate" />
<field name="review_category">mip</field>
<field name="is_proxy_response">True</field>
<field name="proxy_relationship">parent</field>
Expand Down
2 changes: 0 additions & 2 deletions spp_disability_registry/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from . import assessment
from . import assistive_device
from . import impairment
from . import cel_disability_functions
from . import registrant
from . import res_config_settings
Loading
Loading