Class: FHIR::MedicinalProduct::Name::CountryLanguage

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'CountryLanguage.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'CountryLanguage.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'CountryLanguage.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'country' => {'type'=>'CodeableConcept', 'path'=>'CountryLanguage.country', 'min'=>1, 'max'=>1},
  'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'CountryLanguage.jurisdiction', 'min'=>0, 'max'=>1},
  'language' => {'type'=>'CodeableConcept', 'path'=>'CountryLanguage.language', '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 FHIR::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

#countryObject

1-1 CodeableConcept



90
91
92
# File 'lib/fhir_models/fhir/resources/MedicinalProduct.rb', line 90

def country
  @country
end

#extensionObject

0-* [ Extension ]



88
89
90
# File 'lib/fhir_models/fhir/resources/MedicinalProduct.rb', line 88

def extension
  @extension
end

#idObject

0-1 string



87
88
89
# File 'lib/fhir_models/fhir/resources/MedicinalProduct.rb', line 87

def id
  @id
end

#jurisdictionObject

0-1 CodeableConcept



91
92
93
# File 'lib/fhir_models/fhir/resources/MedicinalProduct.rb', line 91

def jurisdiction
  @jurisdiction
end

#languageObject

1-1 CodeableConcept



92
93
94
# File 'lib/fhir_models/fhir/resources/MedicinalProduct.rb', line 92

def language
  @language
end

#modifierExtensionObject

0-* [ Extension ]



89
90
91
# File 'lib/fhir_models/fhir/resources/MedicinalProduct.rb', line 89

def modifierExtension
  @modifierExtension
end