Class: FHIR::ValueSet::Expansion::Parameter
- Defined in:
- lib/fhir/resources/ValueSet.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'value' => ['string', 'boolean', 'integer', 'decimal', 'uri', 'code'] }
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Parameter.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Parameter.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Parameter.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'name' => {'type'=>'string', 'path'=>'Parameter.name', 'min'=>1, 'max'=>1}, 'valueString' => {'type'=>'string', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueBoolean' => {'type'=>'boolean', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueInteger' => {'type'=>'integer', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueDecimal' => {'type'=>'decimal', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueUri' => {'type'=>'uri', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}, 'valueCode' => {'type'=>'code', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
1-1 string.
-
#valueBoolean ⇒ Object
0-1 boolean.
-
#valueCode ⇒ Object
0-1 code.
-
#valueDecimal ⇒ Object
0-1 decimal.
-
#valueInteger ⇒ Object
0-1 integer.
-
#valueString ⇒ Object
0-1 string.
-
#valueUri ⇒ Object
0-1 uri.
Method Summary
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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
#extension ⇒ Object
0-* [ Extension ]
208 209 210 |
# File 'lib/fhir/resources/ValueSet.rb', line 208 def extension @extension end |
#id ⇒ Object
0-1 string
207 208 209 |
# File 'lib/fhir/resources/ValueSet.rb', line 207 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
209 210 211 |
# File 'lib/fhir/resources/ValueSet.rb', line 209 def modifierExtension @modifierExtension end |
#name ⇒ Object
1-1 string
210 211 212 |
# File 'lib/fhir/resources/ValueSet.rb', line 210 def name @name end |
#valueBoolean ⇒ Object
0-1 boolean
212 213 214 |
# File 'lib/fhir/resources/ValueSet.rb', line 212 def valueBoolean @valueBoolean end |
#valueCode ⇒ Object
0-1 code
216 217 218 |
# File 'lib/fhir/resources/ValueSet.rb', line 216 def valueCode @valueCode end |
#valueDecimal ⇒ Object
0-1 decimal
214 215 216 |
# File 'lib/fhir/resources/ValueSet.rb', line 214 def valueDecimal @valueDecimal end |
#valueInteger ⇒ Object
0-1 integer
213 214 215 |
# File 'lib/fhir/resources/ValueSet.rb', line 213 def valueInteger @valueInteger end |
#valueString ⇒ Object
0-1 string
211 212 213 |
# File 'lib/fhir/resources/ValueSet.rb', line 211 def valueString @valueString end |
#valueUri ⇒ Object
0-1 uri
215 216 217 |
# File 'lib/fhir/resources/ValueSet.rb', line 215 def valueUri @valueUri end |