Class: FHIR::MeasureReport

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

Defined Under Namespace

Classes: Group

Constant Summary collapse

SEARCH_PARAMS =
['date', 'evaluated-resource', 'identifier', 'measure', 'patient', 'period', 'reporter', 'status', 'subject']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'MeasureReport.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'MeasureReport.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'MeasureReport.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'=>'MeasureReport.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'MeasureReport.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'MeasureReport.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'MeasureReport.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'MeasureReport.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'MeasureReport.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/measure-report-status'=>['complete', 'pending', 'error']}, 'type'=>'code', 'path'=>'MeasureReport.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/measure-report-status|4.0.0'}},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/measure-report-type'=>['individual', 'subject-list', 'summary', 'data-collection']}, 'type'=>'code', 'path'=>'MeasureReport.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/measure-report-type|4.0.0'}},
  'measure' => {'type'=>'canonical', 'path'=>'MeasureReport.measure', 'min'=>1, 'max'=>1},
  'subject' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Group'], 'type'=>'Reference', 'path'=>'MeasureReport.subject', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'dateTime', 'path'=>'MeasureReport.date', 'min'=>0, 'max'=>1},
  'reporter' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'MeasureReport.reporter', 'min'=>0, 'max'=>1},
  'period' => {'type'=>'Period', 'path'=>'MeasureReport.period', 'min'=>1, 'max'=>1},
  'improvementNotation' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/measure-improvement-notation'=>['increase', 'decrease']}, 'type'=>'CodeableConcept', 'path'=>'MeasureReport.improvementNotation', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.0'}},
  'group' => {'type'=>'MeasureReport::Group', 'path'=>'MeasureReport.group', 'min'=>0, 'max'=>Float::INFINITY},
  'evaluatedResource' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'MeasureReport.evaluatedResource', '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

#containedObject

0-* [ Resource ]



167
168
169
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 167

def contained
  @contained
end

#dateObject

0-1 dateTime



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

def date
  @date
end

#evaluatedResourceObject

0-* [ Reference(Resource) ]



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

def evaluatedResource
  @evaluatedResource
end

#extensionObject

0-* [ Extension ]



168
169
170
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 168

def extension
  @extension
end

#groupObject

0-* [ MeasureReport::Group ]



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

def group
  @group
end

#idObject

0-1 id



162
163
164
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 162

def id
  @id
end

#identifierObject

0-* [ Identifier ]



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

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



164
165
166
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 164

def implicitRules
  @implicitRules
end

#improvementNotationObject

0-1 CodeableConcept



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

def improvementNotation
  @improvementNotation
end

#languageObject

0-1 code



165
166
167
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 165

def language
  @language
end

#measureObject

1-1 canonical



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

def measure
  @measure
end

#metaObject

0-1 Meta



163
164
165
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 163

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



169
170
171
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 169

def modifierExtension
  @modifierExtension
end

#periodObject

1-1 Period



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

def period
  @period
end

#reporterObject

0-1 Reference(Practitioner|PractitionerRole|Location|Organization)



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

def reporter
  @reporter
end

#statusObject

1-1 code



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

def status
  @status
end

#subjectObject

0-1 Reference(Patient|Practitioner|PractitionerRole|Location|Device|RelatedPerson|Group)



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

def subject
  @subject
end

#textObject

0-1 Narrative



166
167
168
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 166

def text
  @text
end

#typeObject

1-1 code



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

def type
  @type
end

Instance Method Details

#resourceTypeObject



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

def resourceType
  'MeasureReport'
end