- Timestamp:
- Dec 28, 2009, 6:58:23 PM (14 years ago)
- Location:
- ruby/trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/trunk/lib/open_ehr/am/archetype/assertion.rb
r385 r386 67 67 end 68 68 end 69 70 class OperatorKind 71 OP_EQ = 2001 72 OP_NE = 2002 73 OP_LE = 2003 74 OP_LT = 2004 75 OP_GE = 2005 76 OP_GT = 2006 77 OP_MATCHES = 2007 78 79 OP_NOT = 2010 80 OP_AND = 2011 81 OP_OR = 2012 82 OP_XOR = 2013 83 OP_IMPLIES = 2014 84 OP_FOR_ALL = 2015 85 OP_EXISTS = 2016 86 87 OP_PLUS = 2020 88 OP_MINUS = 2021 89 OP_MULTIPLY = 2022 90 OP_DIVIDE = 2023 91 OP_EXP = 2024 92 93 def self.valid_operator?(value) 94 if value >= OP_EQ && value <= OP_EXP 95 return true 96 else 97 return false 98 end 99 end 100 end 69 101 end # of Assetion 70 102 end # of Archtype
Note:
See TracChangeset
for help on using the changeset viewer.