Class: FHIR::R5::ImagingStudy

Inherits:
Model show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/r5/generated/resources/ImagingStudy.rb

Defined Under Namespace

Classes: Series

Constant Summary collapse

SEARCH_PARAMS =
['based-on', 'body-site', 'body-structure', 'dicom-class', 'encounter', 'endpoint', 'identifier', 'instance', 'modality', 'patient', 'performer', 'referrer', 'series', 'started', 'status', 'subject']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'ImagingStudy.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'ImagingStudy.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'ImagingStudy.implicitRules', 'min'=>0, 'max'=>1},
  'language' => {'type'=>'code', 'path'=>'ImagingStudy.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'additional'=>[{'purpose'=>'starter', 'valueSet'=>'http://hl7.org/fhir/ValueSet/languages'}], 'uri'=>'http://hl7.org/fhir/ValueSet/all-languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'ImagingStudy.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'ImagingStudy.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'ImagingStudy.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'ImagingStudy.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'ImagingStudy.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/imagingstudy-status'=>['registered', 'available', 'cancelled', 'entered-in-error', 'unknown']}, 'type'=>'code', 'path'=>'ImagingStudy.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/imagingstudy-status'}},
  'modality' => {'valid_codes'=>{'http://dicom.nema.org/resources/ontology/DCM'=>['BMD', 'EOG', 'SM', 'SR', 'FID', 'OP', 'OT', 'KO', 'ECG', 'GM', 'XA', 'IOL', 'XC', 'ASMT', 'DMS', 'IVUS', 'CR', 'CT', 'OSS', 'TG', 'REG', 'LEN', 'TEXTUREMAP', 'RTDOSE', 'OPTENF', 'HC', 'RTPLAN', 'HD', 'OCT', 'BDUS', 'M3D', 'DG', 'PR', 'PT', 'EPS', 'LS', 'PX', 'OPM', 'OPTBSV', 'OPV', 'DX', 'OPT', 'DOC', 'RTRECORD', 'MG', 'US', 'EMG', 'IVOCT', 'RTSTRUCT', 'MR', 'IO', 'EEG', 'RTIMAGE', 'VA', 'RESP', 'ES', 'RWV', 'AR', 'POS', 'SEG', 'RG', 'RF', 'AU', 'KER', 'SMR', 'CTPROTOCOL', 'STAIN', 'OAM', 'NM', 'PLAN', 'BI', 'SRF']}, 'type'=>'CodeableConcept', 'path'=>'ImagingStudy.modality', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_33.html'}},
  'subject' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group'], 'type'=>'Reference', 'path'=>'ImagingStudy.subject', 'min'=>1, 'max'=>1},
  'encounter' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Encounter'], 'type'=>'Reference', 'path'=>'ImagingStudy.encounter', 'min'=>0, 'max'=>1},
  'started' => {'type'=>'dateTime', 'path'=>'ImagingStudy.started', 'min'=>0, 'max'=>1},
  'basedOn' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest', 'http://hl7.org/fhir/StructureDefinition/Appointment', 'http://hl7.org/fhir/StructureDefinition/AppointmentResponse', 'http://hl7.org/fhir/StructureDefinition/Task'], 'type'=>'Reference', 'path'=>'ImagingStudy.basedOn', 'min'=>0, 'max'=>Float::INFINITY},
  'partOf' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Procedure'], 'type'=>'Reference', 'path'=>'ImagingStudy.partOf', 'min'=>0, 'max'=>Float::INFINITY},
  'referrer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole'], 'type'=>'Reference', 'path'=>'ImagingStudy.referrer', 'min'=>0, 'max'=>1},
  'endpoint' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Endpoint'], 'type'=>'Reference', 'path'=>'ImagingStudy.endpoint', 'min'=>0, 'max'=>Float::INFINITY},
  'numberOfSeries' => {'type'=>'unsignedInt', 'path'=>'ImagingStudy.numberOfSeries', 'min'=>0, 'max'=>1},
  'numberOfInstances' => {'type'=>'unsignedInt', 'path'=>'ImagingStudy.numberOfInstances', 'min'=>0, 'max'=>1},
  'procedure' => {'type'=>'CodeableReference', 'path'=>'ImagingStudy.procedure', 'min'=>0, 'max'=>Float::INFINITY},
  'location' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'ImagingStudy.location', 'min'=>0, 'max'=>1},
  'reason' => {'type'=>'CodeableReference', 'path'=>'ImagingStudy.reason', 'min'=>0, 'max'=>Float::INFINITY},
  'note' => {'type'=>'Annotation', 'path'=>'ImagingStudy.note', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'string', 'path'=>'ImagingStudy.description', 'min'=>0, 'max'=>1},
  'series' => {'type'=>'ImagingStudy::Series', 'path'=>'ImagingStudy.series', '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::R5

PRIMITIVES, RESOURCES, TYPES

Instance Attribute Summary collapse

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

#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::R5

#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

#basedOnObject

0-* [ Reference(CarePlan|ServiceRequest|Appointment|AppointmentResponse|Task) ]



136
137
138
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 136

def basedOn
  @basedOn
end

#containedObject

0-* [ Resource ]



127
128
129
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 127

def contained
  @contained
end

#descriptionObject

0-1 string



146
147
148
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 146

def description
  @description
end

#encounterObject

0-1 Reference(Encounter)



134
135
136
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 134

def encounter
  @encounter
end

#endpointObject

0-* [ Reference(Endpoint) ]



139
140
141
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 139

def endpoint
  @endpoint
end

#extensionObject

0-* [ Extension ]



128
129
130
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 128

def extension
  @extension
end

#idObject

0-1 id



122
123
124
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 122

def id
  @id
end

#identifierObject

0-* [ Identifier ]



130
131
132
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 130

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



124
125
126
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 124

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



125
126
127
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 125

def language
  @language
end

#locationObject

0-1 Reference(Location)



143
144
145
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 143

def location
  @location
end

#metaObject

0-1 Meta



123
124
125
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 123

def meta
  @meta
end

#modalityObject

0-* [ CodeableConcept ]



132
133
134
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 132

def modality
  @modality
end

#modifierExtensionObject

0-* [ Extension ]



129
130
131
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 129

def modifierExtension
  @modifierExtension
end

#noteObject

0-* [ Annotation ]



145
146
147
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 145

def note
  @note
end

#numberOfInstancesObject

0-1 unsignedInt



141
142
143
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 141

def numberOfInstances
  @numberOfInstances
end

#numberOfSeriesObject

0-1 unsignedInt



140
141
142
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 140

def numberOfSeries
  @numberOfSeries
end

#partOfObject

0-* [ Reference(Procedure) ]



137
138
139
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 137

def partOf
  @partOf
end

#procedureObject

0-* [ CodeableReference ]



142
143
144
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 142

def procedure
  @procedure
end

#reasonObject

0-* [ CodeableReference ]



144
145
146
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 144

def reason
  @reason
end

#referrerObject

0-1 Reference(Practitioner|PractitionerRole)



138
139
140
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 138

def referrer
  @referrer
end

#seriesObject

0-* [ ImagingStudy::Series ]



147
148
149
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 147

def series
  @series
end

#startedObject

0-1 dateTime



135
136
137
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 135

def started
  @started
end

#statusObject

1-1 code



131
132
133
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 131

def status
  @status
end

#subjectObject

1-1 Reference(Patient|Device|Group)



133
134
135
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 133

def subject
  @subject
end

#textObject

0-1 Narrative



126
127
128
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 126

def text
  @text
end

Instance Method Details

#resourceTypeObject



149
150
151
# File 'lib/fhir_models/r5/generated/resources/ImagingStudy.rb', line 149

def resourceType
  'ImagingStudy'
end