Class: FHIR::R4B::PackagedProductDefinition::Package

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

Defined Under Namespace

Classes: ContainedItem, Property, ShelfLifeStorage

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Package.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Package.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Package.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'Package.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/packaging-type'=>['100000073490', '100000073491', '100000073492', '100000073493', '100000073494', '100000073495', '100000073496', '100000073497', '100000073498', '100000073499', '100000073500', '100000073501', '100000073502', '100000073503', '100000073504', '100000073505', '100000073506', '100000073507', '100000073508', '100000073509', '100000073510', '100000073511', '100000073512', '100000073513', '100000073514', '100000073515', '100000073516', '100000073517', '100000073518', '100000073519', '100000073520', '100000073521', '100000073522', '100000073523', '100000073524', '100000073525', '100000073526', '100000073527', '100000073528', '100000073529', '100000073530', '100000073531', '100000073532', '100000073533', '100000073534', '100000073535', '100000073536', '100000073537', '100000073538', '100000073539', '100000073540', '100000073541', '100000073542', '100000073543', '100000073544', '100000073545', '100000073546', '100000073547', '100000073548', '100000073549', '100000073550', '100000073551', '100000073552', '100000073553', '100000073554', '100000073555', '100000073556', '100000073557', '100000073558', '100000073559', '100000073560', '100000073561', '100000073562', '100000073563', '100000075664', '100000116195', '100000116196', '100000116197', '100000125779', '100000137702', '100000137703', '100000143554', '100000143555', '100000163233', '100000163234', '100000164143', '100000166980', '100000169899', '100000173982', '100000173983', '100000174066', '100000174067', '100000174068', '100000174069', '100000174070', '200000005068', '200000005585', '200000010647', '200000011726', '200000012539', '200000013191', '200000024874']}, 'type'=>'CodeableConcept', 'path'=>'Package.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/packaging-type'}},
  'quantity' => {'type'=>'integer', 'path'=>'Package.quantity', 'min'=>0, 'max'=>1},
  'material' => {'valid_codes'=>{'http://hl7.org/fhir/package-material'=>['200000003200', '200000003201', '200000003202', '200000003203', '200000003204', '200000003205', '200000003206', '200000003207', '200000003208', '200000003209', '200000003210', '200000003211', '200000003212', '200000003213', '200000003214', '200000003215', '200000003216', '200000003217', '200000003218', '200000003219', '200000003220', '200000003221', '200000003222', '200000003223', '200000003224', '200000003225', '200000003226', '200000003227', '200000003228', '200000003229', '200000003529', '200000012514', '200000012515', '200000012521', '200000012522', '200000012523', '200000012524', '200000012538', '200000015521', '200000023330', '200000023332', '200000025255', '200000025257']}, 'type'=>'CodeableConcept', 'path'=>'Package.material', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/package-material'}},
  'alternateMaterial' => {'valid_codes'=>{'http://hl7.org/fhir/package-material'=>['200000003200', '200000003201', '200000003202', '200000003203', '200000003204', '200000003205', '200000003206', '200000003207', '200000003208', '200000003209', '200000003210', '200000003211', '200000003212', '200000003213', '200000003214', '200000003215', '200000003216', '200000003217', '200000003218', '200000003219', '200000003220', '200000003221', '200000003222', '200000003223', '200000003224', '200000003225', '200000003226', '200000003227', '200000003228', '200000003229', '200000003529', '200000012514', '200000012515', '200000012521', '200000012522', '200000012523', '200000012524', '200000012538', '200000015521', '200000023330', '200000023332', '200000025255', '200000025257']}, 'type'=>'CodeableConcept', 'path'=>'Package.alternateMaterial', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/package-material'}},
  'shelfLifeStorage' => {'type'=>'PackagedProductDefinition::Package::ShelfLifeStorage', 'path'=>'Package.shelfLifeStorage', 'min'=>0, 'max'=>Float::INFINITY},
  'manufacturer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Package.manufacturer', 'min'=>0, 'max'=>Float::INFINITY},
  'property' => {'type'=>'PackagedProductDefinition::Package::Property', 'path'=>'Package.property', 'min'=>0, 'max'=>Float::INFINITY},
  'containedItem' => {'type'=>'PackagedProductDefinition::Package::ContainedItem', 'path'=>'Package.containedItem', 'min'=>0, 'max'=>Float::INFINITY},
  'package' => {'type'=>'PackagedProductDefinition::Package', 'path'=>'Package.package', '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

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

#alternateMaterialObject

0-* [ CodeableConcept ]



160
161
162
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 160

def alternateMaterial
  @alternateMaterial
end

#containedItemObject

0-* [ PackagedProductDefinition::Package::ContainedItem ]



164
165
166
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 164

def containedItem
  @containedItem
end

#extensionObject

0-* [ Extension ]



154
155
156
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 154

def extension
  @extension
end

#idObject

0-1 string



153
154
155
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 153

def id
  @id
end

#identifierObject

0-* [ Identifier ]



156
157
158
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 156

def identifier
  @identifier
end

#manufacturerObject

0-* [ Reference(Organization) ]



162
163
164
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 162

def manufacturer
  @manufacturer
end

#materialObject

0-* [ CodeableConcept ]



159
160
161
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 159

def material
  @material
end

#modifierExtensionObject

0-* [ Extension ]



155
156
157
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 155

def modifierExtension
  @modifierExtension
end

#packageObject

0-* [ PackagedProductDefinition::Package ]



165
166
167
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 165

def package
  @package
end

#propertyObject

0-* [ PackagedProductDefinition::Package::Property ]



163
164
165
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 163

def property
  @property
end

#quantityObject

0-1 integer



158
159
160
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 158

def quantity
  @quantity
end

#shelfLifeStorageObject

0-* [ PackagedProductDefinition::Package::ShelfLifeStorage ]



161
162
163
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 161

def shelfLifeStorage
  @shelfLifeStorage
end

#typeObject

0-1 CodeableConcept



157
158
159
# File 'lib/fhir_models/r4b/generated/resources/PackagedProductDefinition.rb', line 157

def type
  @type
end