Class: FHIR::Provenance::Agent
- Defined in:
- lib/fhir/resources/Provenance.rb
Defined Under Namespace
Classes: RelatedAgent
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', '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', 'enterer', 'performer', 'author', 'verifier', '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_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', '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'=>'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(Practitioner|RelatedPerson|Patient|Device|Organization).
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#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, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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
#actor ⇒ Object
0-1 Reference(Practitioner|RelatedPerson|Patient|Device|Organization)
68 69 70 |
# File 'lib/fhir/resources/Provenance.rb', line 68 def actor @actor end |
#extension ⇒ Object
0-* [ Extension ]
65 66 67 |
# File 'lib/fhir/resources/Provenance.rb', line 65 def extension @extension end |
#id ⇒ Object
0-1 string
64 65 66 |
# File 'lib/fhir/resources/Provenance.rb', line 64 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
66 67 68 |
# File 'lib/fhir/resources/Provenance.rb', line 66 def modifierExtension @modifierExtension end |
#relatedAgent ⇒ Object
0-* [ Provenance::Agent::RelatedAgent ]
70 71 72 |
# File 'lib/fhir/resources/Provenance.rb', line 70 def @relatedAgent end |
#role ⇒ Object
1-1 Coding
67 68 69 |
# File 'lib/fhir/resources/Provenance.rb', line 67 def role @role end |
#userId ⇒ Object
0-1 Identifier
69 70 71 |
# File 'lib/fhir/resources/Provenance.rb', line 69 def userId @userId end |