lib/hqmf-model/precondition.rb in hqmf-parser-1.0.6 vs lib/hqmf-model/precondition.rb in hqmf-parser-1.1.0
- old
+ new
@@ -12,9 +12,15 @@
AT_LEAST_ONE_TRUE => ALL_FALSE,
ALL_FALSE => AT_LEAST_ONE_TRUE,
ALL_TRUE => AT_LEAST_ONE_FALSE,
AT_LEAST_ONE_FALSE => ALL_TRUE
}
+ INVERSIONS = {
+ AT_LEAST_ONE_TRUE => ALL_TRUE,
+ ALL_FALSE => AT_LEAST_ONE_FALSE,
+ ALL_TRUE => AT_LEAST_ONE_TRUE,
+ AT_LEAST_ONE_FALSE => ALL_FALSE
+ }
attr_reader :id, :preconditions, :reference, :conjunction_code
attr_accessor :negation
# Create a new population criteria
\ No newline at end of file