Class: FHIR::TerminologyCapabilities

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

Defined Under Namespace

Classes: Closure, CodeSystem, Expansion, Implementation, Software, Translation, ValidateCode

Constant Summary collapse

SEARCH_PARAMS =
['context', 'context-quantity', 'context-type', 'date', 'description', 'jurisdiction', 'name', 'publisher', 'status', 'title', 'url', 'version']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'TerminologyCapabilities.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'TerminologyCapabilities.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'TerminologyCapabilities.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'=>'TerminologyCapabilities.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'TerminologyCapabilities.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'TerminologyCapabilities.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'TerminologyCapabilities.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'TerminologyCapabilities.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'url' => {'type'=>'uri', 'path'=>'TerminologyCapabilities.url', 'min'=>0, 'max'=>1},
  'version' => {'type'=>'string', 'path'=>'TerminologyCapabilities.version', 'min'=>0, 'max'=>1},
  'name' => {'type'=>'string', 'path'=>'TerminologyCapabilities.name', 'min'=>0, 'max'=>1},
  'title' => {'type'=>'string', 'path'=>'TerminologyCapabilities.title', 'min'=>0, 'max'=>1},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'TerminologyCapabilities.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status|4.0.0'}},
  'experimental' => {'type'=>'boolean', 'path'=>'TerminologyCapabilities.experimental', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'dateTime', 'path'=>'TerminologyCapabilities.date', 'min'=>1, 'max'=>1},
  'publisher' => {'type'=>'string', 'path'=>'TerminologyCapabilities.publisher', 'min'=>0, 'max'=>1},
  'contact' => {'type'=>'ContactDetail', 'path'=>'TerminologyCapabilities.contact', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'markdown', 'path'=>'TerminologyCapabilities.description', 'min'=>0, 'max'=>1},
  'useContext' => {'type'=>'UsageContext', 'path'=>'TerminologyCapabilities.useContext', 'min'=>0, 'max'=>Float::INFINITY},
  'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'TerminologyCapabilities.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}},
  'purpose' => {'type'=>'markdown', 'path'=>'TerminologyCapabilities.purpose', 'min'=>0, 'max'=>1},
  'copyright' => {'type'=>'markdown', 'path'=>'TerminologyCapabilities.copyright', 'min'=>0, 'max'=>1},
  'kind' => {'valid_codes'=>{'http://hl7.org/fhir/capability-statement-kind'=>['instance', 'capability', 'requirements']}, 'type'=>'code', 'path'=>'TerminologyCapabilities.kind', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/capability-statement-kind|4.0.0'}},
  'software' => {'type'=>'TerminologyCapabilities::Software', 'path'=>'TerminologyCapabilities.software', 'min'=>0, 'max'=>1},
  'implementation' => {'type'=>'TerminologyCapabilities::Implementation', 'path'=>'TerminologyCapabilities.implementation', 'min'=>0, 'max'=>1},
  'lockedDate' => {'type'=>'boolean', 'path'=>'TerminologyCapabilities.lockedDate', 'min'=>0, 'max'=>1},
  'codeSystem' => {'type'=>'TerminologyCapabilities::CodeSystem', 'path'=>'TerminologyCapabilities.codeSystem', 'min'=>0, 'max'=>Float::INFINITY},
  'expansion' => {'type'=>'TerminologyCapabilities::Expansion', 'path'=>'TerminologyCapabilities.expansion', 'min'=>0, 'max'=>1},
  'codeSearch' => {'valid_codes'=>{'http://hl7.org/fhir/code-search-support'=>['explicit', 'all']}, 'type'=>'code', 'path'=>'TerminologyCapabilities.codeSearch', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/code-search-support|4.0.0'}},
  'validateCode' => {'type'=>'TerminologyCapabilities::ValidateCode', 'path'=>'TerminologyCapabilities.validateCode', 'min'=>0, 'max'=>1},
  'translation' => {'type'=>'TerminologyCapabilities::Translation', 'path'=>'TerminologyCapabilities.translation', 'min'=>0, 'max'=>1},
  'closure' => {'type'=>'TerminologyCapabilities::Closure', 'path'=>'TerminologyCapabilities.closure', '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

#closureObject

0-1 TerminologyCapabilities::Closure



284
285
286
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 284

def closure
  @closure
end

#codeSearchObject

0-1 code



281
282
283
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 281

def codeSearch
  @codeSearch
end

#codeSystemObject

0-* [ TerminologyCapabilities::CodeSystem ]



279
280
281
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 279

def codeSystem
  @codeSystem
end

#contactObject

0-* [ ContactDetail ]



269
270
271
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 269

def contact
  @contact
end

#containedObject

0-* [ Resource ]



258
259
260
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 258

def contained
  @contained
end

0-1 markdown



274
275
276
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 274

def copyright
  @copyright
end

#dateObject

1-1 dateTime



267
268
269
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 267

def date
  @date
end

#descriptionObject

0-1 markdown



270
271
272
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 270

def description
  @description
end

#expansionObject

0-1 TerminologyCapabilities::Expansion



280
281
282
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 280

def expansion
  @expansion
end

#experimentalObject

0-1 boolean



266
267
268
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 266

def experimental
  @experimental
end

#extensionObject

0-* [ Extension ]



259
260
261
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 259

def extension
  @extension
end

#idObject

0-1 id



253
254
255
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 253

def id
  @id
end

#implementationObject

0-1 TerminologyCapabilities::Implementation



277
278
279
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 277

def implementation
  @implementation
end

#implicitRulesObject

0-1 uri



255
256
257
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 255

def implicitRules
  @implicitRules
end

#jurisdictionObject

0-* [ CodeableConcept ]



272
273
274
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 272

def jurisdiction
  @jurisdiction
end

#kindObject

1-1 code



275
276
277
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 275

def kind
  @kind
end

#languageObject

0-1 code



256
257
258
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 256

def language
  @language
end

#lockedDateObject

0-1 boolean



278
279
280
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 278

def lockedDate
  @lockedDate
end

#metaObject

0-1 Meta



254
255
256
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 254

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



260
261
262
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 260

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



263
264
265
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 263

def name
  @name
end

#publisherObject

0-1 string



268
269
270
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 268

def publisher
  @publisher
end

#purposeObject

0-1 markdown



273
274
275
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 273

def purpose
  @purpose
end

#softwareObject

0-1 TerminologyCapabilities::Software



276
277
278
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 276

def software
  @software
end

#statusObject

1-1 code



265
266
267
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 265

def status
  @status
end

#textObject

0-1 Narrative



257
258
259
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 257

def text
  @text
end

#titleObject

0-1 string



264
265
266
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 264

def title
  @title
end

#translationObject

0-1 TerminologyCapabilities::Translation



283
284
285
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 283

def translation
  @translation
end

#urlObject

0-1 uri



261
262
263
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 261

def url
  @url
end

#useContextObject

0-* [ UsageContext ]



271
272
273
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 271

def useContext
  @useContext
end

#validateCodeObject

0-1 TerminologyCapabilities::ValidateCode



282
283
284
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 282

def validateCode
  @validateCode
end

#versionObject

0-1 string



262
263
264
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 262

def version
  @version
end

Instance Method Details

#resourceTypeObject



286
287
288
# File 'lib/fhir_models/fhir/resources/TerminologyCapabilities.rb', line 286

def resourceType
  'TerminologyCapabilities'
end