Class: FHIR::RiskEvidenceSynthesis

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

Defined Under Namespace

Classes: Certainty, RiskEstimate, SampleSize

Constant Summary collapse

SEARCH_PARAMS =
['context', 'context-quantity', 'context-type', 'date', 'description', 'effective', 'identifier', 'jurisdiction', 'name', 'publisher', 'status', 'title', 'url', 'version']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'RiskEvidenceSynthesis.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'RiskEvidenceSynthesis.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'RiskEvidenceSynthesis.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'=>'RiskEvidenceSynthesis.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'RiskEvidenceSynthesis.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'RiskEvidenceSynthesis.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'RiskEvidenceSynthesis.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'RiskEvidenceSynthesis.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'url' => {'type'=>'uri', 'path'=>'RiskEvidenceSynthesis.url', 'min'=>0, 'max'=>1},
  'identifier' => {'type'=>'Identifier', 'path'=>'RiskEvidenceSynthesis.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'version' => {'type'=>'string', 'path'=>'RiskEvidenceSynthesis.version', 'min'=>0, 'max'=>1},
  'name' => {'type'=>'string', 'path'=>'RiskEvidenceSynthesis.name', 'min'=>0, 'max'=>1},
  'title' => {'type'=>'string', 'path'=>'RiskEvidenceSynthesis.title', 'min'=>0, 'max'=>1},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'RiskEvidenceSynthesis.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status|4.0.0'}},
  'date' => {'type'=>'dateTime', 'path'=>'RiskEvidenceSynthesis.date', 'min'=>0, 'max'=>1},
  'publisher' => {'type'=>'string', 'path'=>'RiskEvidenceSynthesis.publisher', 'min'=>0, 'max'=>1},
  'contact' => {'type'=>'ContactDetail', 'path'=>'RiskEvidenceSynthesis.contact', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'markdown', 'path'=>'RiskEvidenceSynthesis.description', 'min'=>0, 'max'=>1},
  'note' => {'type'=>'Annotation', 'path'=>'RiskEvidenceSynthesis.note', 'min'=>0, 'max'=>Float::INFINITY},
  'useContext' => {'type'=>'UsageContext', 'path'=>'RiskEvidenceSynthesis.useContext', 'min'=>0, 'max'=>Float::INFINITY},
  'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'RiskEvidenceSynthesis.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}},
  'copyright' => {'type'=>'markdown', 'path'=>'RiskEvidenceSynthesis.copyright', 'min'=>0, 'max'=>1},
  'approvalDate' => {'type'=>'date', 'path'=>'RiskEvidenceSynthesis.approvalDate', 'min'=>0, 'max'=>1},
  'lastReviewDate' => {'type'=>'date', 'path'=>'RiskEvidenceSynthesis.lastReviewDate', 'min'=>0, 'max'=>1},
  'effectivePeriod' => {'type'=>'Period', 'path'=>'RiskEvidenceSynthesis.effectivePeriod', 'min'=>0, 'max'=>1},
  'topic' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/definition-topic'=>['treatment', 'education', 'assessment']}, 'type'=>'CodeableConcept', 'path'=>'RiskEvidenceSynthesis.topic', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/definition-topic'}},
  'author' => {'type'=>'ContactDetail', 'path'=>'RiskEvidenceSynthesis.author', 'min'=>0, 'max'=>Float::INFINITY},
  'editor' => {'type'=>'ContactDetail', 'path'=>'RiskEvidenceSynthesis.editor', 'min'=>0, 'max'=>Float::INFINITY},
  'reviewer' => {'type'=>'ContactDetail', 'path'=>'RiskEvidenceSynthesis.reviewer', 'min'=>0, 'max'=>Float::INFINITY},
  'endorser' => {'type'=>'ContactDetail', 'path'=>'RiskEvidenceSynthesis.endorser', 'min'=>0, 'max'=>Float::INFINITY},
  'relatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'RiskEvidenceSynthesis.relatedArtifact', 'min'=>0, 'max'=>Float::INFINITY},
  'synthesisType' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/synthesis-type'=>['std-MA', 'IPD-MA', 'indirect-NMA', 'combined-NMA', 'range', 'classification']}, 'type'=>'CodeableConcept', 'path'=>'RiskEvidenceSynthesis.synthesisType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/synthesis-type'}},
  'studyType' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/study-type'=>['RCT', 'CCT', 'cohort', 'case-control', 'series', 'case-report', 'mixed']}, 'type'=>'CodeableConcept', 'path'=>'RiskEvidenceSynthesis.studyType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/study-type'}},
  'population' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/EvidenceVariable'], 'type'=>'Reference', 'path'=>'RiskEvidenceSynthesis.population', 'min'=>1, 'max'=>1},
  'exposure' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/EvidenceVariable'], 'type'=>'Reference', 'path'=>'RiskEvidenceSynthesis.exposure', 'min'=>0, 'max'=>1},
  'outcome' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/EvidenceVariable'], 'type'=>'Reference', 'path'=>'RiskEvidenceSynthesis.outcome', 'min'=>1, 'max'=>1},
  'sampleSize' => {'type'=>'RiskEvidenceSynthesis::SampleSize', 'path'=>'RiskEvidenceSynthesis.sampleSize', 'min'=>0, 'max'=>1},
  'riskEstimate' => {'type'=>'RiskEvidenceSynthesis::RiskEstimate', 'path'=>'RiskEvidenceSynthesis.riskEstimate', 'min'=>0, 'max'=>1},
  'certainty' => {'type'=>'RiskEvidenceSynthesis::Certainty', 'path'=>'RiskEvidenceSynthesis.certainty', 'min'=>0, '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



192
193
194
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 192

def approvalDate
  @approvalDate
end

#authorObject

0-* [ ContactDetail ]



196
197
198
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 196

def author
  @author
end

#certaintyObject

0-* [ RiskEvidenceSynthesis::Certainty ]



208
209
210
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 208

def certainty
  @certainty
end

#contactObject

0-* [ ContactDetail ]



186
187
188
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 186

def contact
  @contact
end

#containedObject

0-* [ Resource ]



175
176
177
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 175

def contained
  @contained
end

0-1 markdown



191
192
193
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 191

def copyright
  @copyright
end

#dateObject

0-1 dateTime



184
185
186
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 184

def date
  @date
end

#descriptionObject

0-1 markdown



187
188
189
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 187

def description
  @description
end

#editorObject

0-* [ ContactDetail ]



197
198
199
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 197

def editor
  @editor
end

#effectivePeriodObject

0-1 Period



194
195
196
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 194

def effectivePeriod
  @effectivePeriod
end

#endorserObject

0-* [ ContactDetail ]



199
200
201
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 199

def endorser
  @endorser
end

#exposureObject

0-1 Reference(EvidenceVariable)



204
205
206
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 204

def exposure
  @exposure
end

#extensionObject

0-* [ Extension ]



176
177
178
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 176

def extension
  @extension
end

#idObject

0-1 id



170
171
172
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 170

def id
  @id
end

#identifierObject

0-* [ Identifier ]



179
180
181
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 179

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



172
173
174
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 172

def implicitRules
  @implicitRules
end

#jurisdictionObject

0-* [ CodeableConcept ]



190
191
192
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 190

def jurisdiction
  @jurisdiction
end

#languageObject

0-1 code



173
174
175
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 173

def language
  @language
end

#lastReviewDateObject

0-1 date



193
194
195
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 193

def lastReviewDate
  @lastReviewDate
end

#metaObject

0-1 Meta



171
172
173
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 171

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



177
178
179
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 177

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



181
182
183
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 181

def name
  @name
end

#noteObject

0-* [ Annotation ]



188
189
190
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 188

def note
  @note
end

#outcomeObject

1-1 Reference(EvidenceVariable)



205
206
207
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 205

def outcome
  @outcome
end

#populationObject

1-1 Reference(EvidenceVariable)



203
204
205
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 203

def population
  @population
end

#publisherObject

0-1 string



185
186
187
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 185

def publisher
  @publisher
end

#relatedArtifactObject

0-* [ RelatedArtifact ]



200
201
202
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 200

def relatedArtifact
  @relatedArtifact
end

#reviewerObject

0-* [ ContactDetail ]



198
199
200
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 198

def reviewer
  @reviewer
end

#riskEstimateObject

0-1 RiskEvidenceSynthesis::RiskEstimate



207
208
209
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 207

def riskEstimate
  @riskEstimate
end

#sampleSizeObject

0-1 RiskEvidenceSynthesis::SampleSize



206
207
208
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 206

def sampleSize
  @sampleSize
end

#statusObject

1-1 code



183
184
185
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 183

def status
  @status
end

#studyTypeObject

0-1 CodeableConcept



202
203
204
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 202

def studyType
  @studyType
end

#synthesisTypeObject

0-1 CodeableConcept



201
202
203
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 201

def synthesisType
  @synthesisType
end

#textObject

0-1 Narrative



174
175
176
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 174

def text
  @text
end

#titleObject

0-1 string



182
183
184
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 182

def title
  @title
end

#topicObject

0-* [ CodeableConcept ]



195
196
197
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 195

def topic
  @topic
end

#urlObject

0-1 uri



178
179
180
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 178

def url
  @url
end

#useContextObject

0-* [ UsageContext ]



189
190
191
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 189

def useContext
  @useContext
end

#versionObject

0-1 string



180
181
182
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 180

def version
  @version
end

Instance Method Details

#resourceTypeObject



210
211
212
# File 'lib/fhir_models/fhir/resources/RiskEvidenceSynthesis.rb', line 210

def resourceType
  'RiskEvidenceSynthesis'
end