Class: FHIR::TestReport::Setup::Action::Assert
- Defined in:
- lib/fhir_models/fhir/resources/TestReport.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Assert.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Assert.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Assert.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'result' => {'valid_codes'=>{'http://hl7.org/fhir/report-action-result-codes'=>['pass', 'skip', 'fail', 'warning', 'error']}, 'type'=>'code', 'path'=>'Assert.result', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/report-action-result-codes|4.0.0'}}, 'message' => {'type'=>'markdown', 'path'=>'Assert.message', 'min'=>0, 'max'=>1}, 'detail' => {'type'=>'string', 'path'=>'Assert.detail', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#detail ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#message ⇒ Object
0-1 markdown.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#result ⇒ Object
1-1 code.
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
#detail ⇒ Object
0-1 string
119 120 121 |
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 119 def detail @detail end |
#extension ⇒ Object
0-* [ Extension ]
115 116 117 |
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 115 def extension @extension end |
#id ⇒ Object
0-1 string
114 115 116 |
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 114 def id @id end |
#message ⇒ Object
0-1 markdown
118 119 120 |
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 118 def @message end |
#modifierExtension ⇒ Object
0-* [ Extension ]
116 117 118 |
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 116 def modifierExtension @modifierExtension end |
#result ⇒ Object
1-1 code
117 118 119 |
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 117 def result @result end |