Class: FHIR::StructureMap::Group::Rule::Source
- Defined in:
- lib/fhir/resources/StructureMap.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Source.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Source.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Source.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'required' => {'type'=>'boolean', 'path'=>'Source.required', 'min'=>1, 'max'=>1}, 'context' => {'type'=>'id', 'path'=>'Source.context', 'min'=>1, 'max'=>1}, 'contextType' => {'valid_codes'=>{'http://hl7.org/fhir/map-context-type'=>['type', 'variable', 'type', 'variable']}, 'type'=>'code', 'path'=>'Source.contextType', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/map-context-type'}}, 'element' => {'type'=>'string', 'path'=>'Source.element', 'min'=>0, 'max'=>1}, 'listMode' => {'valid_codes'=>{'http://hl7.org/fhir/map-list-mode'=>['first', 'share', 'last', 'first', 'share', 'last']}, 'type'=>'code', 'path'=>'Source.listMode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/map-list-mode'}}, 'variable' => {'type'=>'id', 'path'=>'Source.variable', 'min'=>0, 'max'=>1}, 'condition' => {'type'=>'string', 'path'=>'Source.condition', 'min'=>0, 'max'=>1}, 'check' => {'type'=>'string', 'path'=>'Source.check', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#check ⇒ Object
0-1 string.
-
#condition ⇒ Object
0-1 string.
-
#context ⇒ Object
1-1 id.
-
#contextType ⇒ Object
1-1 code.
-
#element ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#listMode ⇒ Object
0-1 code.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#required ⇒ Object
1-1 boolean.
-
#variable ⇒ Object
0-1 id.
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
#check ⇒ Object
0-1 string
163 164 165 |
# File 'lib/fhir/resources/StructureMap.rb', line 163 def check @check end |
#condition ⇒ Object
0-1 string
162 163 164 |
# File 'lib/fhir/resources/StructureMap.rb', line 162 def condition @condition end |
#context ⇒ Object
1-1 id
157 158 159 |
# File 'lib/fhir/resources/StructureMap.rb', line 157 def context @context end |
#contextType ⇒ Object
1-1 code
158 159 160 |
# File 'lib/fhir/resources/StructureMap.rb', line 158 def contextType @contextType end |
#element ⇒ Object
0-1 string
159 160 161 |
# File 'lib/fhir/resources/StructureMap.rb', line 159 def element @element end |
#extension ⇒ Object
0-* [ Extension ]
154 155 156 |
# File 'lib/fhir/resources/StructureMap.rb', line 154 def extension @extension end |
#id ⇒ Object
0-1 string
153 154 155 |
# File 'lib/fhir/resources/StructureMap.rb', line 153 def id @id end |
#listMode ⇒ Object
0-1 code
160 161 162 |
# File 'lib/fhir/resources/StructureMap.rb', line 160 def listMode @listMode end |
#modifierExtension ⇒ Object
0-* [ Extension ]
155 156 157 |
# File 'lib/fhir/resources/StructureMap.rb', line 155 def modifierExtension @modifierExtension end |
#required ⇒ Object
1-1 boolean
156 157 158 |
# File 'lib/fhir/resources/StructureMap.rb', line 156 def required @required end |
#variable ⇒ Object
0-1 id
161 162 163 |
# File 'lib/fhir/resources/StructureMap.rb', line 161 def variable @variable end |