Class: FHIR::MedicinalProductPharmaceutical
- Defined in:
- lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb
Defined Under Namespace
Classes: Characteristics, RouteOfAdministration
Constant Summary collapse
- SEARCH_PARAMS =
['identifier', 'route', 'target-species']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'MedicinalProductPharmaceutical.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'MedicinalProductPharmaceutical.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'MedicinalProductPharmaceutical.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'=>'MedicinalProductPharmaceutical.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'MedicinalProductPharmaceutical.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'MedicinalProductPharmaceutical.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'MedicinalProductPharmaceutical.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'MedicinalProductPharmaceutical.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'identifier' => {'type'=>'Identifier', 'path'=>'MedicinalProductPharmaceutical.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'administrableDoseForm' => {'type'=>'CodeableConcept', 'path'=>'MedicinalProductPharmaceutical.administrableDoseForm', 'min'=>1, 'max'=>1}, 'unitOfPresentation' => {'type'=>'CodeableConcept', 'path'=>'MedicinalProductPharmaceutical.unitOfPresentation', 'min'=>0, 'max'=>1}, 'ingredient' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient'], 'type'=>'Reference', 'path'=>'MedicinalProductPharmaceutical.ingredient', 'min'=>0, 'max'=>Float::INFINITY}, 'device' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/DeviceDefinition'], 'type'=>'Reference', 'path'=>'MedicinalProductPharmaceutical.device', 'min'=>0, 'max'=>Float::INFINITY}, 'characteristics' => {'type'=>'MedicinalProductPharmaceutical::Characteristics', 'path'=>'MedicinalProductPharmaceutical.characteristics', 'min'=>0, 'max'=>Float::INFINITY}, 'routeOfAdministration' => {'type'=>'MedicinalProductPharmaceutical::RouteOfAdministration', 'path'=>'MedicinalProductPharmaceutical.routeOfAdministration', 'min'=>1, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#administrableDoseForm ⇒ Object
1-1 CodeableConcept.
-
#characteristics ⇒ Object
0-* [ MedicinalProductPharmaceutical::Characteristics ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#device ⇒ Object
0-* [ Reference(DeviceDefinition) ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#ingredient ⇒ Object
0-* [ Reference(MedicinalProductIngredient) ].
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#routeOfAdministration ⇒ Object
1-* [ MedicinalProductPharmaceutical::RouteOfAdministration ].
-
#text ⇒ Object
0-1 Narrative.
-
#unitOfPresentation ⇒ Object
0-1 CodeableConcept.
Instance Method Summary collapse
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#==, #attribute_mismatch, #compare_attribute, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile
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
#administrableDoseForm ⇒ Object
1-1 CodeableConcept
127 128 129 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 127 def administrableDoseForm @administrableDoseForm end |
#characteristics ⇒ Object
0-* [ MedicinalProductPharmaceutical::Characteristics ]
131 132 133 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 131 def characteristics @characteristics end |
#contained ⇒ Object
0-* [ Resource ]
123 124 125 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 123 def contained @contained end |
#device ⇒ Object
0-* [ Reference(DeviceDefinition) ]
130 131 132 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 130 def device @device end |
#extension ⇒ Object
0-* [ Extension ]
124 125 126 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 124 def extension @extension end |
#id ⇒ Object
0-1 id
118 119 120 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 118 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
126 127 128 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 126 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
120 121 122 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 120 def implicitRules @implicitRules end |
#ingredient ⇒ Object
0-* [ Reference(MedicinalProductIngredient) ]
129 130 131 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 129 def ingredient @ingredient end |
#language ⇒ Object
0-1 code
121 122 123 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 121 def language @language end |
#meta ⇒ Object
0-1 Meta
119 120 121 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 119 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
125 126 127 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 125 def modifierExtension @modifierExtension end |
#routeOfAdministration ⇒ Object
1-* [ MedicinalProductPharmaceutical::RouteOfAdministration ]
132 133 134 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 132 def routeOfAdministration @routeOfAdministration end |
#text ⇒ Object
0-1 Narrative
122 123 124 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 122 def text @text end |
#unitOfPresentation ⇒ Object
0-1 CodeableConcept
128 129 130 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 128 def unitOfPresentation @unitOfPresentation end |
Instance Method Details
#resourceType ⇒ Object
134 135 136 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductPharmaceutical.rb', line 134 def resourceType 'MedicinalProductPharmaceutical' end |