Class: FHIR::Signature
- Defined in:
- lib/fhir_models/fhir/types/Signature.rb
Constant Summary collapse
- SEARCH_PARAMS =
[]
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Signature.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Signature.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'type' => {'valid_codes'=>{'urn:iso-astm:E1762-95:2013'=>['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', '1.2.840.10065.1.12.1.18']}, 'type'=>'Coding', 'path'=>'Signature.type', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/signature-type'}}, 'when' => {'type'=>'instant', 'path'=>'Signature.when', 'min'=>1, 'max'=>1}, 'who' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Signature.who', 'min'=>1, 'max'=>1}, 'onBehalfOf' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Signature.onBehalfOf', 'min'=>0, 'max'=>1}, 'targetFormat' => {'type'=>'code', 'path'=>'Signature.targetFormat', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/mimetypes|4.0.0'}}, 'sigFormat' => {'type'=>'code', 'path'=>'Signature.sigFormat', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/mimetypes|4.0.0'}}, 'data' => {'type'=>'base64Binary', 'path'=>'Signature.data', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#data ⇒ Object
0-1 base64Binary.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#onBehalfOf ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|RelatedPerson|Patient|Device|Organization).
-
#sigFormat ⇒ Object
0-1 code.
-
#targetFormat ⇒ Object
0-1 code.
-
#type ⇒ Object
1-* [ Coding ].
-
#when ⇒ Object
1-1 instant.
-
#who ⇒ Object
1-1 Reference(Practitioner|PractitionerRole|RelatedPerson|Patient|Device|Organization).
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
#data ⇒ Object
0-1 base64Binary
28 29 30 |
# File 'lib/fhir_models/fhir/types/Signature.rb', line 28 def data @data end |
#extension ⇒ Object
0-* [ Extension ]
21 22 23 |
# File 'lib/fhir_models/fhir/types/Signature.rb', line 21 def extension @extension end |
#id ⇒ Object
0-1 string
20 21 22 |
# File 'lib/fhir_models/fhir/types/Signature.rb', line 20 def id @id end |
#onBehalfOf ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|RelatedPerson|Patient|Device|Organization)
25 26 27 |
# File 'lib/fhir_models/fhir/types/Signature.rb', line 25 def onBehalfOf @onBehalfOf end |
#sigFormat ⇒ Object
0-1 code
27 28 29 |
# File 'lib/fhir_models/fhir/types/Signature.rb', line 27 def sigFormat @sigFormat end |
#targetFormat ⇒ Object
0-1 code
26 27 28 |
# File 'lib/fhir_models/fhir/types/Signature.rb', line 26 def targetFormat @targetFormat end |
#type ⇒ Object
1-* [ Coding ]
22 23 24 |
# File 'lib/fhir_models/fhir/types/Signature.rb', line 22 def type @type end |
#when ⇒ Object
1-1 instant
23 24 25 |
# File 'lib/fhir_models/fhir/types/Signature.rb', line 23 def when @when end |
#who ⇒ Object
1-1 Reference(Practitioner|PractitionerRole|RelatedPerson|Patient|Device|Organization)
24 25 26 |
# File 'lib/fhir_models/fhir/types/Signature.rb', line 24 def who @who end |