Class: FHIR::R4::TestScript
- Defined in:
- lib/fhir_models/r4/generated/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', 'context-type-quantity', 'context-type-value', '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} }
Constants included from FHIR::R4
Constants included from FHIR
Account, ActivityDefinition, Address, AdverseEvent, Age, AllergyIntolerance, Annotation, Appointment, AppointmentResponse, Attachment, AuditEvent, BackboneElement, Basic, Binary, BiologicallyDerivedProduct, BodyStructure, Bundle, CapabilityStatement, CarePlan, CareTeam, CatalogEntry, ChargeItem, ChargeItemDefinition, Claim, ClaimResponse, ClinicalImpression, CodeSystem, CodeableConcept, Coding, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, Condition, Consent, ContactDetail, ContactPoint, Contract, Contributor, Count, Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, DataRequirement, Definitions, DetectedIssue, Device, DeviceDefinition, DeviceMetric, DeviceRequest, DeviceUseStatement, DiagnosticReport, Distance, DocumentManifest, DocumentReference, DomainResource, Dosage, Duration, EffectEvidenceSynthesis, Element, ElementDefinition, Encounter, Endpoint, EnrollmentRequest, EnrollmentResponse, EpisodeOfCare, EventDefinition, Evidence, EvidenceVariable, ExampleScenario, ExplanationOfBenefit, Expression, Extension, FamilyMemberHistory, Flag, Goal, GraphDefinition, Group, GuidanceResponse, HealthcareService, HumanName, Identifier, ImagingStudy, Immunization, ImmunizationEvaluation, ImmunizationRecommendation, ImplementationGuide, InsurancePlan, Invoice, Library, Linkage, List, Location, MarketingStatus, Measure, MeasureReport, Media, Medication, MedicationAdministration, MedicationDispense, MedicationKnowledge, MedicationRequest, MedicationStatement, MedicinalProduct, MedicinalProductAuthorization, MedicinalProductContraindication, MedicinalProductIndication, MedicinalProductIngredient, MedicinalProductInteraction, MedicinalProductManufactured, MedicinalProductPackaged, MedicinalProductPharmaceutical, MedicinalProductUndesirableEffect, MessageDefinition, MessageHeader, Meta, MolecularSequence, Money, NamingSystem, Narrative, NutritionOrder, Observation, ObservationDefinition, OperationDefinition, OperationOutcome, Organization, OrganizationAffiliation, PRIMITIVES, ParameterDefinition, Parameters, Patient, PaymentNotice, PaymentReconciliation, Period, Person, PlanDefinition, Population, Practitioner, PractitionerRole, Procedure, ProdCharacteristic, ProductShelfLife, Provenance, Quantity, Questionnaire, QuestionnaireResponse, FHIR::RESOURCES, FHIR::Range, FHIR::Ratio, FHIR::Reference, FHIR::RelatedArtifact, FHIR::RelatedPerson, FHIR::RequestGroup, FHIR::ResearchDefinition, FHIR::ResearchElementDefinition, FHIR::ResearchStudy, FHIR::ResearchSubject, FHIR::Resource, FHIR::RiskAssessment, FHIR::RiskEvidenceSynthesis, SampledData, Schedule, SearchParameter, ServiceRequest, Signature, Slot, Specimen, SpecimenDefinition, StructureDefinition, StructureDefinitionCompare, StructureMap, Subscription, Substance, SubstanceAmount, SubstanceNucleicAcid, SubstancePolymer, SubstanceProtein, SubstanceReferenceInformation, SubstanceSourceMaterial, SubstanceSpecification, SupplyDelivery, SupplyRequest, TYPES, Task, TerminologyCapabilities, TestReport, TestScript, Timing, TriggerDefinition, UsageContext, ValueSet, VerificationResult, VisionPrescription
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 FHIR::R4
#fhir_version_string, #versioned_fhir_module
Methods included from FHIR
default_logger, fhir_version_string, logger, logger=, primitive?, versioned_fhir_module
Methods included from ClassMethods
Methods included from ClassXml
#from_xml, #valid?, #validate, #xml_node_to_hash
Methods included from InstanceXml
Methods included from ClassJson
Methods included from InstanceJson
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
Methods included from Deprecate
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 ]
471 472 473 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 471 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
459 460 461 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 459 def contained @contained end |
#copyright ⇒ Object
0-1 markdown
476 477 478 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 476 def copyright @copyright end |
#date ⇒ Object
0-1 dateTime
469 470 471 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 469 def date @date end |
#description ⇒ Object
0-1 markdown
472 473 474 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 472 def description @description end |
#destination ⇒ Object
0-* [ TestScript::Destination ]
478 479 480 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 478 def destination @destination end |
#experimental ⇒ Object
0-1 boolean
468 469 470 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 468 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
460 461 462 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 460 def extension @extension end |
#fixture ⇒ Object
0-* [ TestScript::Fixture ]
480 481 482 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 480 def fixture @fixture end |
#id ⇒ Object
0-1 id
454 455 456 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 454 def id @id end |
#identifier ⇒ Object
0-1 Identifier
463 464 465 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 463 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
456 457 458 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 456 def implicitRules @implicitRules end |
#jurisdiction ⇒ Object
0-* [ CodeableConcept ]
474 475 476 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 474 def jurisdiction @jurisdiction end |
#language ⇒ Object
0-1 code
457 458 459 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 457 def language @language end |
#meta ⇒ Object
0-1 Meta
455 456 457 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 455 def @meta end |
#metadata ⇒ Object
0-1 TestScript::Metadata
479 480 481 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 479 def @metadata end |
#modifierExtension ⇒ Object
0-* [ Extension ]
461 462 463 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 461 def modifierExtension @modifierExtension end |
#name ⇒ Object
1-1 string
465 466 467 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 465 def name @name end |
#origin ⇒ Object
0-* [ TestScript::Origin ]
477 478 479 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 477 def origin @origin end |
#profile ⇒ Object
0-* [ Reference(Resource) ]
481 482 483 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 481 def profile @profile end |
#publisher ⇒ Object
0-1 string
470 471 472 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 470 def publisher @publisher end |
#purpose ⇒ Object
0-1 markdown
475 476 477 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 475 def purpose @purpose end |
#setup ⇒ Object
0-1 TestScript::Setup
483 484 485 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 483 def setup @setup end |
#status ⇒ Object
1-1 code
467 468 469 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 467 def status @status end |
#teardown ⇒ Object
0-1 TestScript::Teardown
485 486 487 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 485 def teardown @teardown end |
#test ⇒ Object
0-* [ TestScript::Test ]
484 485 486 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 484 def test @test end |
#text ⇒ Object
0-1 Narrative
458 459 460 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 458 def text @text end |
#title ⇒ Object
0-1 string
466 467 468 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 466 def title @title end |
#url ⇒ Object
1-1 uri
462 463 464 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 462 def url @url end |
#useContext ⇒ Object
0-* [ UsageContext ]
473 474 475 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 473 def useContext @useContext end |
#variable ⇒ Object
0-* [ TestScript::Variable ]
482 483 484 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 482 def variable @variable end |
#version ⇒ Object
0-1 string
464 465 466 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 464 def version @version end |
Instance Method Details
#resourceType ⇒ Object
487 488 489 |
# File 'lib/fhir_models/r4/generated/resources/TestScript.rb', line 487 def resourceType 'TestScript' end |