Class: FHIR::EvidenceVariable

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/EvidenceVariable.rb

Defined Under Namespace

Classes: Characteristic

Constant Summary collapse

SEARCH_PARAMS =
['composed-of', 'context', 'context-quantity', 'context-type', 'date', 'depends-on', 'derived-from', 'description', 'effective', 'identifier', 'jurisdiction', 'name', 'predecessor', 'publisher', 'status', 'successor', 'title', 'topic', 'url', 'version']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'EvidenceVariable.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'EvidenceVariable.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'EvidenceVariable.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'=>'EvidenceVariable.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'EvidenceVariable.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'EvidenceVariable.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'EvidenceVariable.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'EvidenceVariable.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'url' => {'type'=>'uri', 'path'=>'EvidenceVariable.url', 'min'=>0, 'max'=>1},
  'identifier' => {'type'=>'Identifier', 'path'=>'EvidenceVariable.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'version' => {'type'=>'string', 'path'=>'EvidenceVariable.version', 'min'=>0, 'max'=>1},
  'name' => {'type'=>'string', 'path'=>'EvidenceVariable.name', 'min'=>0, 'max'=>1},
  'title' => {'type'=>'string', 'path'=>'EvidenceVariable.title', 'min'=>0, 'max'=>1},
  'shortTitle' => {'type'=>'string', 'path'=>'EvidenceVariable.shortTitle', 'min'=>0, 'max'=>1},
  'subtitle' => {'type'=>'string', 'path'=>'EvidenceVariable.subtitle', 'min'=>0, 'max'=>1},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'EvidenceVariable.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status|4.0.0'}},
  'date' => {'type'=>'dateTime', 'path'=>'EvidenceVariable.date', 'min'=>0, 'max'=>1},
  'publisher' => {'type'=>'string', 'path'=>'EvidenceVariable.publisher', 'min'=>0, 'max'=>1},
  'contact' => {'type'=>'ContactDetail', 'path'=>'EvidenceVariable.contact', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'markdown', 'path'=>'EvidenceVariable.description', 'min'=>0, 'max'=>1},
  'note' => {'type'=>'Annotation', 'path'=>'EvidenceVariable.note', 'min'=>0, 'max'=>Float::INFINITY},
  'useContext' => {'type'=>'UsageContext', 'path'=>'EvidenceVariable.useContext', 'min'=>0, 'max'=>Float::INFINITY},
  'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'EvidenceVariable.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}},
  'copyright' => {'type'=>'markdown', 'path'=>'EvidenceVariable.copyright', 'min'=>0, 'max'=>1},
  'approvalDate' => {'type'=>'date', 'path'=>'EvidenceVariable.approvalDate', 'min'=>0, 'max'=>1},
  'lastReviewDate' => {'type'=>'date', 'path'=>'EvidenceVariable.lastReviewDate', 'min'=>0, 'max'=>1},
  'effectivePeriod' => {'type'=>'Period', 'path'=>'EvidenceVariable.effectivePeriod', 'min'=>0, 'max'=>1},
  'topic' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/definition-topic'=>['treatment', 'education', 'assessment']}, 'type'=>'CodeableConcept', 'path'=>'EvidenceVariable.topic', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/definition-topic'}},
  'author' => {'type'=>'ContactDetail', 'path'=>'EvidenceVariable.author', 'min'=>0, 'max'=>Float::INFINITY},
  'editor' => {'type'=>'ContactDetail', 'path'=>'EvidenceVariable.editor', 'min'=>0, 'max'=>Float::INFINITY},
  'reviewer' => {'type'=>'ContactDetail', 'path'=>'EvidenceVariable.reviewer', 'min'=>0, 'max'=>Float::INFINITY},
  'endorser' => {'type'=>'ContactDetail', 'path'=>'EvidenceVariable.endorser', 'min'=>0, 'max'=>Float::INFINITY},
  'relatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'EvidenceVariable.relatedArtifact', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/variable-type'=>['dichotomous', 'continuous', 'descriptive']}, 'type'=>'code', 'path'=>'EvidenceVariable.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/variable-type|4.0.0'}},
  'characteristic' => {'type'=>'EvidenceVariable::Characteristic', 'path'=>'EvidenceVariable.characteristic', 'min'=>1, 'max'=>Float::INFINITY}
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

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

#approvalDateObject

0-1 date



120
121
122
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 120

def approvalDate
  @approvalDate
end

#authorObject

0-* [ ContactDetail ]



124
125
126
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 124

def author
  @author
end

#characteristicObject

1-* [ EvidenceVariable::Characteristic ]



130
131
132
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 130

def characteristic
  @characteristic
end

#contactObject

0-* [ ContactDetail ]



114
115
116
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 114

def contact
  @contact
end

#containedObject

0-* [ Resource ]



101
102
103
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 101

def contained
  @contained
end

0-1 markdown



119
120
121
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 119

def copyright
  @copyright
end

#dateObject

0-1 dateTime



112
113
114
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 112

def date
  @date
end

#descriptionObject

0-1 markdown



115
116
117
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 115

def description
  @description
end

#editorObject

0-* [ ContactDetail ]



125
126
127
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 125

def editor
  @editor
end

#effectivePeriodObject

0-1 Period



122
123
124
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 122

def effectivePeriod
  @effectivePeriod
end

#endorserObject

0-* [ ContactDetail ]



127
128
129
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 127

def endorser
  @endorser
end

#extensionObject

0-* [ Extension ]



102
103
104
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 102

def extension
  @extension
end

#idObject

0-1 id



96
97
98
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 96

def id
  @id
end

#identifierObject

0-* [ Identifier ]



105
106
107
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 105

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



98
99
100
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 98

def implicitRules
  @implicitRules
end

#jurisdictionObject

0-* [ CodeableConcept ]



118
119
120
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 118

def jurisdiction
  @jurisdiction
end

#languageObject

0-1 code



99
100
101
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 99

def language
  @language
end

#lastReviewDateObject

0-1 date



121
122
123
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 121

def lastReviewDate
  @lastReviewDate
end

#metaObject

0-1 Meta



97
98
99
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 97

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



103
104
105
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 103

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



107
108
109
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 107

def name
  @name
end

#noteObject

0-* [ Annotation ]



116
117
118
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 116

def note
  @note
end

#publisherObject

0-1 string



113
114
115
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 113

def publisher
  @publisher
end

#relatedArtifactObject

0-* [ RelatedArtifact ]



128
129
130
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 128

def relatedArtifact
  @relatedArtifact
end

#reviewerObject

0-* [ ContactDetail ]



126
127
128
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 126

def reviewer
  @reviewer
end

#shortTitleObject

0-1 string



109
110
111
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 109

def shortTitle
  @shortTitle
end

#statusObject

1-1 code



111
112
113
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 111

def status
  @status
end

#subtitleObject

0-1 string



110
111
112
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 110

def subtitle
  @subtitle
end

#textObject

0-1 Narrative



100
101
102
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 100

def text
  @text
end

#titleObject

0-1 string



108
109
110
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 108

def title
  @title
end

#topicObject

0-* [ CodeableConcept ]



123
124
125
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 123

def topic
  @topic
end

#typeObject

0-1 code



129
130
131
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 129

def type
  @type
end

#urlObject

0-1 uri



104
105
106
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 104

def url
  @url
end

#useContextObject

0-* [ UsageContext ]



117
118
119
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 117

def useContext
  @useContext
end

#versionObject

0-1 string



106
107
108
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 106

def version
  @version
end

Instance Method Details

#resourceTypeObject



132
133
134
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 132

def resourceType
  'EvidenceVariable'
end