jembi / openmrs-module-shr-cdahandler

A CDA handler for the OpenMRS SHR implementation
1 stars 9 forks source link

Duplicate Allergies and Problems #20

Open justin-fyfe opened 10 years ago

justin-fyfe commented 10 years ago

Duplicate allergies and problems should be detected on the condition and shouldn't create multiple list entries on each CDA.

justin-fyfe commented 10 years ago

This appears to be caused by a bigger problem with OpenMRS. Calling voidObs() and then subsequently loading the obs via getObs() does not preserve the voided flag at all. Even though in the database the voided column is set to 1 and I see the void reason being populated.