Class: FHIR::DSTU2::Provenance::Agent
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Provenance.rb
Defined Under Namespace
Classes: RelatedAgent
Constant Summary collapse
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Agent.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Agent.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Agent.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'role' => { 'valid_codes' => { 'http://hl7.org/fhir/provenance-participant-role' => ['enterer', 'performer', 'author', 'verifier', 'legal', 'attester', 'informant', 'custodian', 'assembler', 'composer'] }, 'type' => 'Coding', 'path' => 'Agent.role', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/provenance-agent-role' } }, 'actor' => { 'type' => 'Reference', 'path' => 'Agent.actor', 'min' => 0, 'max' => 1 }, 'userId' => { 'type' => 'Identifier', 'path' => 'Agent.userId', 'min' => 0, 'max' => 1 }, 'relatedAgent' => { 'type' => 'Provenance::Agent::RelatedAgent', 'path' => 'Agent.relatedAgent', 'min' => 0, 'max' => Float::INFINITY } }
Instance Attribute Summary collapse
-
#actor ⇒ Object
0-1 Reference().
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#relatedAgent ⇒ Object
0-* [ Provenance::Agent::RelatedAgent ].
-
#role ⇒ Object
1-1 Coding.
-
#userId ⇒ Object
0-1 Identifier.
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
#actor ⇒ Object
0-1 Reference()
69 70 71 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 69 def actor @actor end |
#extension ⇒ Object
0-* [ Extension ]
66 67 68 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 66 def extension @extension end |
#id ⇒ Object
0-1 id
65 66 67 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 65 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
67 68 69 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 67 def modifierExtension @modifierExtension end |
#relatedAgent ⇒ Object
0-* [ Provenance::Agent::RelatedAgent ]
71 72 73 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 71 def @relatedAgent end |
#role ⇒ Object
1-1 Coding
68 69 70 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 68 def role @role end |
#userId ⇒ Object
0-1 Identifier
70 71 72 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 70 def userId @userId end |