Class: FHIR::SubstanceSpecification::Code
- Defined in:
- lib/fhir_models/fhir/resources/SubstanceSpecification.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Code.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Code.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Code.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'code' => {'type'=>'CodeableConcept', 'path'=>'Code.code', 'min'=>0, 'max'=>1}, 'status' => {'type'=>'CodeableConcept', 'path'=>'Code.status', 'min'=>0, 'max'=>1}, 'statusDate' => {'type'=>'dateTime', 'path'=>'Code.statusDate', 'min'=>0, 'max'=>1}, 'comment' => {'type'=>'string', 'path'=>'Code.comment', 'min'=>0, 'max'=>1}, 'source' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/DocumentReference'], 'type'=>'Reference', 'path'=>'Code.source', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#code ⇒ Object
0-1 CodeableConcept.
-
#comment ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#source ⇒ Object
0-* [ Reference(DocumentReference) ].
-
#status ⇒ Object
0-1 CodeableConcept.
-
#statusDate ⇒ Object
0-1 dateTime.
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
#code ⇒ Object
0-1 CodeableConcept
228 229 230 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 228 def code @code end |
#comment ⇒ Object
0-1 string
231 232 233 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 231 def comment @comment end |
#extension ⇒ Object
0-* [ Extension ]
226 227 228 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 226 def extension @extension end |
#id ⇒ Object
0-1 string
225 226 227 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 225 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
227 228 229 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 227 def modifierExtension @modifierExtension end |
#source ⇒ Object
0-* [ Reference(DocumentReference) ]
232 233 234 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 232 def source @source end |
#status ⇒ Object
0-1 CodeableConcept
229 230 231 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 229 def status @status end |
#statusDate ⇒ Object
0-1 dateTime
230 231 232 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 230 def statusDate @statusDate end |