Class: FHIR::Encounter::ClassHistory

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'ClassHistory.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'ClassHistory.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'ClassHistory.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'class' => {'local_name'=>'local_class', 'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-ActCode'=>['AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'OBSENC', 'PRENC', 'SS', 'VR']}, 'type'=>'Coding', 'path'=>'ClassHistory.class', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-ActEncounterCode'}},
  'period' => {'type'=>'Period', 'path'=>'ClassHistory.period', '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

#extensionObject

0-* [ Extension ]



76
77
78
# File 'lib/fhir_models/fhir/resources/Encounter.rb', line 76

def extension
  @extension
end

#idObject

0-1 string



75
76
77
# File 'lib/fhir_models/fhir/resources/Encounter.rb', line 75

def id
  @id
end

#local_classObject

1-1 Coding



78
79
80
# File 'lib/fhir_models/fhir/resources/Encounter.rb', line 78

def local_class
  @local_class
end

#modifierExtensionObject

0-* [ Extension ]



77
78
79
# File 'lib/fhir_models/fhir/resources/Encounter.rb', line 77

def modifierExtension
  @modifierExtension
end

#periodObject

1-1 Period



79
80
81
# File 'lib/fhir_models/fhir/resources/Encounter.rb', line 79

def period
  @period
end