Class: FHIR::Expression
- Defined in:
- lib/fhir_models/fhir/types/Expression.rb
Constant Summary collapse
- SEARCH_PARAMS =
[]
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Expression.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Expression.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'description' => {'type'=>'string', 'path'=>'Expression.description', 'min'=>0, 'max'=>1}, 'name' => {'type'=>'id', 'path'=>'Expression.name', 'min'=>0, 'max'=>1}, 'language' => {'valid_codes'=>{'http://hl7.org/fhir/expression-language'=>['text/cql', 'text/fhirpath', 'application/x-fhir-query']}, 'type'=>'code', 'path'=>'Expression.language', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/expression-language'}}, 'expression' => {'type'=>'string', 'path'=>'Expression.expression', 'min'=>0, 'max'=>1}, 'reference' => {'type'=>'uri', 'path'=>'Expression.reference', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#description ⇒ Object
0-1 string.
-
#expression ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#language ⇒ Object
1-1 code.
-
#name ⇒ Object
0-1 id.
-
#reference ⇒ Object
0-1 uri.
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#==, #attribute_mismatch, #compare_attribute, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::Model
Instance Attribute Details
#description ⇒ Object
0-1 string
20 21 22 |
# File 'lib/fhir_models/fhir/types/Expression.rb', line 20 def description @description end |
#expression ⇒ Object
0-1 string
23 24 25 |
# File 'lib/fhir_models/fhir/types/Expression.rb', line 23 def expression @expression end |
#extension ⇒ Object
0-* [ Extension ]
19 20 21 |
# File 'lib/fhir_models/fhir/types/Expression.rb', line 19 def extension @extension end |
#id ⇒ Object
0-1 string
18 19 20 |
# File 'lib/fhir_models/fhir/types/Expression.rb', line 18 def id @id end |
#language ⇒ Object
1-1 code
22 23 24 |
# File 'lib/fhir_models/fhir/types/Expression.rb', line 22 def language @language end |
#name ⇒ Object
0-1 id
21 22 23 |
# File 'lib/fhir_models/fhir/types/Expression.rb', line 21 def name @name end |
#reference ⇒ Object
0-1 uri
24 25 26 |
# File 'lib/fhir_models/fhir/types/Expression.rb', line 24 def reference @reference end |