jembi / openmrs-module-shr-cdahandler

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

Switch conditions on moodCode to use constants #30

Open justin-fyfe opened 9 years ago

justin-fyfe commented 9 years ago

Instead of :

if(x.getMoodCode().getCode().equals(x_ActDocumentMood.Intent))

Ensure that getMoodCode() and getCode() are not null first.