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 =
['identifier', 'patient', 'status']
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', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-SP', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'MeasureReport.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', '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'=>1},
  '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'}},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/measure-report-type'=>['individual', 'patient-list', 'summary']}, 'type'=>'code', 'path'=>'MeasureReport.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/measure-report-type'}},
  'measure' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Measure'], 'type'=>'Reference', 'path'=>'MeasureReport.measure', 'min'=>1, 'max'=>1},
  'patient' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient'], 'type'=>'Reference', 'path'=>'MeasureReport.patient', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'dateTime', 'path'=>'MeasureReport.date', 'min'=>0, 'max'=>1},
  'reportingOrganization' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'MeasureReport.reportingOrganization', 'min'=>0, 'max'=>1},
  'period' => {'type'=>'Period', 'path'=>'MeasureReport.period', 'min'=>1, 'max'=>1},
  'group' => {'type'=>'MeasureReport::Group', 'path'=>'MeasureReport.group', 'min'=>0, 'max'=>Float::INFINITY},
  'evaluatedResources' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Bundle'], 'type'=>'Reference', 'path'=>'MeasureReport.evaluatedResources', 'min'=>0, 'max'=>1}
}

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 ]



148
149
150
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 148

def contained
  @contained
end

#dateObject

0-1 dateTime



156
157
158
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 156

def date
  @date
end

#evaluatedResourcesObject

0-1 Reference(Bundle)



160
161
162
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 160

def evaluatedResources
  @evaluatedResources
end

#extensionObject

0-* [ Extension ]



149
150
151
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 149

def extension
  @extension
end

#groupObject

0-* [ MeasureReport::Group ]



159
160
161
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 159

def group
  @group
end

#idObject

0-1 id



143
144
145
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 143

def id
  @id
end

#identifierObject

0-1 Identifier



151
152
153
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 151

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



145
146
147
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 145

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



146
147
148
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 146

def language
  @language
end

#measureObject

1-1 Reference(Measure)



154
155
156
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 154

def measure
  @measure
end

#metaObject

0-1 Meta



144
145
146
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 144

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



150
151
152
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 150

def modifierExtension
  @modifierExtension
end

#patientObject

0-1 Reference(Patient)



155
156
157
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 155

def patient
  @patient
end

#periodObject

1-1 Period



158
159
160
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 158

def period
  @period
end

#reportingOrganizationObject

0-1 Reference(Organization)



157
158
159
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 157

def reportingOrganization
  @reportingOrganization
end

#statusObject

1-1 code



152
153
154
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 152

def status
  @status
end

#textObject

0-1 Narrative



147
148
149
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 147

def text
  @text
end

#typeObject

1-1 code



153
154
155
# File 'lib/fhir_models/fhir/resources/MeasureReport.rb', line 153

def type
  @type
end

Instance Method Details

#resourceTypeObject



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

def resourceType
  'MeasureReport'
end