Class: FHIR::DataRequirement::CodeFilter

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/types/DataRequirement.rb

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'CodeFilter.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'CodeFilter.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'path' => {'type'=>'string', 'path'=>'CodeFilter.path', 'min'=>0, 'max'=>1},
  'searchParam' => {'type'=>'string', 'path'=>'CodeFilter.searchParam', 'min'=>0, 'max'=>1},
  'valueSet' => {'type'=>'canonical', 'path'=>'CodeFilter.valueSet', 'min'=>0, 'max'=>1},
  'code' => {'type'=>'Coding', 'path'=>'CodeFilter.code', 'min'=>0, 'max'=>Float::INFINITY}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from FHIR::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

#codeObject

0-* [ Coding ]



44
45
46
# File 'lib/fhir_models/fhir/types/DataRequirement.rb', line 44

def code
  @code
end

#extensionObject

0-* [ Extension ]



40
41
42
# File 'lib/fhir_models/fhir/types/DataRequirement.rb', line 40

def extension
  @extension
end

#idObject

0-1 string



39
40
41
# File 'lib/fhir_models/fhir/types/DataRequirement.rb', line 39

def id
  @id
end

#pathObject

0-1 string



41
42
43
# File 'lib/fhir_models/fhir/types/DataRequirement.rb', line 41

def path
  @path
end

#searchParamObject

0-1 string



42
43
44
# File 'lib/fhir_models/fhir/types/DataRequirement.rb', line 42

def searchParam
  @searchParam
end

#valueSetObject

0-1 canonical



43
44
45
# File 'lib/fhir_models/fhir/types/DataRequirement.rb', line 43

def valueSet
  @valueSet
end