Class: FHIR::DSTU2::ValueSet
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/ValueSet.rb
Defined Under Namespace
Classes: CodeSystem, Compose, Contact, Expansion
Constant Summary collapse
- SEARCH_PARAMS =
['code', 'context', 'date', 'description', 'expansion', 'identifier', 'name', 'publisher', 'reference', 'status', 'system', 'url', 'version']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'ValueSet.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'ValueSet.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'ValueSet.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'ValueSet.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'ValueSet.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'ValueSet.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'ValueSet.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ValueSet.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'url' => { 'type' => 'uri', 'path' => 'ValueSet.url', 'min' => 0, 'max' => 1 }, 'identifier' => { 'type' => 'Identifier', 'path' => 'ValueSet.identifier', 'min' => 0, 'max' => 1 }, 'version' => { 'type' => 'string', 'path' => 'ValueSet.version', 'min' => 0, 'max' => 1 }, 'name' => { 'type' => 'string', 'path' => 'ValueSet.name', 'min' => 0, 'max' => 1 }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'ValueSet.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, 'experimental' => { 'type' => 'boolean', 'path' => 'ValueSet.experimental', 'min' => 0, 'max' => 1 }, 'publisher' => { 'type' => 'string', 'path' => 'ValueSet.publisher', 'min' => 0, 'max' => 1 }, 'contact' => { 'type' => 'ValueSet::Contact', 'path' => 'ValueSet.contact', 'min' => 0, 'max' => Float::INFINITY }, 'date' => { 'type' => 'dateTime', 'path' => 'ValueSet.date', 'min' => 0, 'max' => 1 }, 'lockedDate' => { 'type' => 'date', 'path' => 'ValueSet.lockedDate', 'min' => 0, 'max' => 1 }, 'description' => { 'type' => 'string', 'path' => 'ValueSet.description', 'min' => 0, 'max' => 1 }, 'useContext' => { 'valid_codes' => { 'urn:iso:std:iso:3166' => [], 'http://unstats.un.org/unsd/methods/m49/m49.htm' => [], 'https://www.usps.com/' => ['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], 'http://hl7.org/fhir/practitioner-specialty' => ['cardio', 'dent', 'dietary', 'midw', 'sysarch'] }, 'type' => 'CodeableConcept', 'path' => 'ValueSet.useContext', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/use-context' } }, 'immutable' => { 'type' => 'boolean', 'path' => 'ValueSet.immutable', 'min' => 0, 'max' => 1 }, 'requirements' => { 'type' => 'string', 'path' => 'ValueSet.requirements', 'min' => 0, 'max' => 1 }, 'copyright' => { 'type' => 'string', 'path' => 'ValueSet.copyright', 'min' => 0, 'max' => 1 }, 'extensible' => { 'type' => 'boolean', 'path' => 'ValueSet.extensible', 'min' => 0, 'max' => 1 }, 'codeSystem' => { 'type' => 'ValueSet::CodeSystem', 'path' => 'ValueSet.codeSystem', 'min' => 0, 'max' => 1 }, 'compose' => { 'type' => 'ValueSet::Compose', 'path' => 'ValueSet.compose', 'min' => 0, 'max' => 1 }, 'expansion' => { 'type' => 'ValueSet::Expansion', 'path' => 'ValueSet.expansion', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#codeSystem ⇒ Object
0-1 ValueSet::CodeSystem.
-
#compose ⇒ Object
0-1 ValueSet::Compose.
-
#contact ⇒ Object
0-* [ ValueSet::Contact ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#copyright ⇒ Object
0-1 string.
-
#date ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 string.
-
#expansion ⇒ Object
0-1 ValueSet::Expansion.
-
#experimental ⇒ Object
0-1 boolean.
-
#extensible ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-1 Identifier.
-
#immutable ⇒ Object
0-1 boolean.
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#lockedDate ⇒ Object
0-1 date.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#publisher ⇒ Object
0-1 string.
-
#requirements ⇒ Object
0-1 string.
-
#status ⇒ Object
1-1 code.
-
#text ⇒ Object
0-1 Narrative.
-
#url ⇒ Object
0-1 uri.
-
#useContext ⇒ Object
0-* [ CodeableConcept ].
-
#version ⇒ Object
0-1 string.
Instance Method Summary collapse
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
Constructor Details
This class inherits a constructor from FHIR::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#codeSystem ⇒ Object
0-1 ValueSet::CodeSystem
336 337 338 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 336 def codeSystem @codeSystem end |
#compose ⇒ Object
0-1 ValueSet::Compose
337 338 339 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 337 def compose @compose end |
#contact ⇒ Object
0-* [ ValueSet::Contact ]
327 328 329 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 327 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
317 318 319 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 317 def contained @contained end |
#copyright ⇒ Object
0-1 string
334 335 336 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 334 def copyright @copyright end |
#date ⇒ Object
0-1 dateTime
328 329 330 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 328 def date @date end |
#description ⇒ Object
0-1 string
330 331 332 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 330 def description @description end |
#expansion ⇒ Object
0-1 ValueSet::Expansion
338 339 340 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 338 def expansion @expansion end |
#experimental ⇒ Object
0-1 boolean
325 326 327 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 325 def experimental @experimental end |
#extensible ⇒ Object
0-1 boolean
335 336 337 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 335 def extensible @extensible end |
#extension ⇒ Object
0-* [ Extension ]
318 319 320 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 318 def extension @extension end |
#id ⇒ Object
0-1 id
312 313 314 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 312 def id @id end |
#identifier ⇒ Object
0-1 Identifier
321 322 323 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 321 def identifier @identifier end |
#immutable ⇒ Object
0-1 boolean
332 333 334 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 332 def immutable @immutable end |
#implicitRules ⇒ Object
0-1 uri
314 315 316 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 314 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
315 316 317 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 315 def language @language end |
#lockedDate ⇒ Object
0-1 date
329 330 331 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 329 def lockedDate @lockedDate end |
#meta ⇒ Object
0-1 Meta
313 314 315 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 313 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
319 320 321 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 319 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
323 324 325 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 323 def name @name end |
#publisher ⇒ Object
0-1 string
326 327 328 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 326 def publisher @publisher end |
#requirements ⇒ Object
0-1 string
333 334 335 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 333 def requirements @requirements end |
#status ⇒ Object
1-1 code
324 325 326 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 324 def status @status end |
#text ⇒ Object
0-1 Narrative
316 317 318 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 316 def text @text end |
#url ⇒ Object
0-1 uri
320 321 322 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 320 def url @url end |
#useContext ⇒ Object
0-* [ CodeableConcept ]
331 332 333 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 331 def useContext @useContext end |
#version ⇒ Object
0-1 string
322 323 324 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 322 def version @version end |
Instance Method Details
#resourceType ⇒ Object
340 341 342 |
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 340 def resourceType 'ValueSet' end |