Class: FHIR::R4B::AdministrableProductDefinition

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

Defined Under Namespace

Classes: Property, RouteOfAdministration

Constant Summary collapse

SEARCH_PARAMS =
['device', 'dose-form', 'form-of', 'identifier', 'ingredient', 'manufactured-item', 'route', 'target-species']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'AdministrableProductDefinition.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'AdministrableProductDefinition.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'AdministrableProductDefinition.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'=>'AdministrableProductDefinition.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'AdministrableProductDefinition.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'AdministrableProductDefinition.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'AdministrableProductDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'AdministrableProductDefinition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'AdministrableProductDefinition.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'AdministrableProductDefinition.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status'}},
  'formOf' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition'], 'type'=>'Reference', 'path'=>'AdministrableProductDefinition.formOf', 'min'=>0, 'max'=>Float::INFINITY},
  'administrableDoseForm' => {'valid_codes'=>{'http://hl7.org/fhir/administrable-dose-form'=>['100000073362', '100000073363', '100000073364', '100000073365', '100000073367', '100000073368', '100000073369', '100000073370', '100000073371', '100000073372', '100000073373', '100000073374', '100000073375', '100000073376', '100000073377', '100000073378', '100000073379', '100000073380', '100000073642', '100000073643', '100000073644', '100000073645', '100000073646', '100000073647', '100000073648', '100000073649', '100000073650', '100000073652', '100000073653', '100000073654', '100000073655', '100000073656', '100000073657', '100000073658', '100000073659', '100000073660', '100000073661', '100000073662', '100000073663', '100000073664', '100000073665', '100000073666', '100000073667', '100000073668', '100000073669', '100000073670', '100000073671', '100000073672', '100000073673', '100000073674', '100000073675', '100000073676', '100000073677', '100000073678', '100000073679', '100000073680', '100000073681', '100000073682', '100000073683', '100000073684', '100000073685', '100000073686', '100000073687', '100000073688', '100000073689', '100000073690', '100000073691', '100000073692', '100000073693', '100000073694', '100000073695', '100000073696', '100000073697', '100000073698', '100000073699', '100000073700', '100000073701', '100000073702', '100000073703', '100000073704', '100000073705', '100000073706', '100000073707', '100000073708', '100000073709', '100000073710', '100000073711', '100000073712', '100000073713', '100000073714', '100000073715', '100000073716', '100000073717', '100000073718', '100000073719', '100000073720', '100000073721', '100000073722', '100000073723', '100000073724', '100000073725', '100000073726', '100000073727', '100000073728', '100000073729', '100000073730', '100000073731', '100000073732', '100000073733', '100000073734', '100000073735', '100000073736', '100000073737', '100000073738', '100000073739', '100000073740', '100000073741', '100000073742', '100000073743', '100000073744', '100000073745', '100000073746', '100000073747', '100000073748', '100000073749', '100000073750', '100000073751', '100000073752', '100000073753', '100000073754', '100000073755', '100000073756', '100000073757', '100000073758', '100000073759', '100000073760', '100000073761', '100000073762', '100000073763', '100000073764', '100000073765', '100000073766', '100000073767', '100000073768', '100000073769', '100000073770', '100000073771', '100000073772', '100000073773', '100000073775', '100000073776', '100000073777', '100000073778', '100000073779', '100000073780', '100000073782', '100000073783', '100000073784', '100000073785', '100000073786', '100000073787', '100000073788', '100000073789', '100000073790', '100000073791', '100000073792', '100000073793', '100000073794', '100000073795', '100000073796', '100000073797', '100000073798', '100000073799', '100000073800', '100000073802', '100000073803', '100000073804', '100000073805', '100000073806', '100000073807', '100000073808', '100000073809', '100000073810', '100000073811', '100000073812', '100000073813', '100000073814', '100000073815', '100000073816', '100000073817', '100000073818', '100000073819', '100000073820', '100000073821', '100000073822', '100000073823', '100000073824', '100000073825', '100000073826', '100000073827', '100000073863']}, 'type'=>'CodeableConcept', 'path'=>'AdministrableProductDefinition.administrableDoseForm', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/administrable-dose-form'}},
  'unitOfPresentation' => {'valid_codes'=>{'http://hl7.org/fhir/unit-of-presentation'=>['200000002108', '200000002109', '200000002110', '200000002111', '200000002112', '200000002113', '200000002114', '200000002115', '200000002116', '200000002117', '200000002118', '200000002119', '200000002120', '200000002121', '200000002122', '200000002123', '200000002124', '200000002125', '200000002126', '200000002127', '200000002128', '200000002129', '200000002130', '200000002131', '200000002132', '200000002133', '200000002134', '200000002135', '200000002136', '200000002137', '200000002138', '200000002139', '200000002140', '200000002141', '200000002142', '200000002143', '200000002144', '200000002145', '200000002146', '200000002147', '200000002148', '200000002149', '200000002150', '200000002151', '200000002152', '200000002153', '200000002154', '200000002155', '200000002156', '200000002157', '200000002158', '200000002159', '200000002163', '200000002164', '200000002165', '200000002166']}, 'type'=>'CodeableConcept', 'path'=>'AdministrableProductDefinition.unitOfPresentation', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/unit-of-presentation'}},
  'producedFrom' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition'], 'type'=>'Reference', 'path'=>'AdministrableProductDefinition.producedFrom', 'min'=>0, 'max'=>Float::INFINITY},
  'ingredient' => {'type'=>'CodeableConcept', 'path'=>'AdministrableProductDefinition.ingredient', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/substance-codes'}},
  'device' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/DeviceDefinition'], 'type'=>'Reference', 'path'=>'AdministrableProductDefinition.device', 'min'=>0, 'max'=>1},
  'property' => {'type'=>'AdministrableProductDefinition::Property', 'path'=>'AdministrableProductDefinition.property', 'min'=>0, 'max'=>Float::INFINITY},
  'routeOfAdministration' => {'type'=>'AdministrableProductDefinition::RouteOfAdministration', 'path'=>'AdministrableProductDefinition.routeOfAdministration', 'min'=>1, '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

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

#administrableDoseFormObject

0-1 CodeableConcept



146
147
148
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 146

def administrableDoseForm
  @administrableDoseForm
end

#containedObject

0-* [ Resource ]



140
141
142
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 140

def contained
  @contained
end

#deviceObject

0-1 Reference(DeviceDefinition)



150
151
152
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 150

def device
  @device
end

#extensionObject

0-* [ Extension ]



141
142
143
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 141

def extension
  @extension
end

#formOfObject

0-* [ Reference(MedicinalProductDefinition) ]



145
146
147
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 145

def formOf
  @formOf
end

#idObject

0-1 id



135
136
137
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 135

def id
  @id
end

#identifierObject

0-* [ Identifier ]



143
144
145
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 143

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



137
138
139
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 137

def implicitRules
  @implicitRules
end

#ingredientObject

0-* [ CodeableConcept ]



149
150
151
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 149

def ingredient
  @ingredient
end

#languageObject

0-1 code



138
139
140
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 138

def language
  @language
end

#metaObject

0-1 Meta



136
137
138
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 136

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



142
143
144
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 142

def modifierExtension
  @modifierExtension
end

#producedFromObject

0-* [ Reference(ManufacturedItemDefinition) ]



148
149
150
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 148

def producedFrom
  @producedFrom
end

#propertyObject

0-* [ AdministrableProductDefinition::Property ]



151
152
153
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 151

def property
  @property
end

#routeOfAdministrationObject

1-* [ AdministrableProductDefinition::RouteOfAdministration ]



152
153
154
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 152

def routeOfAdministration
  @routeOfAdministration
end

#statusObject

1-1 code



144
145
146
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 144

def status
  @status
end

#textObject

0-1 Narrative



139
140
141
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 139

def text
  @text
end

#unitOfPresentationObject

0-1 CodeableConcept



147
148
149
# File 'lib/fhir_models/r4b/generated/resources/AdministrableProductDefinition.rb', line 147

def unitOfPresentation
  @unitOfPresentation
end

Instance Method Details

#resourceTypeObject



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

def resourceType
  'AdministrableProductDefinition'
end