Class: FHIR::Patient::Communication
- Defined in:
- lib/fhir_models/fhir/resources/Patient.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Communication.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Communication.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Communication.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'language' => {'valid_codes'=>{'urn:ietf:bcp:47'=>['ar', 'bn', 'cs', 'da', 'de', 'de-AT', 'de-CH', 'de-DE', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IN', 'en-NZ', 'en-SG', 'en-US', 'es', 'es-AR', 'es-ES', 'es-UY', 'fi', 'fr', 'fr-BE', 'fr-CH', 'fr-FR', 'fy', 'fy-NL', 'hi', 'hr', 'it', 'it-CH', 'it-IT', 'ja', 'ko', 'nl', 'nl-BE', 'nl-NL', 'no', 'no-NO', 'pa', 'pl', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-RS', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'CodeableConcept', 'path'=>'Communication.language', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'preferred' => {'type'=>'boolean', 'path'=>'Communication.preferred', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#language ⇒ Object
1-1 CodeableConcept.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#preferred ⇒ Object
0-1 boolean.
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
#extension ⇒ Object
0-* [ Extension ]
85 86 87 |
# File 'lib/fhir_models/fhir/resources/Patient.rb', line 85 def extension @extension end |
#id ⇒ Object
0-1 string
84 85 86 |
# File 'lib/fhir_models/fhir/resources/Patient.rb', line 84 def id @id end |
#language ⇒ Object
1-1 CodeableConcept
87 88 89 |
# File 'lib/fhir_models/fhir/resources/Patient.rb', line 87 def language @language end |
#modifierExtension ⇒ Object
0-* [ Extension ]
86 87 88 |
# File 'lib/fhir_models/fhir/resources/Patient.rb', line 86 def modifierExtension @modifierExtension end |
#preferred ⇒ Object
0-1 boolean
88 89 90 |
# File 'lib/fhir_models/fhir/resources/Patient.rb', line 88 def preferred @preferred end |