lib/generator/converter.rb in hqmf2js-1.0.0 vs lib/generator/converter.rb in hqmf2js-1.0.1
- old
+ new
@@ -33,10 +33,10 @@
var denom = hqmfjs.DENOM(patient);
if (Specifics.validate(denom, ipp)) {
if (Specifics.validate(hqmfjs.NUMER(patient), denom, ipp)) {
emit('denom', 1);
emit('numer', 1);
- } else if (Specifics.validate(hqmfjs.EXCEP(patient), denom, ipp)) {
+ } else if (Specifics.validate(hqmfjs.DENEXCEP(patient), denom, ipp)) {
emit('excep', 1);
} else {
emit('denom', 1);
emit('antinum', 1);
}
\ No newline at end of file