Class: FHIR::TestScript
- Defined in:
- lib/fhir_models/fhir/resources/TestScript.rb
Defined Under Namespace
Classes: Destination, Fixture, Metadata, Origin, Setup, Teardown, Test, Variable
Constant Summary collapse
- SEARCH_PARAMS =
['context', 'context-quantity', 'context-type', 'date', 'description', 'identifier', 'jurisdiction', 'name', 'publisher', 'status', 'testscript-capability', 'title', 'url', 'version']
- 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' => {'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'=>'TestScript.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, '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}, 'identifier' => {'type'=>'Identifier', 'path'=>'TestScript.identifier', 'min'=>0, 'max'=>1}, 'version' => {'type'=>'string', 'path'=>'TestScript.version', 'min'=>0, 'max'=>1}, 'name' => {'type'=>'string', 'path'=>'TestScript.name', 'min'=>1, 'max'=>1}, 'title' => {'type'=>'string', 'path'=>'TestScript.title', 'min'=>0, 'max'=>1}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'TestScript.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status'}}, 'experimental' => {'type'=>'boolean', 'path'=>'TestScript.experimental', 'min'=>0, 'max'=>1}, 'date' => {'type'=>'dateTime', 'path'=>'TestScript.date', 'min'=>0, 'max'=>1}, 'publisher' => {'type'=>'string', 'path'=>'TestScript.publisher', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'ContactDetail', 'path'=>'TestScript.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'description' => {'type'=>'markdown', 'path'=>'TestScript.description', 'min'=>0, 'max'=>1}, 'useContext' => {'type'=>'UsageContext', 'path'=>'TestScript.useContext', 'min'=>0, 'max'=>Float::INFINITY}, 'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'TestScript.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}}, 'purpose' => {'type'=>'markdown', 'path'=>'TestScript.purpose', 'min'=>0, 'max'=>1}, 'copyright' => {'type'=>'markdown', 'path'=>'TestScript.copyright', 'min'=>0, 'max'=>1}, 'origin' => {'type'=>'TestScript::Origin', 'path'=>'TestScript.origin', 'min'=>0, 'max'=>Float::INFINITY}, 'destination' => {'type'=>'TestScript::Destination', 'path'=>'TestScript.destination', 'min'=>0, 'max'=>Float::INFINITY}, 'metadata' => {'type'=>'TestScript::Metadata', 'path'=>'TestScript.metadata', 'min'=>0, 'max'=>1}, 'fixture' => {'type'=>'TestScript::Fixture', 'path'=>'TestScript.fixture', 'min'=>0, 'max'=>Float::INFINITY}, 'profile' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], '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-* [ ContactDetail ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#copyright ⇒ Object
0-1 markdown.
-
#date ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 markdown.
-
#destination ⇒ Object
0-* [ TestScript::Destination ].
-
#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.
-
#jurisdiction ⇒ Object
0-* [ CodeableConcept ].
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#metadata ⇒ Object
0-1 TestScript::Metadata.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
1-1 string.
-
#origin ⇒ Object
0-* [ TestScript::Origin ].
-
#profile ⇒ Object
0-* [ Reference(Resource) ].
-
#publisher ⇒ Object
0-1 string.
-
#purpose ⇒ Object
0-1 markdown.
-
#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.
-
#title ⇒ Object
0-1 string.
-
#url ⇒ Object
1-1 uri.
-
#useContext ⇒ Object
0-* [ UsageContext ].
-
#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, #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
#contact ⇒ Object
0-* [ ContactDetail ]
470 471 472 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 470 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
458 459 460 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 458 def contained @contained end |
#copyright ⇒ Object
0-1 markdown
475 476 477 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 475 def copyright @copyright end |
#date ⇒ Object
0-1 dateTime
468 469 470 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 468 def date @date end |
#description ⇒ Object
0-1 markdown
471 472 473 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 471 def description @description end |
#destination ⇒ Object
0-* [ TestScript::Destination ]
477 478 479 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 477 def destination @destination end |
#experimental ⇒ Object
0-1 boolean
467 468 469 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 467 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
459 460 461 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 459 def extension @extension end |
#fixture ⇒ Object
0-* [ TestScript::Fixture ]
479 480 481 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 479 def fixture @fixture end |
#id ⇒ Object
0-1 id
453 454 455 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 453 def id @id end |
#identifier ⇒ Object
0-1 Identifier
462 463 464 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 462 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
455 456 457 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 455 def implicitRules @implicitRules end |
#jurisdiction ⇒ Object
0-* [ CodeableConcept ]
473 474 475 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 473 def jurisdiction @jurisdiction end |
#language ⇒ Object
0-1 code
456 457 458 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 456 def language @language end |
#meta ⇒ Object
0-1 Meta
454 455 456 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 454 def @meta end |
#metadata ⇒ Object
0-1 TestScript::Metadata
478 479 480 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 478 def @metadata end |
#modifierExtension ⇒ Object
0-* [ Extension ]
460 461 462 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 460 def modifierExtension @modifierExtension end |
#name ⇒ Object
1-1 string
464 465 466 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 464 def name @name end |
#origin ⇒ Object
0-* [ TestScript::Origin ]
476 477 478 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 476 def origin @origin end |
#profile ⇒ Object
0-* [ Reference(Resource) ]
480 481 482 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 480 def profile @profile end |
#publisher ⇒ Object
0-1 string
469 470 471 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 469 def publisher @publisher end |
#purpose ⇒ Object
0-1 markdown
474 475 476 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 474 def purpose @purpose end |
#setup ⇒ Object
0-1 TestScript::Setup
482 483 484 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 482 def setup @setup end |
#status ⇒ Object
1-1 code
466 467 468 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 466 def status @status end |
#teardown ⇒ Object
0-1 TestScript::Teardown
484 485 486 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 484 def teardown @teardown end |
#test ⇒ Object
0-* [ TestScript::Test ]
483 484 485 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 483 def test @test end |
#text ⇒ Object
0-1 Narrative
457 458 459 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 457 def text @text end |
#title ⇒ Object
0-1 string
465 466 467 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 465 def title @title end |
#url ⇒ Object
1-1 uri
461 462 463 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 461 def url @url end |
#useContext ⇒ Object
0-* [ UsageContext ]
472 473 474 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 472 def useContext @useContext end |
#variable ⇒ Object
0-* [ TestScript::Variable ]
481 482 483 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 481 def variable @variable end |
#version ⇒ Object
0-1 string
463 464 465 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 463 def version @version end |
Instance Method Details
#resourceType ⇒ Object
486 487 488 |
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 486 def resourceType 'TestScript' end |