Class: FHIR::List::Entry

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Entry.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Entry.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Entry.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'flag' => {'valid_codes'=>{'urn:oid:1.2.36.1.2001.1001.101.104.16592'=>['01', '02', '03', '04', '05', '06']}, 'type'=>'CodeableConcept', 'path'=>'Entry.flag', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/list-item-flag'}},
  'deleted' => {'type'=>'boolean', 'path'=>'Entry.deleted', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'dateTime', 'path'=>'Entry.date', 'min'=>0, 'max'=>1},
  'item' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Entry.item', 'min'=>1, '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

#dateObject

0-1 dateTime



52
53
54
# File 'lib/fhir_models/fhir/resources/List.rb', line 52

def date
  @date
end

#deletedObject

0-1 boolean



51
52
53
# File 'lib/fhir_models/fhir/resources/List.rb', line 51

def deleted
  @deleted
end

#extensionObject

0-* [ Extension ]



48
49
50
# File 'lib/fhir_models/fhir/resources/List.rb', line 48

def extension
  @extension
end

#flagObject

0-1 CodeableConcept



50
51
52
# File 'lib/fhir_models/fhir/resources/List.rb', line 50

def flag
  @flag
end

#idObject

0-1 string



47
48
49
# File 'lib/fhir_models/fhir/resources/List.rb', line 47

def id
  @id
end

#itemObject

1-1 Reference(Resource)



53
54
55
# File 'lib/fhir_models/fhir/resources/List.rb', line 53

def item
  @item
end

#modifierExtensionObject

0-* [ Extension ]



49
50
51
# File 'lib/fhir_models/fhir/resources/List.rb', line 49

def modifierExtension
  @modifierExtension
end