Skip to content

Feat: Codification Enhancement#953

Draft
johnwslongland wants to merge 14 commits intoearthians:version-15-hotfixfrom
johnwslongland:codification-enhancement
Draft

Feat: Codification Enhancement#953
johnwslongland wants to merge 14 commits intoearthians:version-15-hotfixfrom
johnwslongland:codification-enhancement

Conversation

@johnwslongland
Copy link
Copy Markdown
Contributor

@johnwslongland johnwslongland commented Mar 26, 2026

Enhancement to the Codification Table to make use of Code Value Set.
Code Value Set allows for a "sub-classification" of a code system (e.g., ICD-10).
For example, you can have a Code Value Set called Musculoskeletal, allowing all Musculoskeletal ICD-10 codes to be grouped together.

This update sets the filters in the Codification Table based on the user selection of Code System and Code Value Set.

Code Value Set is not mandatory, so the user does not have to use it.
An auto-complete feature is included, so if the user does not make a selection, it is automatically completed.
There is a validation check on_submit. 

You may notice that this involves many of the doctypes where the Codification Table is used, but the implementation is consistent across all doctypes.
Additionally, much of the working logic has been placed in central files to reduce duplication and improve maintainability.

Closes #817
no-docs

akurungadam and others added 10 commits February 21, 2026 11:57
@johnwslongland johnwslongland force-pushed the codification-enhancement branch from a726967 to 3f3484b Compare March 26, 2026 13:09
devin-ai-integration Bot added a commit to Tacten/biograph that referenced this pull request Apr 10, 2026
…ians#953)

- Add code_value_set Link field to codification_table.json
- Create healthcare/public/js/utils.js with shared codification logic
- Add get_codification_row_code_data whitelisted function to utils.py
- Add code_value_set to get_medical_codes fields in utils.py
- Update 15 JS doctype files with codification table query hooks,
  before_save handlers, and Codification Table child event handlers

Co-Authored-By: Atul-Kuruvilla Abraham <atul@tacten.co>
@Sajinsr Sajinsr force-pushed the version-15-hotfix branch from 930e6d9 to f42386a Compare May 4, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants