Class: FHIR::R4::Provenance
- Defined in:
- lib/fhir_models/r4/generated/resources/Provenance.rb
Defined Under Namespace
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'occurred' => ['Period', 'dateTime'] }
- SEARCH_PARAMS =
['agent', 'agent-role', 'agent-type', 'entity', 'location', 'patient', 'recorded', 'signature-type', 'target', 'when']
- 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' => {'valid_codes'=>{'urn:ietf:bcp:47'=>['ar', 'bn', 'cs', 'da', 'de', 'de-AT', 'de-CH', 'de-DE', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IN', 'en-NZ', 'en-SG', 'en-US', 'es', 'es-AR', 'es-ES', 'es-UY', 'fi', 'fr', 'fr-BE', 'fr-CH', 'fr-FR', 'fy', 'fy-NL', 'hi', 'hr', 'it', 'it-CH', 'it-IT', 'ja', 'ko', 'nl', 'nl-BE', 'nl-NL', 'no', 'no-NO', 'pa', 'pl', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-RS', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'Provenance.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', '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}, 'occurredPeriod' => {'type'=>'Period', 'path'=>'Provenance.occurred[x]', 'min'=>0, 'max'=>1}, 'occurredDateTime' => {'type'=>'dateTime', 'path'=>'Provenance.occurred[x]', 'min'=>0, 'max'=>1}, 'recorded' => {'type'=>'instant', 'path'=>'Provenance.recorded', 'min'=>1, 'max'=>1}, 'policy' => {'type'=>'uri', 'path'=>'Provenance.policy', 'min'=>0, 'max'=>Float::INFINITY}, 'location' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'Provenance.location', 'min'=>0, 'max'=>1}, 'reason' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-ActReason'=>['PurposeOfUse', 'HMARKT', 'HOPERAT', 'CAREMGT', 'DONAT', 'FRAUD', 'GOV', 'HACCRED', 'HCOMPL', 'HDECD', 'HDIRECT', 'HDM', 'HLEGAL', 'HOUTCOMS', 'HPRGRP', 'HQUALIMP', 'HSYSADMIN', 'LABELING', 'METAMGT', 'MEMADMIN', 'MILCDM', 'PATADMIN', 'PATSFTY', 'PERFMSR', 'RECORDMGT', 'SYSDEV', 'HTEST', 'TRAIN', 'HPAYMT', 'CLMATTCH', 'COVAUTH', 'COVERAGE', 'ELIGDTRM', 'ELIGVER', 'ENROLLM', 'MILDCRG', 'REMITADV', 'HRESCH', 'BIORCH', 'CLINTRCH', 'CLINTRCHNPC', 'CLINTRCHPC', 'PRECLINTRCH', 'DSRCH', 'POARCH', 'TRANSRCH', 'PATRQT', 'FAMRQT', 'PWATRNY', 'SUPNWK', 'PUBHLTH', 'DISASTER', 'THREAT', 'TREAT', 'CLINTRL', 'COC', 'ETREAT', 'BTG', 'ERTREAT', 'POPHLTH']}, 'type'=>'CodeableConcept', 'path'=>'Provenance.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-PurposeOfUse'}}, 'activity' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-DocumentCompletion'=>['LA'], 'http://terminology.hl7.org/CodeSystem/v3-ActCode'=>['ANONY', 'DEID', 'MASK', 'LABEL', 'PSEUD'], 'http://terminology.hl7.org/CodeSystem/v3-DataOperation'=>['CREATE', 'DELETE', 'UPDATE', 'APPEND', 'NULLIFY'], 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'=>['PART', 'ADM', 'ATND', 'CALLBCK', 'CON', 'DIS', 'ESC', 'REF', 'AUT', 'INF', 'TRANS', 'ENT', 'WIT', 'CST', 'DIR', 'ALY', 'BBY', 'CAT', 'CSM', 'TPA', 'DEV', 'NRD', 'RDV', 'DON', 'EXPAGNT', 'EXPART', 'EXPTRGT', 'EXSRC', 'PRD', 'SBJ', 'SPC', 'IND', 'BEN', 'CAGNT', 'COV', 'GUAR', 'HLD', 'RCT', 'RCV', 'IRCP', 'NOT', 'PRCP', 'REFB', 'REFT', 'TRC', 'LOC', 'DST', 'ELOC', 'ORG', 'RML', 'VIA', 'PRF', 'DIST', 'PPRF', 'SPRF', 'RESP', 'VRF', 'AUTHEN', 'LA']}, 'type'=>'CodeableConcept', 'path'=>'Provenance.activity', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/provenance-activity-type'}}, '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} }
Constants included from FHIR::R4
Constants included from FHIR
Account, ActivityDefinition, Address, AdverseEvent, Age, AllergyIntolerance, Annotation, Appointment, AppointmentResponse, Attachment, AuditEvent, BackboneElement, Basic, Binary, BiologicallyDerivedProduct, BodyStructure, Bundle, CapabilityStatement, CarePlan, CareTeam, CatalogEntry, ChargeItem, ChargeItemDefinition, Claim, ClaimResponse, ClinicalImpression, CodeSystem, CodeableConcept, Coding, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, Condition, Consent, ContactDetail, ContactPoint, Contract, Contributor, Count, Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, DataRequirement, Definitions, DetectedIssue, Device, DeviceDefinition, DeviceMetric, DeviceRequest, DeviceUseStatement, DiagnosticReport, Distance, DocumentManifest, DocumentReference, DomainResource, Dosage, Duration, EffectEvidenceSynthesis, Element, ElementDefinition, Encounter, Endpoint, EnrollmentRequest, EnrollmentResponse, EpisodeOfCare, EventDefinition, Evidence, EvidenceVariable, ExampleScenario, ExplanationOfBenefit, Expression, Extension, FamilyMemberHistory, Flag, Goal, GraphDefinition, Group, GuidanceResponse, HealthcareService, HumanName, Identifier, ImagingStudy, Immunization, ImmunizationEvaluation, ImmunizationRecommendation, ImplementationGuide, InsurancePlan, Invoice, Library, Linkage, List, Location, MarketingStatus, Measure, MeasureReport, Media, Medication, MedicationAdministration, MedicationDispense, MedicationKnowledge, MedicationRequest, MedicationStatement, MedicinalProduct, MedicinalProductAuthorization, MedicinalProductContraindication, MedicinalProductIndication, MedicinalProductIngredient, MedicinalProductInteraction, MedicinalProductManufactured, MedicinalProductPackaged, MedicinalProductPharmaceutical, MedicinalProductUndesirableEffect, MessageDefinition, MessageHeader, Meta, MolecularSequence, Money, NamingSystem, Narrative, NutritionOrder, Observation, ObservationDefinition, OperationDefinition, OperationOutcome, Organization, OrganizationAffiliation, PRIMITIVES, ParameterDefinition, Parameters, Patient, PaymentNotice, PaymentReconciliation, Period, Person, PlanDefinition, Population, Practitioner, PractitionerRole, Procedure, ProdCharacteristic, ProductShelfLife, Provenance, Quantity, Questionnaire, QuestionnaireResponse, FHIR::RESOURCES, FHIR::Range, FHIR::Ratio, FHIR::Reference, FHIR::RelatedArtifact, FHIR::RelatedPerson, FHIR::RequestGroup, FHIR::ResearchDefinition, FHIR::ResearchElementDefinition, FHIR::ResearchStudy, FHIR::ResearchSubject, FHIR::Resource, FHIR::RiskAssessment, FHIR::RiskEvidenceSynthesis, SampledData, Schedule, SearchParameter, ServiceRequest, Signature, Slot, Specimen, SpecimenDefinition, StructureDefinition, StructureDefinitionCompare, StructureMap, Subscription, Substance, SubstanceAmount, SubstanceNucleicAcid, SubstancePolymer, SubstanceProtein, SubstanceReferenceInformation, SubstanceSourceMaterial, SubstanceSpecification, SupplyDelivery, SupplyRequest, TYPES, Task, TerminologyCapabilities, TestReport, TestScript, Timing, TriggerDefinition, UsageContext, ValueSet, VerificationResult, VisionPrescription
Instance Attribute Summary collapse
-
#activity ⇒ Object
0-1 CodeableConcept.
-
#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 ].
-
#occurredDateTime ⇒ Object
0-1 dateTime.
-
#occurredPeriod ⇒ Object
0-1 Period.
-
#policy ⇒ Object
0-* [ uri ].
-
#reason ⇒ Object
0-* [ CodeableConcept ].
-
#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 FHIR::R4
#fhir_version_string, #versioned_fhir_module
Methods included from FHIR
default_logger, fhir_version_string, logger, logger=, primitive?, versioned_fhir_module
Methods included from ClassMethods
Methods included from ClassXml
#from_xml, #valid?, #validate, #xml_node_to_hash
Methods included from InstanceXml
Methods included from ClassJson
Methods included from InstanceJson
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
Methods included from Deprecate
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 CodeableConcept
95 96 97 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 95 def activity @activity end |
#agent ⇒ Object
1-* [ Provenance::Agent ]
96 97 98 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 96 def agent @agent end |
#contained ⇒ Object
0-* [ Resource ]
85 86 87 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 85 def contained @contained end |
#entity ⇒ Object
0-* [ Provenance::Entity ]
97 98 99 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 97 def entity @entity end |
#extension ⇒ Object
0-* [ Extension ]
86 87 88 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 86 def extension @extension end |
#id ⇒ Object
0-1 id
80 81 82 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 80 def id @id end |
#implicitRules ⇒ Object
0-1 uri
82 83 84 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 82 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
83 84 85 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 83 def language @language end |
#location ⇒ Object
0-1 Reference(Location)
93 94 95 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 93 def location @location end |
#meta ⇒ Object
0-1 Meta
81 82 83 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 81 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
87 88 89 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 87 def modifierExtension @modifierExtension end |
#occurredDateTime ⇒ Object
0-1 dateTime
90 91 92 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 90 def occurredDateTime @occurredDateTime end |
#occurredPeriod ⇒ Object
0-1 Period
89 90 91 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 89 def occurredPeriod @occurredPeriod end |
#policy ⇒ Object
0-* [ uri ]
92 93 94 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 92 def policy @policy end |
#reason ⇒ Object
0-* [ CodeableConcept ]
94 95 96 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 94 def reason @reason end |
#recorded ⇒ Object
1-1 instant
91 92 93 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 91 def recorded @recorded end |
#signature ⇒ Object
0-* [ Signature ]
98 99 100 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 98 def signature @signature end |
#target ⇒ Object
1-* [ Reference(Resource) ]
88 89 90 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 88 def target @target end |
#text ⇒ Object
0-1 Narrative
84 85 86 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 84 def text @text end |
Instance Method Details
#resourceType ⇒ Object
100 101 102 |
# File 'lib/fhir_models/r4/generated/resources/Provenance.rb', line 100 def resourceType 'Provenance' end |