Class: FHIR::Contract::Term
- Defined in:
- lib/fhir/resources/Contract.rb
Defined Under Namespace
Classes: Agent, ValuedItem
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Term.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Term.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Term.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'identifier' => {'type'=>'Identifier', 'path'=>'Term.identifier', 'min'=>0, 'max'=>1}, 'issued' => {'type'=>'dateTime', 'path'=>'Term.issued', 'min'=>0, 'max'=>1}, 'applies' => {'type'=>'Period', 'path'=>'Term.applies', 'min'=>0, 'max'=>1}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/contracttermtypecodes'=>['OralHealth', 'Vision', 'OralHealth', 'Vision']}, 'type'=>'CodeableConcept', 'path'=>'Term.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-term-type'}}, 'subType' => {'valid_codes'=>{'http://hl7.org/fhir/contracttermsubtypecodes'=>['OralHealth-Basic', 'OralHealth-Major', 'OralHealth-Orthodontic', 'OralHealth-Basic', 'OralHealth-Major', 'OralHealth-Orthodontic']}, 'type'=>'CodeableConcept', 'path'=>'Term.subType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-term-subtype'}}, 'topic' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Term.topic', 'min'=>0, 'max'=>Float::INFINITY}, 'action' => {'valid_codes'=>{'http://www.hl7.org/fhir/contractaction'=>['action-a', 'action-b', 'action-a', 'action-b']}, 'type'=>'CodeableConcept', 'path'=>'Term.action', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-action'}}, 'actionReason' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH']}, 'type'=>'CodeableConcept', 'path'=>'Term.actionReason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse'}}, 'agent' => {'type'=>'Contract::Term::Agent', 'path'=>'Term.agent', 'min'=>0, 'max'=>Float::INFINITY}, 'text' => {'type'=>'string', 'path'=>'Term.text', 'min'=>0, 'max'=>1}, 'valuedItem' => {'type'=>'Contract::Term::ValuedItem', 'path'=>'Term.valuedItem', 'min'=>0, 'max'=>Float::INFINITY}, 'group' => {'type'=>'Contract::Term', 'path'=>'Term.group', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#action ⇒ Object
0-* [ CodeableConcept ].
-
#actionReason ⇒ Object
0-* [ CodeableConcept ].
-
#agent ⇒ Object
0-* [ Contract::Term::Agent ].
-
#applies ⇒ Object
0-1 Period.
-
#extension ⇒ Object
0-* [ Extension ].
-
#group ⇒ Object
0-* [ Contract::Term ].
-
#id ⇒ Object
0-1 string.
-
#identifier ⇒ Object
0-1 Identifier.
-
#issued ⇒ Object
0-1 dateTime.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#subType ⇒ Object
0-1 CodeableConcept.
-
#text ⇒ Object
0-1 string.
-
#topic ⇒ Object
0-* [ Reference(Resource) ].
-
#type ⇒ Object
0-1 CodeableConcept.
-
#valuedItem ⇒ Object
0-* [ Contract::Term::ValuedItem ].
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
#action ⇒ Object
0-* [ CodeableConcept ]
210 211 212 |
# File 'lib/fhir/resources/Contract.rb', line 210 def action @action end |
#actionReason ⇒ Object
0-* [ CodeableConcept ]
211 212 213 |
# File 'lib/fhir/resources/Contract.rb', line 211 def actionReason @actionReason end |
#agent ⇒ Object
0-* [ Contract::Term::Agent ]
212 213 214 |
# File 'lib/fhir/resources/Contract.rb', line 212 def agent @agent end |
#applies ⇒ Object
0-1 Period
206 207 208 |
# File 'lib/fhir/resources/Contract.rb', line 206 def applies @applies end |
#extension ⇒ Object
0-* [ Extension ]
202 203 204 |
# File 'lib/fhir/resources/Contract.rb', line 202 def extension @extension end |
#group ⇒ Object
0-* [ Contract::Term ]
215 216 217 |
# File 'lib/fhir/resources/Contract.rb', line 215 def group @group end |
#id ⇒ Object
0-1 string
201 202 203 |
# File 'lib/fhir/resources/Contract.rb', line 201 def id @id end |
#identifier ⇒ Object
0-1 Identifier
204 205 206 |
# File 'lib/fhir/resources/Contract.rb', line 204 def identifier @identifier end |
#issued ⇒ Object
0-1 dateTime
205 206 207 |
# File 'lib/fhir/resources/Contract.rb', line 205 def issued @issued end |
#modifierExtension ⇒ Object
0-* [ Extension ]
203 204 205 |
# File 'lib/fhir/resources/Contract.rb', line 203 def modifierExtension @modifierExtension end |
#subType ⇒ Object
0-1 CodeableConcept
208 209 210 |
# File 'lib/fhir/resources/Contract.rb', line 208 def subType @subType end |
#text ⇒ Object
0-1 string
213 214 215 |
# File 'lib/fhir/resources/Contract.rb', line 213 def text @text end |
#topic ⇒ Object
0-* [ Reference(Resource) ]
209 210 211 |
# File 'lib/fhir/resources/Contract.rb', line 209 def topic @topic end |
#type ⇒ Object
0-1 CodeableConcept
207 208 209 |
# File 'lib/fhir/resources/Contract.rb', line 207 def type @type end |
#valuedItem ⇒ Object
0-* [ Contract::Term::ValuedItem ]
214 215 216 |
# File 'lib/fhir/resources/Contract.rb', line 214 def valuedItem @valuedItem end |