Class: FHIR::DSTU2::ImplementationGuide::Package::Resource
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'source' => ['uri', 'Reference'] }
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Resource.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Resource.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Resource.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'purpose' => { 'valid_codes' => { 'http://hl7.org/fhir/guide-resource-purpose' => ['example', 'terminology', 'profile', 'extension', 'dictionary', 'logical'] }, 'type' => 'code', 'path' => 'Resource.purpose', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/guide-resource-purpose' } }, 'name' => { 'type' => 'string', 'path' => 'Resource.name', 'min' => 0, 'max' => 1 }, 'description' => { 'type' => 'string', 'path' => 'Resource.description', 'min' => 0, 'max' => 1 }, 'acronym' => { 'type' => 'string', 'path' => 'Resource.acronym', 'min' => 0, 'max' => 1 }, 'sourceUri' => { 'type' => 'uri', 'path' => 'Resource.source[x]', 'min' => 1, 'max' => 1 }, 'sourceReference' => { 'type' => 'Reference', 'path' => 'Resource.source[x]', 'min' => 1, 'max' => 1 }, 'exampleFor' => { 'type' => 'Reference', 'path' => 'Resource.exampleFor', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#acronym ⇒ Object
0-1 string.
-
#description ⇒ Object
0-1 string.
-
#exampleFor ⇒ Object
0-1 Reference().
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#purpose ⇒ Object
1-1 code.
-
#sourceReference ⇒ Object
1-1 Reference().
-
#sourceUri ⇒ Object
1-1 uri.
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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#acronym ⇒ Object
0-1 string
118 119 120 |
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 118 def acronym @acronym end |
#description ⇒ Object
0-1 string
117 118 119 |
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 117 def description @description end |
#exampleFor ⇒ Object
0-1 Reference()
121 122 123 |
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 121 def exampleFor @exampleFor end |
#extension ⇒ Object
0-* [ Extension ]
113 114 115 |
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 113 def extension @extension end |
#id ⇒ Object
0-1 id
112 113 114 |
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 112 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
114 115 116 |
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 114 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
116 117 118 |
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 116 def name @name end |
#purpose ⇒ Object
1-1 code
115 116 117 |
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 115 def purpose @purpose end |
#sourceReference ⇒ Object
1-1 Reference()
120 121 122 |
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 120 def sourceReference @sourceReference end |
#sourceUri ⇒ Object
1-1 uri
119 120 121 |
# File 'lib/fhir_dstu2_models/fhir/resources/ImplementationGuide.rb', line 119 def sourceUri @sourceUri end |