Class: FHIR::R4::Measure

Inherits:
Model show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/r4/generated/resources/Measure.rb

Defined Under Namespace

Classes: Group, SupplementalData

Constant Summary collapse

MULTIPLE_TYPES =
{
  'subject' => ['CodeableConcept', 'Reference']
}
SEARCH_PARAMS =
['composed-of', 'context', 'context-quantity', 'context-type', 'context-type-quantity', 'context-type-value', 'date', 'depends-on', 'derived-from', 'description', 'effective', 'identifier', 'jurisdiction', 'name', 'predecessor', 'publisher', 'status', 'successor', 'title', 'topic', 'url', 'version']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'Measure.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'Measure.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'Measure.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'=>'Measure.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'Measure.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'Measure.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'Measure.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Measure.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'url' => {'type'=>'uri', 'path'=>'Measure.url', 'min'=>0, 'max'=>1},
  'identifier' => {'type'=>'Identifier', 'path'=>'Measure.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'version' => {'type'=>'string', 'path'=>'Measure.version', 'min'=>0, 'max'=>1},
  'name' => {'type'=>'string', 'path'=>'Measure.name', 'min'=>0, 'max'=>1},
  'title' => {'type'=>'string', 'path'=>'Measure.title', 'min'=>0, 'max'=>1},
  'subtitle' => {'type'=>'string', 'path'=>'Measure.subtitle', 'min'=>0, 'max'=>1},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'Measure.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status'}},
  'experimental' => {'type'=>'boolean', 'path'=>'Measure.experimental', 'min'=>0, 'max'=>1},
  'subjectCodeableConcept' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Patient', 'Practitioner', 'Organization', 'Location', 'Device']}, 'type'=>'CodeableConcept', 'path'=>'Measure.subject[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/subject-type'}},
  'subjectReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Group'], 'type'=>'Reference', 'path'=>'Measure.subject[x]', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'dateTime', 'path'=>'Measure.date', 'min'=>0, 'max'=>1},
  'publisher' => {'type'=>'string', 'path'=>'Measure.publisher', 'min'=>0, 'max'=>1},
  'contact' => {'type'=>'ContactDetail', 'path'=>'Measure.contact', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'markdown', 'path'=>'Measure.description', 'min'=>0, 'max'=>1},
  'useContext' => {'type'=>'UsageContext', 'path'=>'Measure.useContext', 'min'=>0, 'max'=>Float::INFINITY},
  'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'Measure.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}},
  'purpose' => {'type'=>'markdown', 'path'=>'Measure.purpose', 'min'=>0, 'max'=>1},
  'usage' => {'type'=>'string', 'path'=>'Measure.usage', 'min'=>0, 'max'=>1},
  'copyright' => {'type'=>'markdown', 'path'=>'Measure.copyright', 'min'=>0, 'max'=>1},
  'approvalDate' => {'type'=>'date', 'path'=>'Measure.approvalDate', 'min'=>0, 'max'=>1},
  'lastReviewDate' => {'type'=>'date', 'path'=>'Measure.lastReviewDate', 'min'=>0, 'max'=>1},
  'effectivePeriod' => {'type'=>'Period', 'path'=>'Measure.effectivePeriod', 'min'=>0, 'max'=>1},
  'topic' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/definition-topic'=>['treatment', 'education', 'assessment']}, 'type'=>'CodeableConcept', 'path'=>'Measure.topic', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/definition-topic'}},
  'author' => {'type'=>'ContactDetail', 'path'=>'Measure.author', 'min'=>0, 'max'=>Float::INFINITY},
  'editor' => {'type'=>'ContactDetail', 'path'=>'Measure.editor', 'min'=>0, 'max'=>Float::INFINITY},
  'reviewer' => {'type'=>'ContactDetail', 'path'=>'Measure.reviewer', 'min'=>0, 'max'=>Float::INFINITY},
  'endorser' => {'type'=>'ContactDetail', 'path'=>'Measure.endorser', 'min'=>0, 'max'=>Float::INFINITY},
  'relatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'Measure.relatedArtifact', 'min'=>0, 'max'=>Float::INFINITY},
  'library' => {'type'=>'canonical', 'path'=>'Measure.library', 'min'=>0, 'max'=>Float::INFINITY},
  'disclaimer' => {'type'=>'markdown', 'path'=>'Measure.disclaimer', 'min'=>0, 'max'=>1},
  'scoring' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/measure-scoring'=>['proportion', 'ratio', 'continuous-variable', 'cohort']}, 'type'=>'CodeableConcept', 'path'=>'Measure.scoring', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/measure-scoring'}},
  'compositeScoring' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/composite-measure-scoring'=>['opportunity', 'all-or-nothing', 'linear', 'weighted']}, 'type'=>'CodeableConcept', 'path'=>'Measure.compositeScoring', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/composite-measure-scoring'}},
  'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/measure-type'=>['process', 'outcome', 'structure', 'patient-reported-outcome', 'composite']}, 'type'=>'CodeableConcept', 'path'=>'Measure.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/measure-type'}},
  'riskAdjustment' => {'type'=>'string', 'path'=>'Measure.riskAdjustment', 'min'=>0, 'max'=>1},
  'rateAggregation' => {'type'=>'string', 'path'=>'Measure.rateAggregation', 'min'=>0, 'max'=>1},
  'rationale' => {'type'=>'markdown', 'path'=>'Measure.rationale', 'min'=>0, 'max'=>1},
  'clinicalRecommendationStatement' => {'type'=>'markdown', 'path'=>'Measure.clinicalRecommendationStatement', 'min'=>0, 'max'=>1},
  'improvementNotation' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/measure-improvement-notation'=>['increase', 'decrease']}, 'type'=>'CodeableConcept', 'path'=>'Measure.improvementNotation', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/measure-improvement-notation'}},
  'definition' => {'type'=>'markdown', 'path'=>'Measure.definition', 'min'=>0, 'max'=>Float::INFINITY},
  'guidance' => {'type'=>'markdown', 'path'=>'Measure.guidance', 'min'=>0, 'max'=>1},
  'group' => {'type'=>'Measure::Group', 'path'=>'Measure.group', 'min'=>0, 'max'=>Float::INFINITY},
  'supplementalData' => {'type'=>'Measure::SupplementalData', 'path'=>'Measure.supplementalData', 'min'=>0, 'max'=>Float::INFINITY}
}

Constants included from FHIR::R4

PRIMITIVES, RESOURCES, TYPES

Constants included from FHIR

Account, ActivityDefinition, Address, AdverseEvent, Age, AllergyIntolerance, Annotation, Appointment, AppointmentResponse, Attachment, AuditEvent, BackboneElement, Basic, Binary, BiologicallyDerivedProduct, BodyStructure, Bundle, CapabilityStatement, CarePlan, CareTeam, CatalogEntry, ChargeItem, ChargeItemDefinition, Claim, ClaimResponse, ClinicalImpression, CodeSystem, CodeableConcept, Coding, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, Condition, Consent, ContactDetail, ContactPoint, Contract, Contributor, Count, Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, DataRequirement, Definitions, DetectedIssue, Device, DeviceDefinition, DeviceMetric, DeviceRequest, DeviceUseStatement, DiagnosticReport, Distance, DocumentManifest, DocumentReference, DomainResource, Dosage, Duration, EffectEvidenceSynthesis, Element, ElementDefinition, Encounter, Endpoint, EnrollmentRequest, EnrollmentResponse, EpisodeOfCare, EventDefinition, Evidence, EvidenceVariable, ExampleScenario, ExplanationOfBenefit, Expression, Extension, FamilyMemberHistory, Flag, Goal, GraphDefinition, Group, GuidanceResponse, HealthcareService, HumanName, Identifier, ImagingStudy, Immunization, ImmunizationEvaluation, ImmunizationRecommendation, ImplementationGuide, InsurancePlan, Invoice, Library, Linkage, List, Location, MarketingStatus, Measure, MeasureReport, Media, Medication, MedicationAdministration, MedicationDispense, MedicationKnowledge, MedicationRequest, MedicationStatement, MedicinalProduct, MedicinalProductAuthorization, MedicinalProductContraindication, MedicinalProductIndication, MedicinalProductIngredient, MedicinalProductInteraction, MedicinalProductManufactured, MedicinalProductPackaged, MedicinalProductPharmaceutical, MedicinalProductUndesirableEffect, MessageDefinition, MessageHeader, Meta, MolecularSequence, Money, NamingSystem, Narrative, NutritionOrder, Observation, ObservationDefinition, OperationDefinition, OperationOutcome, Organization, OrganizationAffiliation, PRIMITIVES, ParameterDefinition, Parameters, Patient, PaymentNotice, PaymentReconciliation, Period, Person, PlanDefinition, Population, Practitioner, PractitionerRole, Procedure, ProdCharacteristic, ProductShelfLife, Provenance, Quantity, Questionnaire, QuestionnaireResponse, FHIR::RESOURCES, FHIR::Range, FHIR::Ratio, FHIR::Reference, FHIR::RelatedArtifact, FHIR::RelatedPerson, FHIR::RequestGroup, FHIR::ResearchDefinition, FHIR::ResearchElementDefinition, FHIR::ResearchStudy, FHIR::ResearchSubject, FHIR::Resource, FHIR::RiskAssessment, FHIR::RiskEvidenceSynthesis, SampledData, Schedule, SearchParameter, ServiceRequest, Signature, Slot, Specimen, SpecimenDefinition, StructureDefinition, StructureDefinitionCompare, StructureMap, Subscription, Substance, SubstanceAmount, SubstanceNucleicAcid, SubstancePolymer, SubstanceProtein, SubstanceReferenceInformation, SubstanceSourceMaterial, SubstanceSpecification, SupplyDelivery, SupplyRequest, TYPES, Task, TerminologyCapabilities, TestReport, TestScript, Timing, TriggerDefinition, UsageContext, ValueSet, VerificationResult, VisionPrescription

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from FHIR::R4

#fhir_version_string, #versioned_fhir_module

Methods included from FHIR

default_logger, fhir_version_string, logger, logger=, primitive?, versioned_fhir_module

Methods included from ClassMethods

#from_contents

Methods included from ClassXml

#from_xml, #valid?, #validate, #xml_node_to_hash

Methods included from InstanceXml

#hash_to_xml_node, #to_xml

Methods included from ClassJson

#from_json

Methods included from InstanceJson

#to_json

Methods included from Hashable

#from_hash, #to_hash

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

Methods included from Deprecate

#deprecate

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



208
209
210
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 208

def approvalDate
  @approvalDate
end

#authorObject

0-* [ ContactDetail ]



212
213
214
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 212

def author
  @author
end

#clinicalRecommendationStatementObject

0-1 markdown



225
226
227
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 225

def clinicalRecommendationStatement
  @clinicalRecommendationStatement
end

#compositeScoringObject

0-1 CodeableConcept



220
221
222
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 220

def compositeScoring
  @compositeScoring
end

#contactObject

0-* [ ContactDetail ]



201
202
203
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 201

def contact
  @contact
end

#containedObject

0-* [ Resource ]



186
187
188
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 186

def contained
  @contained
end

0-1 markdown



207
208
209
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 207

def copyright
  @copyright
end

#dateObject

0-1 dateTime



199
200
201
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 199

def date
  @date
end

#definitionObject

0-* [ markdown ]



227
228
229
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 227

def definition
  @definition
end

#descriptionObject

0-1 markdown



202
203
204
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 202

def description
  @description
end

#disclaimerObject

0-1 markdown



218
219
220
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 218

def disclaimer
  @disclaimer
end

#editorObject

0-* [ ContactDetail ]



213
214
215
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 213

def editor
  @editor
end

#effectivePeriodObject

0-1 Period



210
211
212
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 210

def effectivePeriod
  @effectivePeriod
end

#endorserObject

0-* [ ContactDetail ]



215
216
217
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 215

def endorser
  @endorser
end

#experimentalObject

0-1 boolean



196
197
198
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 196

def experimental
  @experimental
end

#extensionObject

0-* [ Extension ]



187
188
189
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 187

def extension
  @extension
end

#groupObject

0-* [ Measure::Group ]



229
230
231
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 229

def group
  @group
end

#guidanceObject

0-1 markdown



228
229
230
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 228

def guidance
  @guidance
end

#idObject

0-1 id



181
182
183
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 181

def id
  @id
end

#identifierObject

0-* [ Identifier ]



190
191
192
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 190

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



183
184
185
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 183

def implicitRules
  @implicitRules
end

#improvementNotationObject

0-1 CodeableConcept



226
227
228
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 226

def improvementNotation
  @improvementNotation
end

#jurisdictionObject

0-* [ CodeableConcept ]



204
205
206
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 204

def jurisdiction
  @jurisdiction
end

#languageObject

0-1 code



184
185
186
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 184

def language
  @language
end

#lastReviewDateObject

0-1 date



209
210
211
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 209

def lastReviewDate
  @lastReviewDate
end

#libraryObject

0-* [ canonical ]



217
218
219
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 217

def library
  @library
end

#metaObject

0-1 Meta



182
183
184
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 182

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



188
189
190
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 188

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



192
193
194
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 192

def name
  @name
end

#publisherObject

0-1 string



200
201
202
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 200

def publisher
  @publisher
end

#purposeObject

0-1 markdown



205
206
207
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 205

def purpose
  @purpose
end

#rateAggregationObject

0-1 string



223
224
225
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 223

def rateAggregation
  @rateAggregation
end

#rationaleObject

0-1 markdown



224
225
226
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 224

def rationale
  @rationale
end

#relatedArtifactObject

0-* [ RelatedArtifact ]



216
217
218
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 216

def relatedArtifact
  @relatedArtifact
end

#reviewerObject

0-* [ ContactDetail ]



214
215
216
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 214

def reviewer
  @reviewer
end

#riskAdjustmentObject

0-1 string



222
223
224
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 222

def riskAdjustment
  @riskAdjustment
end

#scoringObject

0-1 CodeableConcept



219
220
221
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 219

def scoring
  @scoring
end

#statusObject

1-1 code



195
196
197
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 195

def status
  @status
end

#subjectCodeableConceptObject

0-1 CodeableConcept



197
198
199
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 197

def subjectCodeableConcept
  @subjectCodeableConcept
end

#subjectReferenceObject

0-1 Reference(Group)



198
199
200
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 198

def subjectReference
  @subjectReference
end

#subtitleObject

0-1 string



194
195
196
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 194

def subtitle
  @subtitle
end

#supplementalDataObject

0-* [ Measure::SupplementalData ]



230
231
232
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 230

def supplementalData
  @supplementalData
end

#textObject

0-1 Narrative



185
186
187
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 185

def text
  @text
end

#titleObject

0-1 string



193
194
195
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 193

def title
  @title
end

#topicObject

0-* [ CodeableConcept ]



211
212
213
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 211

def topic
  @topic
end

#typeObject

0-* [ CodeableConcept ]



221
222
223
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 221

def type
  @type
end

#urlObject

0-1 uri



189
190
191
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 189

def url
  @url
end

#usageObject

0-1 string



206
207
208
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 206

def usage
  @usage
end

#useContextObject

0-* [ UsageContext ]



203
204
205
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 203

def useContext
  @useContext
end

#versionObject

0-1 string



191
192
193
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 191

def version
  @version
end

Instance Method Details

#resourceTypeObject



232
233
234
# File 'lib/fhir_models/r4/generated/resources/Measure.rb', line 232

def resourceType
  'Measure'
end