Class: FHIR::SubstanceSpecification::Name
- Defined in:
- lib/fhir_models/fhir/resources/SubstanceSpecification.rb
Defined Under Namespace
Classes: Official
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Name.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Name.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Name.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'name' => {'type'=>'string', 'path'=>'Name.name', 'min'=>1, 'max'=>1}, 'type' => {'type'=>'CodeableConcept', 'path'=>'Name.type', 'min'=>0, 'max'=>1}, 'status' => {'type'=>'CodeableConcept', 'path'=>'Name.status', 'min'=>0, 'max'=>1}, 'preferred' => {'type'=>'boolean', 'path'=>'Name.preferred', 'min'=>0, 'max'=>1}, 'language' => {'type'=>'CodeableConcept', 'path'=>'Name.language', 'min'=>0, 'max'=>Float::INFINITY}, 'domain' => {'type'=>'CodeableConcept', 'path'=>'Name.domain', 'min'=>0, 'max'=>Float::INFINITY}, 'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'Name.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY}, 'synonym' => {'type'=>'SubstanceSpecification::Name', 'path'=>'Name.synonym', 'min'=>0, 'max'=>Float::INFINITY}, 'translation' => {'type'=>'SubstanceSpecification::Name', 'path'=>'Name.translation', 'min'=>0, 'max'=>Float::INFINITY}, 'official' => {'type'=>'SubstanceSpecification::Name::Official', 'path'=>'Name.official', 'min'=>0, 'max'=>Float::INFINITY}, 'source' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/DocumentReference'], 'type'=>'Reference', 'path'=>'Name.source', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#domain ⇒ Object
0-* [ CodeableConcept ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#jurisdiction ⇒ Object
0-* [ CodeableConcept ].
-
#language ⇒ Object
0-* [ CodeableConcept ].
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
1-1 string.
-
#official ⇒ Object
0-* [ SubstanceSpecification::Name::Official ].
-
#preferred ⇒ Object
0-1 boolean.
-
#source ⇒ Object
0-* [ Reference(DocumentReference) ].
-
#status ⇒ Object
0-1 CodeableConcept.
-
#synonym ⇒ Object
0-* [ SubstanceSpecification::Name ].
-
#translation ⇒ Object
0-* [ SubstanceSpecification::Name ].
-
#type ⇒ Object
0-1 CodeableConcept.
Method Summary
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
#domain ⇒ Object
0-* [ CodeableConcept ]
287 288 289 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 287 def domain @domain end |
#extension ⇒ Object
0-* [ Extension ]
280 281 282 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 280 def extension @extension end |
#id ⇒ Object
0-1 string
279 280 281 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 279 def id @id end |
#jurisdiction ⇒ Object
0-* [ CodeableConcept ]
288 289 290 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 288 def jurisdiction @jurisdiction end |
#language ⇒ Object
0-* [ CodeableConcept ]
286 287 288 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 286 def language @language end |
#modifierExtension ⇒ Object
0-* [ Extension ]
281 282 283 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 281 def modifierExtension @modifierExtension end |
#name ⇒ Object
1-1 string
282 283 284 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 282 def name @name end |
#official ⇒ Object
0-* [ SubstanceSpecification::Name::Official ]
291 292 293 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 291 def official @official end |
#preferred ⇒ Object
0-1 boolean
285 286 287 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 285 def preferred @preferred end |
#source ⇒ Object
0-* [ Reference(DocumentReference) ]
292 293 294 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 292 def source @source end |
#status ⇒ Object
0-1 CodeableConcept
284 285 286 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 284 def status @status end |
#synonym ⇒ Object
0-* [ SubstanceSpecification::Name ]
289 290 291 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 289 def synonym @synonym end |
#translation ⇒ Object
0-* [ SubstanceSpecification::Name ]
290 291 292 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 290 def translation @translation end |
#type ⇒ Object
0-1 CodeableConcept
283 284 285 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 283 def type @type end |