Class: FHIR::DSTU2::Signature
- Defined in:
- lib/fhir_dstu2_models/fhir/types/Signature.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'who' => ['uri', 'Reference'] }
- SEARCH_PARAMS =
METADATA = { 'id' => { 'type' => 'id', 'path' => 'Signature.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Signature.extension', 'min' => 0, 'max' => Float::INFINITY }, 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/valueset-signature-type' => ['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' => '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 }, 'whoUri' => { 'type' => 'uri', 'path' => 'Signature.who[x]', 'min' => 1, 'max' => 1 }, 'whoReference' => { 'type' => 'Reference', 'path' => 'Signature.who[x]', 'min' => 1, 'max' => 1 }, 'contentType' => { 'type' => 'code', 'path' => 'Signature.contentType', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://www.rfc-editor.org/bcp/bcp13.txt' } }, 'blob' => { 'type' => 'base64Binary', 'path' => 'Signature.blob', 'min' => 1, 'max' => 1 } }
Instance Attribute Summary collapse
-
#blob ⇒ Object
1-1 base64Binary.
-
#contentType ⇒ Object
1-1 code.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#type ⇒ Object
1-* [ Coding ].
-
#when ⇒ Object
1-1 instant.
-
#whoReference ⇒ Object
1-1 Reference().
-
#whoUri ⇒ Object
1-1 uri.
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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #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
#blob ⇒ Object
1-1 base64Binary
30 31 32 |
# File 'lib/fhir_dstu2_models/fhir/types/Signature.rb', line 30 def blob @blob end |
#contentType ⇒ Object
1-1 code
29 30 31 |
# File 'lib/fhir_dstu2_models/fhir/types/Signature.rb', line 29 def contentType @contentType end |
#extension ⇒ Object
0-* [ Extension ]
24 25 26 |
# File 'lib/fhir_dstu2_models/fhir/types/Signature.rb', line 24 def extension @extension end |
#id ⇒ Object
0-1 id
23 24 25 |
# File 'lib/fhir_dstu2_models/fhir/types/Signature.rb', line 23 def id @id end |
#type ⇒ Object
1-* [ Coding ]
25 26 27 |
# File 'lib/fhir_dstu2_models/fhir/types/Signature.rb', line 25 def type @type end |
#when ⇒ Object
1-1 instant
26 27 28 |
# File 'lib/fhir_dstu2_models/fhir/types/Signature.rb', line 26 def when @when end |
#whoReference ⇒ Object
1-1 Reference()
28 29 30 |
# File 'lib/fhir_dstu2_models/fhir/types/Signature.rb', line 28 def whoReference @whoReference end |
#whoUri ⇒ Object
1-1 uri
27 28 29 |
# File 'lib/fhir_dstu2_models/fhir/types/Signature.rb', line 27 def whoUri @whoUri end |