Class: FHIR::VerificationResult

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

Defined Under Namespace

Classes: Attestation, PrimarySource, Validator

Constant Summary collapse

SEARCH_PARAMS =
['target']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'VerificationResult.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'VerificationResult.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'VerificationResult.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'=>'VerificationResult.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'VerificationResult.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'VerificationResult.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'VerificationResult.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'VerificationResult.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'target' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'VerificationResult.target', 'min'=>0, 'max'=>Float::INFINITY},
  'targetLocation' => {'type'=>'string', 'path'=>'VerificationResult.targetLocation', 'min'=>0, 'max'=>Float::INFINITY},
  'need' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/need'=>['none', 'initial', 'periodic']}, 'type'=>'CodeableConcept', 'path'=>'VerificationResult.need', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/verificationresult-need'}},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/CodeSystem/status'=>['attested', 'validated', 'in-process', 'req-revalid', 'val-fail', 'reval-fail']}, 'type'=>'code', 'path'=>'VerificationResult.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/verificationresult-status|4.0.0'}},
  'statusDate' => {'type'=>'dateTime', 'path'=>'VerificationResult.statusDate', 'min'=>0, 'max'=>1},
  'validationType' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/validation-type'=>['nothing', 'primary', 'multiple']}, 'type'=>'CodeableConcept', 'path'=>'VerificationResult.validationType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/verificationresult-validation-type'}},
  'validationProcess' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/validation-process'=>['edit-check', 'valueset', 'primary', 'multi', 'standalone', 'in-context']}, 'type'=>'CodeableConcept', 'path'=>'VerificationResult.validationProcess', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/verificationresult-validation-process'}},
  'frequency' => {'type'=>'Timing', 'path'=>'VerificationResult.frequency', 'min'=>0, 'max'=>1},
  'lastPerformed' => {'type'=>'dateTime', 'path'=>'VerificationResult.lastPerformed', 'min'=>0, 'max'=>1},
  'nextScheduled' => {'type'=>'date', 'path'=>'VerificationResult.nextScheduled', 'min'=>0, 'max'=>1},
  'failureAction' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/failure-action'=>['fatal', 'warn', 'rec-only', 'none']}, 'type'=>'CodeableConcept', 'path'=>'VerificationResult.failureAction', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/verificationresult-failure-action'}},
  'primarySource' => {'type'=>'VerificationResult::PrimarySource', 'path'=>'VerificationResult.primarySource', 'min'=>0, 'max'=>Float::INFINITY},
  'attestation' => {'type'=>'VerificationResult::Attestation', 'path'=>'VerificationResult.attestation', 'min'=>0, 'max'=>1},
  'validator' => {'type'=>'VerificationResult::Validator', 'path'=>'VerificationResult.validator', '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

#attestationObject

0-1 VerificationResult::Attestation



137
138
139
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 137

def attestation
  @attestation
end

#containedObject

0-* [ Resource ]



122
123
124
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 122

def contained
  @contained
end

#extensionObject

0-* [ Extension ]



123
124
125
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 123

def extension
  @extension
end

#failureActionObject

0-1 CodeableConcept



135
136
137
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 135

def failureAction
  @failureAction
end

#frequencyObject

0-1 Timing



132
133
134
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 132

def frequency
  @frequency
end

#idObject

0-1 id



117
118
119
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 117

def id
  @id
end

#implicitRulesObject

0-1 uri



119
120
121
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 119

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



120
121
122
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 120

def language
  @language
end

#lastPerformedObject

0-1 dateTime



133
134
135
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 133

def lastPerformed
  @lastPerformed
end

#metaObject

0-1 Meta



118
119
120
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 118

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



124
125
126
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 124

def modifierExtension
  @modifierExtension
end

#needObject

0-1 CodeableConcept



127
128
129
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 127

def need
  @need
end

#nextScheduledObject

0-1 date



134
135
136
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 134

def nextScheduled
  @nextScheduled
end

#primarySourceObject

0-* [ VerificationResult::PrimarySource ]



136
137
138
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 136

def primarySource
  @primarySource
end

#statusObject

1-1 code



128
129
130
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 128

def status
  @status
end

#statusDateObject

0-1 dateTime



129
130
131
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 129

def statusDate
  @statusDate
end

#targetObject

0-* [ Reference(Resource) ]



125
126
127
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 125

def target
  @target
end

#targetLocationObject

0-* [ string ]



126
127
128
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 126

def targetLocation
  @targetLocation
end

#textObject

0-1 Narrative



121
122
123
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 121

def text
  @text
end

#validationProcessObject

0-* [ CodeableConcept ]



131
132
133
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 131

def validationProcess
  @validationProcess
end

#validationTypeObject

0-1 CodeableConcept



130
131
132
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 130

def validationType
  @validationType
end

#validatorObject

0-* [ VerificationResult::Validator ]



138
139
140
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 138

def validator
  @validator
end

Instance Method Details

#resourceTypeObject



140
141
142
# File 'lib/fhir_models/fhir/resources/VerificationResult.rb', line 140

def resourceType
  'VerificationResult'
end