Class: FHIR::TestReport::Setup::Action::Assert

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
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

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

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

#detailObject

0-1 string



119
120
121
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 119

def detail
  @detail
end

#extensionObject

0-* [ Extension ]



115
116
117
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 115

def extension
  @extension
end

#idObject

0-1 string



114
115
116
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 114

def id
  @id
end

#messageObject

0-1 markdown



118
119
120
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 118

def message
  @message
end

#modifierExtensionObject

0-* [ Extension ]



116
117
118
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 116

def modifierExtension
  @modifierExtension
end

#resultObject

1-1 code



117
118
119
# File 'lib/fhir_models/fhir/resources/TestReport.rb', line 117

def result
  @result
end