Class: FHIR::DSTU2::Patient::Animal
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Patient.rb
Constant Summary collapse
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Animal.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Animal.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Animal.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'species' => { 'valid_codes' => { 'http://hl7.org/fhir/animal-species' => ['canislf', 'ovisa', 'serinuscd'] }, 'type' => 'CodeableConcept', 'path' => 'Animal.species', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/animal-species' } }, 'breed' => { 'valid_codes' => { 'http://hl7.org/fhir/animal-breed' => ['gsd', 'irt', 'tibmas', 'gret'] }, 'type' => 'CodeableConcept', 'path' => 'Animal.breed', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/animal-breeds' } }, 'genderStatus' => { 'valid_codes' => { 'http://hl7.org/fhir/animal-genderstatus' => ['neutered', 'intact', 'unknown'] }, 'type' => 'CodeableConcept', 'path' => 'Animal.genderStatus', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/animal-genderstatus' } } }
Instance Attribute Summary collapse
-
#breed ⇒ Object
0-1 CodeableConcept.
-
#extension ⇒ Object
0-* [ Extension ].
-
#genderStatus ⇒ Object
0-1 CodeableConcept.
-
#id ⇒ Object
0-1 id.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#species ⇒ Object
1-1 CodeableConcept.
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, #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
#breed ⇒ Object
0-1 CodeableConcept
91 92 93 |
# File 'lib/fhir_dstu2_models/fhir/resources/Patient.rb', line 91 def breed @breed end |
#extension ⇒ Object
0-* [ Extension ]
88 89 90 |
# File 'lib/fhir_dstu2_models/fhir/resources/Patient.rb', line 88 def extension @extension end |
#genderStatus ⇒ Object
0-1 CodeableConcept
92 93 94 |
# File 'lib/fhir_dstu2_models/fhir/resources/Patient.rb', line 92 def genderStatus @genderStatus end |
#id ⇒ Object
0-1 id
87 88 89 |
# File 'lib/fhir_dstu2_models/fhir/resources/Patient.rb', line 87 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
89 90 91 |
# File 'lib/fhir_dstu2_models/fhir/resources/Patient.rb', line 89 def modifierExtension @modifierExtension end |
#species ⇒ Object
1-1 CodeableConcept
90 91 92 |
# File 'lib/fhir_dstu2_models/fhir/resources/Patient.rb', line 90 def species @species end |