Class: FHIR::R5::TestScript::Setup::Action::Assert

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

Defined Under Namespace

Classes: Requirement

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Assert.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Assert.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Assert.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'label' => {'type'=>'string', 'path'=>'Assert.label', 'min'=>0, 'max'=>1},
  'description' => {'type'=>'string', 'path'=>'Assert.description', 'min'=>0, 'max'=>1},
  'direction' => {'valid_codes'=>{'http://hl7.org/fhir/assert-direction-codes'=>['response', 'request']}, 'type'=>'code', 'path'=>'Assert.direction', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/assert-direction-codes'}},
  'compareToSourceId' => {'type'=>'string', 'path'=>'Assert.compareToSourceId', 'min'=>0, 'max'=>1},
  'compareToSourceExpression' => {'type'=>'string', 'path'=>'Assert.compareToSourceExpression', 'min'=>0, 'max'=>1},
  'compareToSourcePath' => {'type'=>'string', 'path'=>'Assert.compareToSourcePath', 'min'=>0, 'max'=>1},
  'contentType' => {'type'=>'code', 'path'=>'Assert.contentType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/mimetypes'}},
  'defaultManualCompletion' => {'valid_codes'=>{'http://hl7.org/fhir/assert-manual-completion-codes'=>['fail', 'pass', 'skip', 'stop']}, 'type'=>'code', 'path'=>'Assert.defaultManualCompletion', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/assert-manual-completion-codes'}},
  'expression' => {'type'=>'string', 'path'=>'Assert.expression', 'min'=>0, 'max'=>1},
  'headerField' => {'type'=>'string', 'path'=>'Assert.headerField', 'min'=>0, 'max'=>1},
  'minimumId' => {'type'=>'string', 'path'=>'Assert.minimumId', 'min'=>0, 'max'=>1},
  'navigationLinks' => {'type'=>'boolean', 'path'=>'Assert.navigationLinks', 'min'=>0, 'max'=>1},
  'operator' => {'valid_codes'=>{'http://hl7.org/fhir/assert-operator-codes'=>['equals', 'notEquals', 'in', 'notIn', 'greaterThan', 'lessThan', 'empty', 'notEmpty', 'contains', 'notContains', 'eval', 'manualEval']}, 'type'=>'code', 'path'=>'Assert.operator', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/assert-operator-codes'}},
  'path' => {'type'=>'string', 'path'=>'Assert.path', 'min'=>0, 'max'=>1},
  'requestMethod' => {'valid_codes'=>{'http://hl7.org/fhir/http-operations'=>['delete', 'get', 'options', 'patch', 'post', 'put', 'head']}, 'type'=>'code', 'path'=>'Assert.requestMethod', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/http-operations'}},
  'requestURL' => {'type'=>'string', 'path'=>'Assert.requestURL', 'min'=>0, 'max'=>1},
  'resource' => {'type'=>'uri', 'path'=>'Assert.resource', 'min'=>0, 'max'=>1},
  'response' => {'valid_codes'=>{'http://hl7.org/fhir/assert-response-code-types'=>['continue', 'switchingProtocols', 'okay', 'created', 'accepted', 'nonAuthoritativeInformation', 'noContent', 'resetContent', 'partialContent', 'multipleChoices', 'movedPermanently', 'found', 'seeOther', 'notModified', 'useProxy', 'temporaryRedirect', 'permanentRedirect', 'badRequest', 'unauthorized', 'paymentRequired', 'forbidden', 'notFound', 'methodNotAllowed', 'notAcceptable', 'proxyAuthenticationRequired', 'requestTimeout', 'conflict', 'gone', 'lengthRequired', 'preconditionFailed', 'contentTooLarge', 'uriTooLong', 'unsupportedMediaType', 'rangeNotSatisfiable', 'expectationFailed', 'misdirectedRequest', 'unprocessableContent', 'upgradeRequired', 'internalServerError', 'notImplemented', 'badGateway', 'serviceUnavailable', 'gatewayTimeout', 'httpVersionNotSupported']}, 'type'=>'code', 'path'=>'Assert.response', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/assert-response-code-types'}},
  'responseCode' => {'type'=>'string', 'path'=>'Assert.responseCode', 'min'=>0, 'max'=>1},
  'sourceId' => {'type'=>'id', 'path'=>'Assert.sourceId', 'min'=>0, 'max'=>1},
  'stopTestOnFail' => {'type'=>'boolean', 'path'=>'Assert.stopTestOnFail', 'min'=>1, 'max'=>1},
  'validateProfileId' => {'type'=>'id', 'path'=>'Assert.validateProfileId', 'min'=>0, 'max'=>1},
  'value' => {'type'=>'string', 'path'=>'Assert.value', 'min'=>0, 'max'=>1},
  'warningOnly' => {'type'=>'boolean', 'path'=>'Assert.warningOnly', 'min'=>1, 'max'=>1},
  'requirement' => {'type'=>'TestScript::Setup::Action::Assert::Requirement', 'path'=>'Assert.requirement', 'min'=>0, 'max'=>Float::INFINITY}
}

Constants included from FHIR::R4

FHIR::R4::PRIMITIVES, FHIR::R4::RESOURCES, FHIR::R4::TYPES

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

Constants included from FHIR::R5

PRIMITIVES, RESOURCES, FHIR::R5::TYPES

Instance Attribute Summary collapse

Method Summary

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

#from_contents

Methods included from ClassXml

#from_xml, #valid?, #validate, #xml_node_to_hash

Methods included from InstanceXml

#hash_to_xml_node, #to_xml

Methods included from ClassJson

#from_json

Methods included from InstanceJson

#to_json

Methods included from Hashable

#from_hash, #to_hash

Methods included from FHIR::R5

#fhir_version_string, #versioned_fhir_module

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

#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

#compareToSourceExpressionObject

0-1 string



402
403
404
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 402

def compareToSourceExpression
  @compareToSourceExpression
end

#compareToSourceIdObject

0-1 string



401
402
403
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 401

def compareToSourceId
  @compareToSourceId
end

#compareToSourcePathObject

0-1 string



403
404
405
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 403

def compareToSourcePath
  @compareToSourcePath
end

#contentTypeObject

0-1 code



404
405
406
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 404

def contentType
  @contentType
end

#defaultManualCompletionObject

0-1 code



405
406
407
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 405

def defaultManualCompletion
  @defaultManualCompletion
end

#descriptionObject

0-1 string



399
400
401
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 399

def description
  @description
end

#directionObject

0-1 code



400
401
402
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 400

def direction
  @direction
end

#expressionObject

0-1 string



406
407
408
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 406

def expression
  @expression
end

#extensionObject

0-* [ Extension ]



396
397
398
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 396

def extension
  @extension
end

#headerFieldObject

0-1 string



407
408
409
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 407

def headerField
  @headerField
end

#idObject

0-1 string



395
396
397
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 395

def id
  @id
end

#labelObject

0-1 string



398
399
400
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 398

def label
  @label
end

#minimumIdObject

0-1 string



408
409
410
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 408

def minimumId
  @minimumId
end

#modifierExtensionObject

0-* [ Extension ]



397
398
399
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 397

def modifierExtension
  @modifierExtension
end

0-1 boolean



409
410
411
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 409

def navigationLinks
  @navigationLinks
end

#operatorObject

0-1 code



410
411
412
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 410

def operator
  @operator
end

#pathObject

0-1 string



411
412
413
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 411

def path
  @path
end

#requestMethodObject

0-1 code



412
413
414
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 412

def requestMethod
  @requestMethod
end

#requestURLObject

0-1 string



413
414
415
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 413

def requestURL
  @requestURL
end

#requirementObject

0-* [ TestScript::Setup::Action::Assert::Requirement ]



422
423
424
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 422

def requirement
  @requirement
end

#resourceObject

0-1 uri



414
415
416
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 414

def resource
  @resource
end

#responseObject

0-1 code



415
416
417
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 415

def response
  @response
end

#responseCodeObject

0-1 string



416
417
418
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 416

def responseCode
  @responseCode
end

#sourceIdObject

0-1 id



417
418
419
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 417

def sourceId
  @sourceId
end

#stopTestOnFailObject

1-1 boolean



418
419
420
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 418

def stopTestOnFail
  @stopTestOnFail
end

#validateProfileIdObject

0-1 id



419
420
421
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 419

def validateProfileId
  @validateProfileId
end

#valueObject

0-1 string



420
421
422
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 420

def value
  @value
end

#warningOnlyObject

1-1 boolean



421
422
423
# File 'lib/fhir_models/r5/generated/resources/TestScript.rb', line 421

def warningOnly
  @warningOnly
end