Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Oct 5, 2023
1 parent 9837639 commit 9c8cffc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion care/facility/static_data/icd11.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ def fetch_from_db():
"id": str(diagnosis["id"]),
"label": diagnosis["label"],
}
for diagnosis in ICD11Diagnosis.objects.all().values("id", "label")
for diagnosis in ICD11Diagnosis.objects.filter(is_leaf=True).values(
"id", "label"
)
]
return []

Expand Down

0 comments on commit 9c8cffc

Please sign in to comment.