Class: FHIR::VisionPrescription::LensSpecification
- Defined in:
- lib/fhir_models/fhir/resources/VisionPrescription.rb
Defined Under Namespace
Classes: Prism
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'LensSpecification.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'LensSpecification.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'LensSpecification.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'product' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct'=>['lens', 'contact']}, 'type'=>'CodeableConcept', 'path'=>'LensSpecification.product', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/vision-product'}}, 'eye' => {'valid_codes'=>{'http://hl7.org/fhir/vision-eye-codes'=>['right', 'left']}, 'type'=>'code', 'path'=>'LensSpecification.eye', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/vision-eye-codes|4.0.0'}}, 'sphere' => {'type'=>'decimal', 'path'=>'LensSpecification.sphere', 'min'=>0, 'max'=>1}, 'cylinder' => {'type'=>'decimal', 'path'=>'LensSpecification.cylinder', 'min'=>0, 'max'=>1}, 'axis' => {'type'=>'integer', 'path'=>'LensSpecification.axis', 'min'=>0, 'max'=>1}, 'prism' => {'type'=>'VisionPrescription::LensSpecification::Prism', 'path'=>'LensSpecification.prism', 'min'=>0, 'max'=>Float::INFINITY}, 'add' => {'type'=>'decimal', 'path'=>'LensSpecification.add', 'min'=>0, 'max'=>1}, 'power' => {'type'=>'decimal', 'path'=>'LensSpecification.power', 'min'=>0, 'max'=>1}, 'backCurve' => {'type'=>'decimal', 'path'=>'LensSpecification.backCurve', 'min'=>0, 'max'=>1}, 'diameter' => {'type'=>'decimal', 'path'=>'LensSpecification.diameter', 'min'=>0, 'max'=>1}, 'duration' => {'type'=>'Quantity', 'path'=>'LensSpecification.duration', 'min'=>0, 'max'=>1}, 'color' => {'type'=>'string', 'path'=>'LensSpecification.color', 'min'=>0, 'max'=>1}, 'brand' => {'type'=>'string', 'path'=>'LensSpecification.brand', 'min'=>0, 'max'=>1}, 'note' => {'type'=>'Annotation', 'path'=>'LensSpecification.note', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#add ⇒ Object
0-1 decimal.
-
#axis ⇒ Object
0-1 integer.
-
#backCurve ⇒ Object
0-1 decimal.
-
#brand ⇒ Object
0-1 string.
-
#color ⇒ Object
0-1 string.
-
#cylinder ⇒ Object
0-1 decimal.
-
#diameter ⇒ Object
0-1 decimal.
-
#duration ⇒ Object
0-1 Quantity.
-
#extension ⇒ Object
0-* [ Extension ].
-
#eye ⇒ Object
1-1 code.
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#note ⇒ Object
0-* [ Annotation ].
-
#power ⇒ Object
0-1 decimal.
-
#prism ⇒ Object
0-* [ VisionPrescription::LensSpecification::Prism ].
-
#product ⇒ Object
1-1 CodeableConcept.
-
#sphere ⇒ Object
0-1 decimal.
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
#add ⇒ Object
0-1 decimal
81 82 83 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 81 def add @add end |
#axis ⇒ Object
0-1 integer
79 80 81 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 79 def axis @axis end |
#backCurve ⇒ Object
0-1 decimal
83 84 85 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 83 def backCurve @backCurve end |
#brand ⇒ Object
0-1 string
87 88 89 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 87 def brand @brand end |
#color ⇒ Object
0-1 string
86 87 88 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 86 def color @color end |
#cylinder ⇒ Object
0-1 decimal
78 79 80 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 78 def cylinder @cylinder end |
#diameter ⇒ Object
0-1 decimal
84 85 86 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 84 def diameter @diameter end |
#duration ⇒ Object
0-1 Quantity
85 86 87 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 85 def duration @duration end |
#extension ⇒ Object
0-* [ Extension ]
73 74 75 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 73 def extension @extension end |
#eye ⇒ Object
1-1 code
76 77 78 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 76 def eye @eye end |
#id ⇒ Object
0-1 string
72 73 74 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 72 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
74 75 76 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 74 def modifierExtension @modifierExtension end |
#note ⇒ Object
0-* [ Annotation ]
88 89 90 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 88 def note @note end |
#power ⇒ Object
0-1 decimal
82 83 84 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 82 def power @power end |
#prism ⇒ Object
0-* [ VisionPrescription::LensSpecification::Prism ]
80 81 82 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 80 def prism @prism end |
#product ⇒ Object
1-1 CodeableConcept
75 76 77 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 75 def product @product end |
#sphere ⇒ Object
0-1 decimal
77 78 79 |
# File 'lib/fhir_models/fhir/resources/VisionPrescription.rb', line 77 def sphere @sphere end |