Class: FHIR::Contract::Term::Offer
- Defined in:
- lib/fhir_models/fhir/resources/Contract.rb
Defined Under Namespace
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Offer.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Offer.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Offer.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'identifier' => {'type'=>'Identifier', 'path'=>'Offer.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'party' => {'type'=>'Contract::Term::Offer::Party', 'path'=>'Offer.party', 'min'=>0, 'max'=>Float::INFINITY}, 'topic' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Offer.topic', 'min'=>0, 'max'=>1}, 'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/contracttermtypecodes'=>['statutory', 'subject-to']}, 'type'=>'CodeableConcept', 'path'=>'Offer.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-term-type'}}, 'decision' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-ActCode'=>['EMRGONLY', 'GRANTORCHOICE', 'IMPLIED', 'IMPLIEDD', 'NOCONSENT', 'NOPP', 'OPTIN', 'OPTINR', 'OPTOUT', 'OPTOUTE']}, 'type'=>'CodeableConcept', 'path'=>'Offer.decision', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-ActConsentDirective'}}, 'decisionMode' => {'valid_codes'=>{'http://hl7.org/fhir/contract-decision-mode'=>['policy']}, 'type'=>'CodeableConcept', 'path'=>'Offer.decisionMode', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-decision-mode'}}, 'answer' => {'type'=>'Contract::Term::Offer::Answer', 'path'=>'Offer.answer', 'min'=>0, 'max'=>Float::INFINITY}, 'text' => {'type'=>'string', 'path'=>'Offer.text', 'min'=>0, 'max'=>1}, 'linkId' => {'type'=>'string', 'path'=>'Offer.linkId', 'min'=>0, 'max'=>Float::INFINITY}, 'securityLabelNumber' => {'type'=>'unsignedInt', 'path'=>'Offer.securityLabelNumber', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#answer ⇒ Object
0-* [ Contract::Term::Offer::Answer ].
-
#decision ⇒ Object
0-1 CodeableConcept.
-
#decisionMode ⇒ Object
0-* [ CodeableConcept ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#linkId ⇒ Object
0-* [ string ].
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#party ⇒ Object
0-* [ Contract::Term::Offer::Party ].
-
#securityLabelNumber ⇒ Object
0-* [ unsignedInt ].
-
#text ⇒ Object
0-1 string.
-
#topic ⇒ Object
0-1 Reference(Resource).
-
#type ⇒ Object
0-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, #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
#answer ⇒ Object
0-* [ Contract::Term::Offer::Answer ]
230 231 232 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 230 def answer @answer end |
#decision ⇒ Object
0-1 CodeableConcept
228 229 230 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 228 def decision @decision end |
#decisionMode ⇒ Object
0-* [ CodeableConcept ]
229 230 231 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 229 def decisionMode @decisionMode end |
#extension ⇒ Object
0-* [ Extension ]
222 223 224 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 222 def extension @extension end |
#id ⇒ Object
0-1 string
221 222 223 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 221 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
224 225 226 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 224 def identifier @identifier end |
#linkId ⇒ Object
0-* [ string ]
232 233 234 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 232 def linkId @linkId end |
#modifierExtension ⇒ Object
0-* [ Extension ]
223 224 225 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 223 def modifierExtension @modifierExtension end |
#party ⇒ Object
0-* [ Contract::Term::Offer::Party ]
225 226 227 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 225 def party @party end |
#securityLabelNumber ⇒ Object
0-* [ unsignedInt ]
233 234 235 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 233 def securityLabelNumber @securityLabelNumber end |
#text ⇒ Object
0-1 string
231 232 233 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 231 def text @text end |
#topic ⇒ Object
0-1 Reference(Resource)
226 227 228 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 226 def topic @topic end |
#type ⇒ Object
0-1 CodeableConcept
227 228 229 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 227 def type @type end |