Class: FHIR::DSTU2::List::Entry

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

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', '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' => '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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::DSTU2::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model

Instance Attribute Details

#dateObject

0-1 dateTime



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

def date
  @date
end

#deletedObject

0-1 boolean



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

def deleted
  @deleted
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#flagObject

0-1 CodeableConcept



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

def flag
  @flag
end

#idObject

0-1 id



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

def id
  @id
end

#itemObject

1-1 Reference()



54
55
56
# File 'lib/fhir_dstu2_models/fhir/resources/List.rb', line 54

def item
  @item
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end