Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ICD11 diagnoses for chapters that were previously disabled #2350

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
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": "Factors influencing health status or 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 Traditional Medicine Conditions - Module I",
"V Supplementary section for functioning assessment": "Functioning assessment",
}

Expand Down
Loading