Class: FHIR::DSTU2::Contract::Signer

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_dstu2_models/fhir/resources/Contract.rb

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'id', 'path'=>'Signer.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Signer.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Signer.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/contractsignertypecodes'=>['1.2.840.10065.1.12.1.1', '1.2.840.10065.1.12.1.2', '1.2.840.10065.1.12.1.3', '1.2.840.10065.1.12.1.4', '1.2.840.10065.1.12.1.5', '1.2.840.10065.1.12.1.6', '1.2.840.10065.1.12.1.7', '1.2.840.10065.1.12.1.8', '1.2.840.10065.1.12.1.9', '1.2.840.10065.1.12.1.10', '1.2.840.10065.1.12.1.11', '1.2.840.10065.1.12.1.12', '1.2.840.10065.1.12.1.13', '1.2.840.10065.1.12.1.14', '1.2.840.10065.1.12.1.15', '1.2.840.10065.1.12.1.16', '1.2.840.10065.1.12.1.17']}, 'type'=>'Coding', 'path'=>'Signer.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-signer-type'}},
  'party' => {'type'=>'Reference', 'path'=>'Signer.party', 'min'=>1, 'max'=>1},
  'signature' => {'type'=>'string', 'path'=>'Signer.signature', 'min'=>1, 'max'=>1}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

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::DSTU2::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model

Instance Attribute Details

#extensionObject

0-* [ Extension ]



114
115
116
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 114

def extension
  @extension
end

#idObject

0-1 id



113
114
115
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 113

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



115
116
117
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 115

def modifierExtension
  @modifierExtension
end

#partyObject

1-1 Reference()



117
118
119
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 117

def party
  @party
end

#signatureObject

1-1 string



118
119
120
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 118

def signature
  @signature
end

#typeObject

1-1 Coding



116
117
118
# File 'lib/fhir_dstu2_models/fhir/resources/Contract.rb', line 116

def type
  @type
end