Class: FHIR::Patient::Animal
- Defined in:
- lib/fhir/resources/Patient.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', '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://snomed.info/sct'=>['125097000', '125099002', '34618005', '425134008', '47290002', '15778005', '396620009', '388445009', '85626006', '132950000']}, 'type'=>'CodeableConcept', 'path'=>'Animal.species', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/animal-species'}}, 'breed' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, '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', '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 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#species ⇒ Object
1-1 CodeableConcept.
Method Summary
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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
#breed ⇒ Object
0-1 CodeableConcept
90 91 92 |
# File 'lib/fhir/resources/Patient.rb', line 90 def breed @breed end |
#extension ⇒ Object
0-* [ Extension ]
87 88 89 |
# File 'lib/fhir/resources/Patient.rb', line 87 def extension @extension end |
#genderStatus ⇒ Object
0-1 CodeableConcept
91 92 93 |
# File 'lib/fhir/resources/Patient.rb', line 91 def genderStatus @genderStatus end |
#id ⇒ Object
0-1 string
86 87 88 |
# File 'lib/fhir/resources/Patient.rb', line 86 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
88 89 90 |
# File 'lib/fhir/resources/Patient.rb', line 88 def modifierExtension @modifierExtension end |
#species ⇒ Object
1-1 CodeableConcept
89 90 91 |
# File 'lib/fhir/resources/Patient.rb', line 89 def species @species end |