Class: FHIR::R4B::Citation::CitedArtifact

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/r4b/generated/resources/Citation.rb

Defined Under Namespace

Classes: Abstract, Classification, Contributorship, Part, PublicationForm, RelatesTo, StatusDate, Title, Version, WebLocation

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'CitedArtifact.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'CitedArtifact.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'CitedArtifact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'CitedArtifact.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'relatedIdentifier' => {'type'=>'Identifier', 'path'=>'CitedArtifact.relatedIdentifier', 'min'=>0, 'max'=>Float::INFINITY},
  'dateAccessed' => {'type'=>'dateTime', 'path'=>'CitedArtifact.dateAccessed', 'min'=>0, 'max'=>1},
  'version' => {'type'=>'Citation::CitedArtifact::Version', 'path'=>'CitedArtifact.version', 'min'=>0, 'max'=>1},
  'currentState' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/cited-artifact-status-type'=>['created', 'submitted', 'withdrawn', 'pre-review', 'under-review', 'post-review-pre-published', 'rejected', 'published-early-form', 'published-final-form', 'accepted', 'archived', 'retracted', 'draft', 'active', 'approved']}, 'type'=>'CodeableConcept', 'path'=>'CitedArtifact.currentState', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/cited-artifact-status-type'}},
  'statusDate' => {'type'=>'Citation::CitedArtifact::StatusDate', 'path'=>'CitedArtifact.statusDate', 'min'=>0, 'max'=>Float::INFINITY},
  'title' => {'type'=>'Citation::CitedArtifact::Title', 'path'=>'CitedArtifact.title', 'min'=>0, 'max'=>Float::INFINITY},
  'abstract' => {'type'=>'Citation::CitedArtifact::Abstract', 'path'=>'CitedArtifact.abstract', 'min'=>0, 'max'=>Float::INFINITY},
  'part' => {'type'=>'Citation::CitedArtifact::Part', 'path'=>'CitedArtifact.part', 'min'=>0, 'max'=>1},
  'relatesTo' => {'type'=>'Citation::CitedArtifact::RelatesTo', 'path'=>'CitedArtifact.relatesTo', 'min'=>0, 'max'=>Float::INFINITY},
  'publicationForm' => {'type'=>'Citation::CitedArtifact::PublicationForm', 'path'=>'CitedArtifact.publicationForm', 'min'=>0, 'max'=>Float::INFINITY},
  'webLocation' => {'type'=>'Citation::CitedArtifact::WebLocation', 'path'=>'CitedArtifact.webLocation', 'min'=>0, 'max'=>Float::INFINITY},
  'classification' => {'type'=>'Citation::CitedArtifact::Classification', 'path'=>'CitedArtifact.classification', 'min'=>0, 'max'=>Float::INFINITY},
  'contributorship' => {'type'=>'Citation::CitedArtifact::Contributorship', 'path'=>'CitedArtifact.contributorship', 'min'=>0, 'max'=>1},
  'note' => {'type'=>'Annotation', 'path'=>'CitedArtifact.note', 'min'=>0, 'max'=>Float::INFINITY}
}

Constants included from FHIR::R4

FHIR::R4::PRIMITIVES, FHIR::R4::RESOURCES, FHIR::R4::TYPES

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

Constants included from FHIR::R4B

PRIMITIVES, RESOURCES, TYPES

Instance Attribute Summary collapse

Method Summary

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

#from_contents

Methods included from ClassXml

#from_xml, #valid?, #validate, #xml_node_to_hash

Methods included from InstanceXml

#hash_to_xml_node, #to_xml

Methods included from ClassJson

#from_json

Methods included from InstanceJson

#to_json

Methods included from Hashable

#from_hash, #to_hash

Methods included from FHIR::R4B

#fhir_version_string, #versioned_fhir_module

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

#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

#abstractObject

0-* [ Citation::CitedArtifact::Abstract ]



631
632
633
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 631

def abstract
  @abstract
end

#classificationObject

0-* [ Citation::CitedArtifact::Classification ]



636
637
638
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 636

def classification
  @classification
end

#contributorshipObject

0-1 Citation::CitedArtifact::Contributorship



637
638
639
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 637

def contributorship
  @contributorship
end

#currentStateObject

0-* [ CodeableConcept ]



628
629
630
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 628

def currentState
  @currentState
end

#dateAccessedObject

0-1 dateTime



626
627
628
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 626

def dateAccessed
  @dateAccessed
end

#extensionObject

0-* [ Extension ]



622
623
624
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 622

def extension
  @extension
end

#idObject

0-1 string



621
622
623
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 621

def id
  @id
end

#identifierObject

0-* [ Identifier ]



624
625
626
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 624

def identifier
  @identifier
end

#modifierExtensionObject

0-* [ Extension ]



623
624
625
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 623

def modifierExtension
  @modifierExtension
end

#noteObject

0-* [ Annotation ]



638
639
640
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 638

def note
  @note
end

#partObject

0-1 Citation::CitedArtifact::Part



632
633
634
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 632

def part
  @part
end

#publicationFormObject

0-* [ Citation::CitedArtifact::PublicationForm ]



634
635
636
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 634

def publicationForm
  @publicationForm
end

#relatedIdentifierObject

0-* [ Identifier ]



625
626
627
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 625

def relatedIdentifier
  @relatedIdentifier
end

#relatesToObject

0-* [ Citation::CitedArtifact::RelatesTo ]



633
634
635
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 633

def relatesTo
  @relatesTo
end

#statusDateObject

0-* [ Citation::CitedArtifact::StatusDate ]



629
630
631
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 629

def statusDate
  @statusDate
end

#titleObject

0-* [ Citation::CitedArtifact::Title ]



630
631
632
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 630

def title
  @title
end

#versionObject

0-1 Citation::CitedArtifact::Version



627
628
629
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 627

def version
  @version
end

#webLocationObject

0-* [ Citation::CitedArtifact::WebLocation ]



635
636
637
# File 'lib/fhir_models/r4b/generated/resources/Citation.rb', line 635

def webLocation
  @webLocation
end