Diagnoses in Bahmni

EMR-API has a domain object called Diagnosis that has several fields.
- CodedAnswer
- NonCodedAnswer - if the diagnosis is not yet coded
- Order (primary vs secondary)
- Certainty (presumed vs confirmed).
In the database this is stored as an observation group called Diagnosis with each member as an observation group member.

For Bahmni, we needed to track the lifecycle of a diagnosis. To achieve this, we added three new fields.
- Status (Ruled out, Cured)
- Initial (uuid of the initial observation)
- isRevised(true and false).

Status is not mandatory, but provides interesting modifiers to the diagnosis like "ruled out", "cured" etc.
IsRevised will be set to true when a diagnosis is revised.

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)