Class: FHIR::DSTU2::TestScript
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/TestScript.rb
Defined Under Namespace
Classes: Contact, Fixture, Metadata, Setup, Teardown, Test, Variable
Constant Summary collapse
- SEARCH_PARAMS =
['description', 'identifier', 'name', 'testscript-capability', 'testscript-setup-capability', 'testscript-test-capability', 'url']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'TestScript.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'TestScript.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'TestScript.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'TestScript.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'TestScript.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'TestScript.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'TestScript.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'TestScript.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'url' => { 'type' => 'uri', 'path' => 'TestScript.url', 'min' => 1, 'max' => 1 }, 'version' => { 'type' => 'string', 'path' => 'TestScript.version', 'min' => 0, 'max' => 1 }, 'name' => { 'type' => 'string', 'path' => 'TestScript.name', 'min' => 1, 'max' => 1 }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'TestScript.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, 'identifier' => { 'type' => 'Identifier', 'path' => 'TestScript.identifier', 'min' => 0, 'max' => 1 }, 'experimental' => { 'type' => 'boolean', 'path' => 'TestScript.experimental', 'min' => 0, 'max' => 1 }, 'publisher' => { 'type' => 'string', 'path' => 'TestScript.publisher', 'min' => 0, 'max' => 1 }, 'contact' => { 'type' => 'TestScript::Contact', 'path' => 'TestScript.contact', 'min' => 0, 'max' => Float::INFINITY }, 'date' => { 'type' => 'dateTime', 'path' => 'TestScript.date', 'min' => 0, 'max' => 1 }, 'description' => { 'type' => 'string', 'path' => 'TestScript.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' => 'TestScript.useContext', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/use-context' } }, 'requirements' => { 'type' => 'string', 'path' => 'TestScript.requirements', 'min' => 0, 'max' => 1 }, 'copyright' => { 'type' => 'string', 'path' => 'TestScript.copyright', 'min' => 0, 'max' => 1 }, 'metadata' => { 'type' => 'TestScript::Metadata', 'path' => 'TestScript.metadata', 'min' => 0, 'max' => 1 }, 'multiserver' => { 'type' => 'boolean', 'path' => 'TestScript.multiserver', 'min' => 0, 'max' => 1 }, 'fixture' => { 'type' => 'TestScript::Fixture', 'path' => 'TestScript.fixture', 'min' => 0, 'max' => Float::INFINITY }, 'profile' => { 'type' => 'Reference', 'path' => 'TestScript.profile', 'min' => 0, 'max' => Float::INFINITY }, 'variable' => { 'type' => 'TestScript::Variable', 'path' => 'TestScript.variable', 'min' => 0, 'max' => Float::INFINITY }, 'setup' => { 'type' => 'TestScript::Setup', 'path' => 'TestScript.setup', 'min' => 0, 'max' => 1 }, 'test' => { 'type' => 'TestScript::Test', 'path' => 'TestScript.test', 'min' => 0, 'max' => Float::INFINITY }, 'teardown' => { 'type' => 'TestScript::Teardown', 'path' => 'TestScript.teardown', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#contact ⇒ Object
0-* [ TestScript::Contact ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#copyright ⇒ Object
0-1 string.
-
#date ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 string.
-
#experimental ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#fixture ⇒ Object
0-* [ TestScript::Fixture ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-1 Identifier.
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#metadata ⇒ Object
0-1 TestScript::Metadata.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#multiserver ⇒ Object
0-1 boolean.
-
#name ⇒ Object
1-1 string.
-
#profile ⇒ Object
0-* [ Reference() ].
-
#publisher ⇒ Object
0-1 string.
-
#requirements ⇒ Object
0-1 string.
-
#setup ⇒ Object
0-1 TestScript::Setup.
-
#status ⇒ Object
1-1 code.
-
#teardown ⇒ Object
0-1 TestScript::Teardown.
-
#test ⇒ Object
0-* [ TestScript::Test ].
-
#text ⇒ Object
0-1 Narrative.
-
#url ⇒ Object
1-1 uri.
-
#useContext ⇒ Object
0-* [ CodeableConcept ].
-
#variable ⇒ Object
0-* [ TestScript::Variable ].
-
#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
#contact ⇒ Object
0-* [ TestScript::Contact ]
426 427 428 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 426 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
416 417 418 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 416 def contained @contained end |
#copyright ⇒ Object
0-1 string
431 432 433 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 431 def copyright @copyright end |
#date ⇒ Object
0-1 dateTime
427 428 429 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 427 def date @date end |
#description ⇒ Object
0-1 string
428 429 430 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 428 def description @description end |
#experimental ⇒ Object
0-1 boolean
424 425 426 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 424 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
417 418 419 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 417 def extension @extension end |
#fixture ⇒ Object
0-* [ TestScript::Fixture ]
434 435 436 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 434 def fixture @fixture end |
#id ⇒ Object
0-1 id
411 412 413 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 411 def id @id end |
#identifier ⇒ Object
0-1 Identifier
423 424 425 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 423 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
413 414 415 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 413 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
414 415 416 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 414 def language @language end |
#meta ⇒ Object
0-1 Meta
412 413 414 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 412 def @meta end |
#metadata ⇒ Object
0-1 TestScript::Metadata
432 433 434 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 432 def @metadata end |
#modifierExtension ⇒ Object
0-* [ Extension ]
418 419 420 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 418 def modifierExtension @modifierExtension end |
#multiserver ⇒ Object
0-1 boolean
433 434 435 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 433 def multiserver @multiserver end |
#name ⇒ Object
1-1 string
421 422 423 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 421 def name @name end |
#profile ⇒ Object
0-* [ Reference() ]
435 436 437 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 435 def profile @profile end |
#publisher ⇒ Object
0-1 string
425 426 427 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 425 def publisher @publisher end |
#requirements ⇒ Object
0-1 string
430 431 432 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 430 def requirements @requirements end |
#setup ⇒ Object
0-1 TestScript::Setup
437 438 439 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 437 def setup @setup end |
#status ⇒ Object
1-1 code
422 423 424 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 422 def status @status end |
#teardown ⇒ Object
0-1 TestScript::Teardown
439 440 441 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 439 def teardown @teardown end |
#test ⇒ Object
0-* [ TestScript::Test ]
438 439 440 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 438 def test @test end |
#text ⇒ Object
0-1 Narrative
415 416 417 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 415 def text @text end |
#url ⇒ Object
1-1 uri
419 420 421 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 419 def url @url end |
#useContext ⇒ Object
0-* [ CodeableConcept ]
429 430 431 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 429 def useContext @useContext end |
#variable ⇒ Object
0-* [ TestScript::Variable ]
436 437 438 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 436 def variable @variable end |
#version ⇒ Object
0-1 string
420 421 422 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 420 def version @version end |
Instance Method Details
#resourceType ⇒ Object
441 442 443 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 441 def resourceType 'TestScript' end |