Class: FHIR::EvidenceVariable::Characteristic

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'definition' => ['Reference', 'canonical', 'CodeableConcept', 'Expression', 'DataRequirement', 'TriggerDefinition'],
  'participantEffective' => ['dateTime', 'Period', 'Duration', 'Timing']
}
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Characteristic.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Characteristic.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Characteristic.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'string', 'path'=>'Characteristic.description', 'min'=>0, 'max'=>1},
  'definitionReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Group'], 'type'=>'Reference', 'path'=>'Characteristic.definition[x]', 'min'=>1, 'max'=>1},
  'definitionCanonical' => {'type'=>'canonical', 'path'=>'Characteristic.definition[x]', 'min'=>1, 'max'=>1},
  'definitionCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Characteristic.definition[x]', 'min'=>1, 'max'=>1},
  'definitionExpression' => {'type'=>'Expression', 'path'=>'Characteristic.definition[x]', 'min'=>1, 'max'=>1},
  'definitionDataRequirement' => {'type'=>'DataRequirement', 'path'=>'Characteristic.definition[x]', 'min'=>1, 'max'=>1},
  'definitionTriggerDefinition' => {'type'=>'TriggerDefinition', 'path'=>'Characteristic.definition[x]', 'min'=>1, 'max'=>1},
  'usageContext' => {'type'=>'UsageContext', 'path'=>'Characteristic.usageContext', 'min'=>0, 'max'=>Float::INFINITY},
  'exclude' => {'type'=>'boolean', 'path'=>'Characteristic.exclude', 'min'=>0, 'max'=>1},
  'participantEffectiveDateTime' => {'type'=>'dateTime', 'path'=>'Characteristic.participantEffective[x]', 'min'=>0, 'max'=>1},
  'participantEffectivePeriod' => {'type'=>'Period', 'path'=>'Characteristic.participantEffective[x]', 'min'=>0, 'max'=>1},
  'participantEffectiveDuration' => {'type'=>'Duration', 'path'=>'Characteristic.participantEffective[x]', 'min'=>0, 'max'=>1},
  'participantEffectiveTiming' => {'type'=>'Timing', 'path'=>'Characteristic.participantEffective[x]', 'min'=>0, 'max'=>1},
  'timeFromStart' => {'type'=>'Duration', 'path'=>'Characteristic.timeFromStart', 'min'=>0, 'max'=>1},
  'groupMeasure' => {'valid_codes'=>{'http://hl7.org/fhir/group-measure'=>['mean', 'median', 'mean-of-mean', 'mean-of-median', 'median-of-mean', 'median-of-median']}, 'type'=>'code', 'path'=>'Characteristic.groupMeasure', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/group-measure|4.0.0'}}
}

Instance Attribute Summary collapse

Method Summary

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

#definitionCanonicalObject

1-1 canonical



81
82
83
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 81

def definitionCanonical
  @definitionCanonical
end

#definitionCodeableConceptObject

1-1 CodeableConcept



82
83
84
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 82

def definitionCodeableConcept
  @definitionCodeableConcept
end

#definitionDataRequirementObject

1-1 DataRequirement



84
85
86
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 84

def definitionDataRequirement
  @definitionDataRequirement
end

#definitionExpressionObject

1-1 Expression



83
84
85
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 83

def definitionExpression
  @definitionExpression
end

#definitionReferenceObject

1-1 Reference(Group)



80
81
82
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 80

def definitionReference
  @definitionReference
end

#definitionTriggerDefinitionObject

1-1 TriggerDefinition



85
86
87
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 85

def definitionTriggerDefinition
  @definitionTriggerDefinition
end

#descriptionObject

0-1 string



79
80
81
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 79

def description
  @description
end

#excludeObject

0-1 boolean



87
88
89
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 87

def exclude
  @exclude
end

#extensionObject

0-* [ Extension ]



77
78
79
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 77

def extension
  @extension
end

#groupMeasureObject

0-1 code



93
94
95
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 93

def groupMeasure
  @groupMeasure
end

#idObject

0-1 string



76
77
78
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 76

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



78
79
80
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 78

def modifierExtension
  @modifierExtension
end

#participantEffectiveDateTimeObject

0-1 dateTime



88
89
90
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 88

def participantEffectiveDateTime
  @participantEffectiveDateTime
end

#participantEffectiveDurationObject

0-1 Duration



90
91
92
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 90

def participantEffectiveDuration
  @participantEffectiveDuration
end

#participantEffectivePeriodObject

0-1 Period



89
90
91
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 89

def participantEffectivePeriod
  @participantEffectivePeriod
end

#participantEffectiveTimingObject

0-1 Timing



91
92
93
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 91

def participantEffectiveTiming
  @participantEffectiveTiming
end

#timeFromStartObject

0-1 Duration



92
93
94
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 92

def timeFromStart
  @timeFromStart
end

#usageContextObject

0-* [ UsageContext ]



86
87
88
# File 'lib/fhir_models/fhir/resources/EvidenceVariable.rb', line 86

def usageContext
  @usageContext
end