All work

Select view

Select search mode

 
57 of 107

Ability to search diagnoses by concept reference terms

Done

Description

We should be able to search by a code (reference term) when searching for diagnosis.

Context:

Diagnosis are captured against a concept that is specified as a member within the hierarchy of “Diagnosis set of sets” concept set defined in openmrs concept dictionary. Each concept can be mapped to a reference term, usually representing a coding system like ICD10, LOINC, SNOMED etc. The coding systems themselves are registered as “Concept Source” in openmrs.

For example, “Bitten by a cow” concept can be mapped to a reference term, representing ICD 10 code W55.21. or J18.9 in ICD10 to “Pneumonia, unspec”. In this case ICD 10 is registered as a “concept source” in OpenMRS.

As part of this feature, we should be able to search by the code W55.21/J18.9.

Techical analysis

Currently we are using a endpoint in EMR API for fetching diagnosis concepts. This does not search by concept reference term.

Note: there is an endpoint in openmrs web services rest (ConceptSearchHandler1_8) which searches by name as well as reference term code exact match. Need to further analyse if that suffices the requirement.

Acceptance criteria

  • Given that a diagnosis is classified under 'diagnosis set of sets' and has a mapping to reference term system, when I search for the reference term code, then diagnosis should be available for selection.

  • On selection of a diagnosis, the concept name should be displayed.

  • Should validate and save the selected diagnosis when pressed 'save button'

  • It should be possible to specify which all concept sources are to be searched as a comma separated list. This is captured as a global property “emrapi.conceptSourcesForDiagnosisSearch”. (default value is ICD‌-10-WHO).

Gliffy Diagrams

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

UAT Assignee

Sprint

Fix versions

Priority

Created October 4, 2017 at 3:20 PM
Updated August 23, 2018 at 11:59 AM
Resolved July 26, 2018 at 5:02 AM

Activity

Show:

Angshuman SarkarAugust 23, 2018 at 11:59 AM

krishnanspaceJuly 26, 2018 at 5:02 AM

Tested it out and it works as specified above.Able to search the Concepts using the name as well as its code.

swathi varkalaJuly 24, 2018 at 1:02 PM

: It is extremely unlikely that anybody would ever define two sources for diagnoses.
And even if they did, those sources would be most likely complementary to each other.

Hence we will be adding this limitation in Release Notes and closing this card.

swathi varkalaJuly 19, 2018 at 8:04 AM

angshuonline [5:34 PM]
only thing that I found .. 1) configure two sources for the property (ICD 10 - WHO, SNOMED) .. 2) try to search by a concept name (e.g. Cholera) .. 3) the concept is displayed but without the code shown in brackets

Flag notifications