Class: FHIR::Contract::Term::ValuedItem
- Defined in:
- lib/fhir_models/fhir/resources/Contract.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'entity' => ['CodeableConcept', 'Reference'] }
- METADATA =
{ 'id' => {'type'=>'string', '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_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], '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'=>'Money', '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'=>'Money', '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(Resource).
-
#extension ⇒ Object
0-* [ Extension ].
-
#factor ⇒ Object
0-1 decimal.
-
#id ⇒ Object
0-1 string.
-
#identifier ⇒ Object
0-1 Identifier.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#net ⇒ Object
0-1 Money.
-
#points ⇒ Object
0-1 decimal.
-
#quantity ⇒ Object
0-1 Quantity.
-
#unitPrice ⇒ Object
0-1 Money.
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
#effectiveTime ⇒ Object
0-1 dateTime
198 199 200 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 198 def effectiveTime @effectiveTime end |
#entityCodeableConcept ⇒ Object
0-1 CodeableConcept
195 196 197 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 195 def entityCodeableConcept @entityCodeableConcept end |
#entityReference ⇒ Object
0-1 Reference(Resource)
196 197 198 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 196 def entityReference @entityReference end |
#extension ⇒ Object
0-* [ Extension ]
193 194 195 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 193 def extension @extension end |
#factor ⇒ Object
0-1 decimal
201 202 203 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 201 def factor @factor end |
#id ⇒ Object
0-1 string
192 193 194 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 192 def id @id end |
#identifier ⇒ Object
0-1 Identifier
197 198 199 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 197 def identifier @identifier end |
#modifierExtension ⇒ Object
0-* [ Extension ]
194 195 196 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 194 def modifierExtension @modifierExtension end |
#net ⇒ Object
0-1 Money
203 204 205 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 203 def net @net end |
#points ⇒ Object
0-1 decimal
202 203 204 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 202 def points @points end |
#quantity ⇒ Object
0-1 Quantity
199 200 201 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 199 def quantity @quantity end |
#unitPrice ⇒ Object
0-1 Money
200 201 202 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 200 def unitPrice @unitPrice end |