Class: FHIR::DSTU2::RiskAssessment
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb
Defined Under Namespace
Classes: Prediction
Constant Summary collapse
- SEARCH_PARAMS =
['condition', 'date', 'encounter', 'identifier', 'method', 'patient', 'performer', 'subject']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'RiskAssessment.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'RiskAssessment.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'RiskAssessment.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'RiskAssessment.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'RiskAssessment.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'RiskAssessment.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'RiskAssessment.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'RiskAssessment.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'subject' => { 'type' => 'Reference', 'path' => 'RiskAssessment.subject', 'min' => 0, 'max' => 1 }, 'date' => { 'type' => 'dateTime', 'path' => 'RiskAssessment.date', 'min' => 0, 'max' => 1 }, 'condition' => { 'type' => 'Reference', 'path' => 'RiskAssessment.condition', 'min' => 0, 'max' => 1 }, 'encounter' => { 'type' => 'Reference', 'path' => 'RiskAssessment.encounter', 'min' => 0, 'max' => 1 }, 'performer' => { 'type' => 'Reference', 'path' => 'RiskAssessment.performer', 'min' => 0, 'max' => 1 }, 'identifier' => { 'type' => 'Identifier', 'path' => 'RiskAssessment.identifier', 'min' => 0, 'max' => 1 }, 'method' => { 'local_name' => 'local_method', 'type' => 'CodeableConcept', 'path' => 'RiskAssessment.method', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'basis' => { 'type' => 'Reference', 'path' => 'RiskAssessment.basis', 'min' => 0, 'max' => Float::INFINITY }, 'prediction' => { 'type' => 'RiskAssessment::Prediction', 'path' => 'RiskAssessment.prediction', 'min' => 0, 'max' => Float::INFINITY }, 'mitigation' => { 'type' => 'string', 'path' => 'RiskAssessment.mitigation', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#basis ⇒ Object
0-* [ Reference() ].
-
#condition ⇒ Object
0-1 Reference().
-
#contained ⇒ Object
0-* [ Resource ].
-
#date ⇒ Object
0-1 dateTime.
-
#encounter ⇒ Object
0-1 Reference().
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-1 Identifier.
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#local_method ⇒ Object
0-1 CodeableConcept.
-
#meta ⇒ Object
0-1 Meta.
-
#mitigation ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#performer ⇒ Object
0-1 Reference().
-
#prediction ⇒ Object
0-* [ RiskAssessment::Prediction ].
-
#subject ⇒ Object
0-1 Reference().
-
#text ⇒ Object
0-1 Narrative.
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, #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
#basis ⇒ Object
0-* [ Reference() ]
81 82 83 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 81 def basis @basis end |
#condition ⇒ Object
0-1 Reference()
76 77 78 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 76 def condition @condition end |
#contained ⇒ Object
0-* [ Resource ]
71 72 73 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 71 def contained @contained end |
#date ⇒ Object
0-1 dateTime
75 76 77 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 75 def date @date end |
#encounter ⇒ Object
0-1 Reference()
77 78 79 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 77 def encounter @encounter end |
#extension ⇒ Object
0-* [ Extension ]
72 73 74 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 72 def extension @extension end |
#id ⇒ Object
0-1 id
66 67 68 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 66 def id @id end |
#identifier ⇒ Object
0-1 Identifier
79 80 81 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 79 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
68 69 70 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 68 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
69 70 71 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 69 def language @language end |
#local_method ⇒ Object
0-1 CodeableConcept
80 81 82 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 80 def local_method @local_method end |
#meta ⇒ Object
0-1 Meta
67 68 69 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 67 def @meta end |
#mitigation ⇒ Object
0-1 string
83 84 85 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 83 def mitigation @mitigation end |
#modifierExtension ⇒ Object
0-* [ Extension ]
73 74 75 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 73 def modifierExtension @modifierExtension end |
#performer ⇒ Object
0-1 Reference()
78 79 80 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 78 def performer @performer end |
#prediction ⇒ Object
0-* [ RiskAssessment::Prediction ]
82 83 84 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 82 def prediction @prediction end |
#subject ⇒ Object
0-1 Reference()
74 75 76 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 74 def subject @subject end |
#text ⇒ Object
0-1 Narrative
70 71 72 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 70 def text @text end |
Instance Method Details
#resourceType ⇒ Object
85 86 87 |
# File 'lib/fhir_dstu2_models/fhir/resources/RiskAssessment.rb', line 85 def resourceType 'RiskAssessment' end |