Class: FHIR::DSTU2::Provenance::Entity
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Provenance.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'Entity.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Entity.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Entity.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'role' => {'valid_codes'=>{'http://hl7.org/fhir/provenance-entity-role'=>['derivation', 'revision', 'quotation', 'source']}, 'type'=>'code', 'path'=>'Entity.role', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/provenance-entity-role'}}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'Coding', 'path'=>'Entity.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-types'}}, 'reference' => {'type'=>'uri', 'path'=>'Entity.reference', 'min'=>1, 'max'=>1}, 'display' => {'type'=>'string', 'path'=>'Entity.display', 'min'=>0, 'max'=>1}, 'agent' => {'type'=>'Provenance::Agent', 'path'=>'Entity.agent', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#agent ⇒ Object
0-1 Provenance::Agent.
-
#display ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#reference ⇒ Object
1-1 uri.
-
#role ⇒ Object
1-1 code.
-
#type ⇒ Object
1-1 Coding.
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?, #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
#agent ⇒ Object
0-1 Provenance::Agent
97 98 99 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 97 def agent @agent end |
#display ⇒ Object
0-1 string
96 97 98 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 96 def display @display end |
#extension ⇒ Object
0-* [ Extension ]
91 92 93 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 91 def extension @extension end |
#id ⇒ Object
0-1 id
90 91 92 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 90 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
92 93 94 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 92 def modifierExtension @modifierExtension end |
#reference ⇒ Object
1-1 uri
95 96 97 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 95 def reference @reference end |
#role ⇒ Object
1-1 code
93 94 95 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 93 def role @role end |
#type ⇒ Object
1-1 Coding
94 95 96 |
# File 'lib/fhir_dstu2_models/fhir/resources/Provenance.rb', line 94 def type @type end |