lib/hqmf-model/precondition.rb in health-data-standards-3.4.6 vs lib/hqmf-model/precondition.rb in health-data-standards-3.5.0

- old
+ new

@@ -60,10 +60,10 @@ x = nil json = {} json[:id] = self.id json[:reference] = self.reference.id if self.reference json[:preconditions] = x if x = json_array(@preconditions) - json[:conjunction_code] = self.conjunction_code if self.conjunction_code + json[:conjunction_code] = self.conjunction_code if self.conjunction_code && self.preconditions.length > 0 json[:negation] = self.negation if self.negation json end # Return true of this precondition represents a conjunction with nested preconditions \ No newline at end of file