Skip to content

Commit

Permalink
Allow ICD11 diagnoses for chapters that were previously disabled (#2350)
Browse files Browse the repository at this point in the history
* Allow ICD11 diagnoses for chapters that were previously disabled

* update short chapter names
  • Loading branch information
rithviknishad authored Aug 21, 2024
1 parent aebe59b commit 487e421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion care/facility/api/viewsets/icd.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def list(self, request):

query = [
ICD11.has_code == 1,
ICD11.chapter != "null", # noqa: E711
]
if q := request.query_params.get("query"):
query.append(ICD11.vec % query_builder(q))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ class Command(BaseCommand):
"21 Symptoms, signs or clinical findings, not elsewhere classified": "Others",
"22 Injury, poisoning or certain other consequences of external causes": "Injury, Poisoning",
"23 External causes of morbidity or mortality": "External Causes of Injury",
"24 Factors influencing health status or contact with health services": None,
"24 Factors influencing health status or contact with health services": "Reason for contact with Health Services",
"25 Codes for special purposes": "Codes for special purposes",
"26 Supplementary Chapter Traditional Medicine Conditions - Module I": None,
"26 Supplementary Chapter Traditional Medicine Conditions - Module I": "Supplementary chapter",
"V Supplementary section for functioning assessment": "Functioning assessment",
}

Expand Down

0 comments on commit 487e421

Please sign in to comment.