Class: FHIR::DSTU2::Contract::ValuedItem
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Contract.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'entity' => ['CodeableConcept', 'Reference'] }
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'ValuedItem.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'ValuedItem.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ValuedItem.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'entityCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ValuedItem.entity[x]', 'min' => 0, 'max' => 1 }, 'entityReference' => { 'type' => 'Reference', 'path' => 'ValuedItem.entity[x]', 'min' => 0, 'max' => 1 }, 'identifier' => { 'type' => 'Identifier', 'path' => 'ValuedItem.identifier', 'min' => 0, 'max' => 1 }, 'effectiveTime' => { 'type' => 'dateTime', 'path' => 'ValuedItem.effectiveTime', 'min' => 0, 'max' => 1 }, 'quantity' => { 'type' => 'Quantity', 'path' => 'ValuedItem.quantity', 'min' => 0, 'max' => 1 }, 'unitPrice' => { 'type' => 'Quantity', 'path' => 'ValuedItem.unitPrice', 'min' => 0, 'max' => 1 }, 'factor' => { 'type' => 'decimal', 'path' => 'ValuedItem.factor', 'min' => 0, 'max' => 1 }, 'points' => { 'type' => 'decimal', 'path' => 'ValuedItem.points', 'min' => 0, 'max' => 1 }, 'net' => { 'type' => 'Quantity', 'path' => 'ValuedItem.net', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#effectiveTime ⇒ Object
0-1 dateTime.
-
#entityCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#entityReference ⇒ Object
0-1 Reference().
-
#extension ⇒ Object
0-* [ Extension ].
-
#factor ⇒ Object
0-1 decimal.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-1 Identifier.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#net ⇒ Object
0-1 Quantity.
-
#points ⇒ Object
0-1 decimal.
-
#quantity ⇒ Object
0-1 Quantity.
-
#unitPrice ⇒ Object
0-1 Quantity.
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
#effectiveTime ⇒ Object
0-1 dateTime
91 92 93 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 91 def effectiveTime @effectiveTime end |
#entityCodeableConcept ⇒ Object
0-1 CodeableConcept
88 89 90 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 88 def entityCodeableConcept @entityCodeableConcept end |
#entityReference ⇒ Object
0-1 Reference()
89 90 91 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 89 def entityReference @entityReference end |
#extension ⇒ Object
0-* [ Extension ]
86 87 88 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 86 def extension @extension end |
#factor ⇒ Object
0-1 decimal
94 95 96 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 94 def factor @factor end |
#id ⇒ Object
0-1 id
85 86 87 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 85 def id @id end |
#identifier ⇒ Object
0-1 Identifier
90 91 92 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 90 def identifier @identifier end |
#modifierExtension ⇒ Object
0-* [ Extension ]
87 88 89 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 87 def modifierExtension @modifierExtension end |
#net ⇒ Object
0-1 Quantity
96 97 98 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 96 def net @net end |
#points ⇒ Object
0-1 decimal
95 96 97 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 95 def points @points end |
#quantity ⇒ Object
0-1 Quantity
92 93 94 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 92 def quantity @quantity end |
#unitPrice ⇒ Object
0-1 Quantity
93 94 95 |
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 93 def unitPrice @unitPrice end |