Class: FHIR::Provenance
- Defined in:
- lib/fhir/resources/Provenance.rb
Defined Under Namespace
Constant Summary collapse
- SEARCH_PARAMS =
["agent", "end", "entity", "entity-type", "location", "patient", "sig", "start", "target", "userid"]
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'Provenance.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'Provenance.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'Provenance.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'type'=>'code', 'path'=>'Provenance.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'Provenance.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'Provenance.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'Provenance.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Provenance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'target' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Provenance.target', 'min'=>1, 'max'=>Float::INFINITY}, 'period' => {'type'=>'Period', 'path'=>'Provenance.period', 'min'=>0, 'max'=>1}, 'recorded' => {'type'=>'instant', 'path'=>'Provenance.recorded', 'min'=>1, 'max'=>1}, 'reason' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['PurposeOfUse', 'HMARKT', 'HOPERAT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'MEMADMIN', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'REMITADV', 'HRESCH', 'CLINTRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CAREMGT', 'CLINTRL', 'ETREAT', 'POPHLTH']}, 'type'=>'Coding', 'path'=>'Provenance.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-PurposeOfUse'}}, 'activity' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActStatus'=>['aborted', 'cancelled', 'completed', 'new', 'nullified', 'obsolete'], 'http://hl7.org/fhir/v3/DocumentCompletion'=>['AU', 'DI', 'DO', 'LA', 'UC']}, 'type'=>'Coding', 'path'=>'Provenance.activity', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ProvenanceEventCurrentState'}}, 'location' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'Provenance.location', 'min'=>0, 'max'=>1}, 'policy' => {'type'=>'uri', 'path'=>'Provenance.policy', 'min'=>0, 'max'=>Float::INFINITY}, 'agent' => {'type'=>'Provenance::Agent', 'path'=>'Provenance.agent', 'min'=>1, 'max'=>Float::INFINITY}, 'entity' => {'type'=>'Provenance::Entity', 'path'=>'Provenance.entity', 'min'=>0, 'max'=>Float::INFINITY}, 'signature' => {'type'=>'Signature', 'path'=>'Provenance.signature', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#activity ⇒ Object
0-1 Coding.
-
#agent ⇒ Object
1-* [ Provenance::Agent ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#entity ⇒ Object
0-* [ Provenance::Entity ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#location ⇒ Object
0-1 Reference(Location).
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#period ⇒ Object
0-1 Period.
-
#policy ⇒ Object
0-* [ uri ].
-
#reason ⇒ Object
0-* [ Coding ].
-
#recorded ⇒ Object
1-1 instant.
-
#signature ⇒ Object
0-* [ Signature ].
-
#target ⇒ Object
1-* [ Reference(Resource) ].
-
#text ⇒ Object
0-1 Narrative.
Instance Method Summary collapse
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
#activity ⇒ Object
0-1 Coding
111 112 113 |
# File 'lib/fhir/resources/Provenance.rb', line 111 def activity @activity end |
#agent ⇒ Object
1-* [ Provenance::Agent ]
114 115 116 |
# File 'lib/fhir/resources/Provenance.rb', line 114 def agent @agent end |
#contained ⇒ Object
0-* [ Resource ]
104 105 106 |
# File 'lib/fhir/resources/Provenance.rb', line 104 def contained @contained end |
#entity ⇒ Object
0-* [ Provenance::Entity ]
115 116 117 |
# File 'lib/fhir/resources/Provenance.rb', line 115 def entity @entity end |
#extension ⇒ Object
0-* [ Extension ]
105 106 107 |
# File 'lib/fhir/resources/Provenance.rb', line 105 def extension @extension end |
#id ⇒ Object
0-1 id
99 100 101 |
# File 'lib/fhir/resources/Provenance.rb', line 99 def id @id end |
#implicitRules ⇒ Object
0-1 uri
101 102 103 |
# File 'lib/fhir/resources/Provenance.rb', line 101 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
102 103 104 |
# File 'lib/fhir/resources/Provenance.rb', line 102 def language @language end |
#location ⇒ Object
0-1 Reference(Location)
112 113 114 |
# File 'lib/fhir/resources/Provenance.rb', line 112 def location @location end |
#meta ⇒ Object
0-1 Meta
100 101 102 |
# File 'lib/fhir/resources/Provenance.rb', line 100 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
106 107 108 |
# File 'lib/fhir/resources/Provenance.rb', line 106 def modifierExtension @modifierExtension end |
#period ⇒ Object
0-1 Period
108 109 110 |
# File 'lib/fhir/resources/Provenance.rb', line 108 def period @period end |
#policy ⇒ Object
0-* [ uri ]
113 114 115 |
# File 'lib/fhir/resources/Provenance.rb', line 113 def policy @policy end |
#reason ⇒ Object
0-* [ Coding ]
110 111 112 |
# File 'lib/fhir/resources/Provenance.rb', line 110 def reason @reason end |
#recorded ⇒ Object
1-1 instant
109 110 111 |
# File 'lib/fhir/resources/Provenance.rb', line 109 def recorded @recorded end |
#signature ⇒ Object
0-* [ Signature ]
116 117 118 |
# File 'lib/fhir/resources/Provenance.rb', line 116 def signature @signature end |
#target ⇒ Object
1-* [ Reference(Resource) ]
107 108 109 |
# File 'lib/fhir/resources/Provenance.rb', line 107 def target @target end |
#text ⇒ Object
0-1 Narrative
103 104 105 |
# File 'lib/fhir/resources/Provenance.rb', line 103 def text @text end |
Instance Method Details
#resourceType ⇒ Object
118 119 120 |
# File 'lib/fhir/resources/Provenance.rb', line 118 def resourceType 'Provenance' end |