Class: FHIR::Contract::Term
- Defined in:
- lib/fhir_models/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'=>['statutory', 'subject-to']}, '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'=>['condition', 'warranty', 'innominate']}, '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']}, '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'}}, 'securityLabel' => {'valid_codes'=>{'http://hl7.org/fhir/v3/Confidentiality'=>['U', 'L', 'M', 'N', 'R', 'V'], 'http://hl7.org/fhir/v3/ActCode'=>['ETH', 'GDIS', 'HIV', 'PSY', 'SCA', 'SOC', 'SDV', 'SEX', 'STD', 'TBOO', 'SICKLE', 'DEMO', 'DOB', 'GENDER', 'LIVARG', 'MARST', 'RACE', 'REL', 'B', 'EMPL', 'LOCIS', 'SSP', 'ADOL', 'CEL', 'DIA', 'DRGIS', 'EMP', 'PDS', 'PRS', 'COMPT', 'HRCOMPT', 'RESCOMPT', 'RMGTCOMPT', 'SecurityPolicy', 'ObligationPolicy', 'ANONY', 'AOD', 'AUDIT', 'AUDTR', 'CPLYCC', 'CPLYCD', 'CPLYJPP', 'CPLYOPP', 'CPLYOSP', 'CPLYPOL', 'DECLASSIFYLABEL', 'DEID', 'DELAU', 'DOWNGRDLABEL', 'DRIVLABEL', 'ENCRYPT', 'ENCRYPTR', 'ENCRYPTT', 'ENCRYPTU', 'HUAPRV', 'LABEL', 'MASK', 'MINEC', 'PERSISTLABEL', 'PRIVMARK', 'PSEUD', 'REDACT', 'UPGRDLABEL', 'RefrainPolicy', 'NOAUTH', 'NOCOLLECT', 'NODSCLCD', 'NODSCLCDS', 'NOINTEGRATE', 'NOLIST', 'NOMOU', 'NOORGPOL', 'NOPAT', 'NOPERSISTP', 'NORDSCLCD', 'NORDSCLCDS', 'NORDSCLW', 'NORELINK', 'NOREUSE', 'NOVIP', 'ORCON'], 'http://hl7.org/fhir/v3/ObservationValue'=>['ABSTRED', 'AGGRED', 'ANONYED', 'MAPPED', 'MASKED', 'PSEUDED', 'REDACTED', 'SUBSETTED', 'SYNTAC', 'TRSLT', 'VERSIONED', 'CRYTOHASH', 'DIGSIG', 'HRELIABLE', 'RELIABLE', 'UNCERTREL', 'UNRELIABLE', 'CLINAST', 'DEVAST', 'HCPAST', 'PACQAST', 'PATAST', 'PAYAST', 'PROAST', 'SDMAST', 'CLINRPT', 'DEVRPT', 'HCPRPT', 'PACQRPT', 'PATRPT', 'PAYRPT', 'PRORPT', 'SDMRPT'], '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'], 'http://hl7.org/fhir/v3/ActUSPrivacyLaw'=>['_ActUSPrivacyLaw', '42CFRPart2', 'CommonRule', 'HIPAANOPP', 'HIPAAPsyNotes', 'HIPAASelfPay', 'Title38Section7332'], nil=>[]}, 'type'=>'Coding', 'path'=>'Term.securityLabel', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/security-labels'}}, '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 ].
-
#securityLabel ⇒ Object
0-* [ Coding ].
-
#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, #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
#action ⇒ Object
0-* [ CodeableConcept ]
215 216 217 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 215 def action @action end |
#actionReason ⇒ Object
0-* [ CodeableConcept ]
216 217 218 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 216 def actionReason @actionReason end |
#agent ⇒ Object
0-* [ Contract::Term::Agent ]
218 219 220 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 218 def agent @agent end |
#applies ⇒ Object
0-1 Period
211 212 213 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 211 def applies @applies end |
#extension ⇒ Object
0-* [ Extension ]
207 208 209 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 207 def extension @extension end |
#group ⇒ Object
0-* [ Contract::Term ]
221 222 223 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 221 def group @group end |
#id ⇒ Object
0-1 string
206 207 208 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 206 def id @id end |
#identifier ⇒ Object
0-1 Identifier
209 210 211 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 209 def identifier @identifier end |
#issued ⇒ Object
0-1 dateTime
210 211 212 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 210 def issued @issued end |
#modifierExtension ⇒ Object
0-* [ Extension ]
208 209 210 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 208 def modifierExtension @modifierExtension end |
#securityLabel ⇒ Object
0-* [ Coding ]
217 218 219 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 217 def securityLabel @securityLabel end |
#subType ⇒ Object
0-1 CodeableConcept
213 214 215 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 213 def subType @subType end |
#text ⇒ Object
0-1 string
219 220 221 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 219 def text @text end |
#topic ⇒ Object
0-* [ Reference(Resource) ]
214 215 216 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 214 def topic @topic end |
#type ⇒ Object
0-1 CodeableConcept
212 213 214 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 212 def type @type end |
#valuedItem ⇒ Object
0-* [ Contract::Term::ValuedItem ]
220 221 222 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 220 def valuedItem @valuedItem end |