Class: FHIR::R5::DeviceDefinition
- Defined in:
- lib/fhir_models/r5/generated/resources/DeviceDefinition.rb
Defined Under Namespace
Classes: ChargeItem, Classification, ConformsTo, CorrectiveAction, DeviceName, Guideline, HasPart, Link, Material, Packaging, Property, RegulatoryIdentifier, UdiDeviceIdentifier, Version
Constant Summary collapse
- SEARCH_PARAMS =
['device-name', 'identifier', 'manufacturer', 'organization', 'specification', 'specification-version', 'type']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'DeviceDefinition.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'DeviceDefinition.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'DeviceDefinition.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'type'=>'code', 'path'=>'DeviceDefinition.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'=>'DeviceDefinition.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'DeviceDefinition.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'DeviceDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'DeviceDefinition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'description' => {'type'=>'markdown', 'path'=>'DeviceDefinition.description', 'min'=>0, 'max'=>1}, 'identifier' => {'type'=>'Identifier', 'path'=>'DeviceDefinition.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'udiDeviceIdentifier' => {'type'=>'DeviceDefinition::UdiDeviceIdentifier', 'path'=>'DeviceDefinition.udiDeviceIdentifier', 'min'=>0, 'max'=>Float::INFINITY}, 'regulatoryIdentifier' => {'type'=>'DeviceDefinition::RegulatoryIdentifier', 'path'=>'DeviceDefinition.regulatoryIdentifier', 'min'=>0, 'max'=>Float::INFINITY}, 'partNumber' => {'type'=>'string', 'path'=>'DeviceDefinition.partNumber', 'min'=>0, 'max'=>1}, 'manufacturer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'DeviceDefinition.manufacturer', 'min'=>0, 'max'=>1}, 'deviceName' => {'type'=>'DeviceDefinition::DeviceName', 'path'=>'DeviceDefinition.deviceName', 'min'=>0, 'max'=>Float::INFINITY}, 'modelNumber' => {'type'=>'string', 'path'=>'DeviceDefinition.modelNumber', 'min'=>0, 'max'=>1}, 'classification' => {'type'=>'DeviceDefinition::Classification', 'path'=>'DeviceDefinition.classification', 'min'=>0, 'max'=>Float::INFINITY}, 'conformsTo' => {'type'=>'DeviceDefinition::ConformsTo', 'path'=>'DeviceDefinition.conformsTo', 'min'=>0, 'max'=>Float::INFINITY}, 'hasPart' => {'type'=>'DeviceDefinition::HasPart', 'path'=>'DeviceDefinition.hasPart', 'min'=>0, 'max'=>Float::INFINITY}, 'packaging' => {'type'=>'DeviceDefinition::Packaging', 'path'=>'DeviceDefinition.packaging', 'min'=>0, 'max'=>Float::INFINITY}, 'version' => {'type'=>'DeviceDefinition::Version', 'path'=>'DeviceDefinition.version', 'min'=>0, 'max'=>Float::INFINITY}, 'safety' => {'valid_codes'=>{'urn:oid:2.16.840.1.113883.3.26.1.1'=>['C106046', 'C106045', 'C106047', 'C113844', 'C101673', 'C106038']}, 'type'=>'CodeableConcept', 'path'=>'DeviceDefinition.safety', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/device-safety'}}, 'shelfLifeStorage' => {'type'=>'ProductShelfLife', 'path'=>'DeviceDefinition.shelfLifeStorage', 'min'=>0, 'max'=>Float::INFINITY}, 'languageCode' => {'type'=>'CodeableConcept', 'path'=>'DeviceDefinition.languageCode', 'min'=>0, 'max'=>Float::INFINITY}, 'property' => {'type'=>'DeviceDefinition::Property', 'path'=>'DeviceDefinition.property', 'min'=>0, 'max'=>Float::INFINITY}, 'owner' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'DeviceDefinition.owner', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'ContactPoint', 'path'=>'DeviceDefinition.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'link' => {'type'=>'DeviceDefinition::Link', 'path'=>'DeviceDefinition.link', 'min'=>0, 'max'=>Float::INFINITY}, 'note' => {'type'=>'Annotation', 'path'=>'DeviceDefinition.note', 'min'=>0, 'max'=>Float::INFINITY}, 'material' => {'type'=>'DeviceDefinition::Material', 'path'=>'DeviceDefinition.material', 'min'=>0, 'max'=>Float::INFINITY}, 'productionIdentifierInUDI' => {'valid_codes'=>{'http://hl7.org/fhir/device-productidentifierinudi'=>['lot-number', 'manufactured-date', 'serial-number', 'expiration-date', 'biological-source', 'software-version']}, 'type'=>'code', 'path'=>'DeviceDefinition.productionIdentifierInUDI', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/device-productidentifierinudi'}}, 'guideline' => {'type'=>'DeviceDefinition::Guideline', 'path'=>'DeviceDefinition.guideline', 'min'=>0, 'max'=>1}, 'correctiveAction' => {'type'=>'DeviceDefinition::CorrectiveAction', 'path'=>'DeviceDefinition.correctiveAction', 'min'=>0, 'max'=>1}, 'chargeItem' => {'type'=>'DeviceDefinition::ChargeItem', 'path'=>'DeviceDefinition.chargeItem', '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
Instance Attribute Summary collapse
-
#chargeItem ⇒ Object
0-* [ DeviceDefinition::ChargeItem ].
-
#classification ⇒ Object
0-* [ DeviceDefinition::Classification ].
-
#conformsTo ⇒ Object
0-* [ DeviceDefinition::ConformsTo ].
-
#contact ⇒ Object
0-* [ ContactPoint ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#correctiveAction ⇒ Object
0-1 DeviceDefinition::CorrectiveAction.
-
#description ⇒ Object
0-1 markdown.
-
#deviceName ⇒ Object
0-* [ DeviceDefinition::DeviceName ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#guideline ⇒ Object
0-1 DeviceDefinition::Guideline.
-
#hasPart ⇒ Object
0-* [ DeviceDefinition::HasPart ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#languageCode ⇒ Object
0-* [ CodeableConcept ].
-
#link ⇒ Object
0-* [ DeviceDefinition::Link ].
-
#manufacturer ⇒ Object
0-1 Reference(Organization).
-
#material ⇒ Object
0-* [ DeviceDefinition::Material ].
-
#meta ⇒ Object
0-1 Meta.
-
#modelNumber ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#note ⇒ Object
0-* [ Annotation ].
-
#owner ⇒ Object
0-1 Reference(Organization).
-
#packaging ⇒ Object
0-* [ DeviceDefinition::Packaging ].
-
#partNumber ⇒ Object
0-1 string.
-
#productionIdentifierInUDI ⇒ Object
0-* [ code ].
-
#property ⇒ Object
0-* [ DeviceDefinition::Property ].
-
#regulatoryIdentifier ⇒ Object
0-* [ DeviceDefinition::RegulatoryIdentifier ].
-
#safety ⇒ Object
0-* [ CodeableConcept ].
-
#shelfLifeStorage ⇒ Object
0-* [ ProductShelfLife ].
-
#text ⇒ Object
0-1 Narrative.
-
#udiDeviceIdentifier ⇒ Object
0-* [ DeviceDefinition::UdiDeviceIdentifier ].
-
#version ⇒ Object
0-* [ DeviceDefinition::Version ].
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 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
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
#chargeItem ⇒ Object
0-* [ DeviceDefinition::ChargeItem ]
454 455 456 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 454 def chargeItem @chargeItem end |
#classification ⇒ Object
0-* [ DeviceDefinition::Classification ]
437 438 439 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 437 def classification @classification end |
#conformsTo ⇒ Object
0-* [ DeviceDefinition::ConformsTo ]
438 439 440 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 438 def conformsTo @conformsTo end |
#contact ⇒ Object
0-* [ ContactPoint ]
447 448 449 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 447 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
426 427 428 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 426 def contained @contained end |
#correctiveAction ⇒ Object
0-1 DeviceDefinition::CorrectiveAction
453 454 455 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 453 def correctiveAction @correctiveAction end |
#description ⇒ Object
0-1 markdown
429 430 431 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 429 def description @description end |
#deviceName ⇒ Object
0-* [ DeviceDefinition::DeviceName ]
435 436 437 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 435 def deviceName @deviceName end |
#extension ⇒ Object
0-* [ Extension ]
427 428 429 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 427 def extension @extension end |
#guideline ⇒ Object
0-1 DeviceDefinition::Guideline
452 453 454 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 452 def guideline @guideline end |
#hasPart ⇒ Object
0-* [ DeviceDefinition::HasPart ]
439 440 441 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 439 def hasPart @hasPart end |
#id ⇒ Object
0-1 id
421 422 423 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 421 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
430 431 432 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 430 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
423 424 425 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 423 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
424 425 426 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 424 def language @language end |
#languageCode ⇒ Object
0-* [ CodeableConcept ]
444 445 446 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 444 def languageCode @languageCode end |
#link ⇒ Object
0-* [ DeviceDefinition::Link ]
448 449 450 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 448 def link @link end |
#manufacturer ⇒ Object
0-1 Reference(Organization)
434 435 436 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 434 def manufacturer @manufacturer end |
#material ⇒ Object
0-* [ DeviceDefinition::Material ]
450 451 452 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 450 def material @material end |
#meta ⇒ Object
0-1 Meta
422 423 424 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 422 def @meta end |
#modelNumber ⇒ Object
0-1 string
436 437 438 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 436 def modelNumber @modelNumber end |
#modifierExtension ⇒ Object
0-* [ Extension ]
428 429 430 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 428 def modifierExtension @modifierExtension end |
#note ⇒ Object
0-* [ Annotation ]
449 450 451 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 449 def note @note end |
#owner ⇒ Object
0-1 Reference(Organization)
446 447 448 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 446 def owner @owner end |
#packaging ⇒ Object
0-* [ DeviceDefinition::Packaging ]
440 441 442 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 440 def packaging @packaging end |
#partNumber ⇒ Object
0-1 string
433 434 435 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 433 def partNumber @partNumber end |
#productionIdentifierInUDI ⇒ Object
0-* [ code ]
451 452 453 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 451 def productionIdentifierInUDI @productionIdentifierInUDI end |
#property ⇒ Object
0-* [ DeviceDefinition::Property ]
445 446 447 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 445 def property @property end |
#regulatoryIdentifier ⇒ Object
0-* [ DeviceDefinition::RegulatoryIdentifier ]
432 433 434 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 432 def regulatoryIdentifier @regulatoryIdentifier end |
#safety ⇒ Object
0-* [ CodeableConcept ]
442 443 444 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 442 def safety @safety end |
#shelfLifeStorage ⇒ Object
0-* [ ProductShelfLife ]
443 444 445 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 443 def shelfLifeStorage @shelfLifeStorage end |
#text ⇒ Object
0-1 Narrative
425 426 427 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 425 def text @text end |
#udiDeviceIdentifier ⇒ Object
0-* [ DeviceDefinition::UdiDeviceIdentifier ]
431 432 433 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 431 def udiDeviceIdentifier @udiDeviceIdentifier end |
#version ⇒ Object
0-* [ DeviceDefinition::Version ]
441 442 443 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 441 def version @version end |
Instance Method Details
#resourceType ⇒ Object
456 457 458 |
# File 'lib/fhir_models/r5/generated/resources/DeviceDefinition.rb', line 456 def resourceType 'DeviceDefinition' end |