Class: FHIR::DSTU2::TestScript::Setup::Action::Assert
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/TestScript.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'id', '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}, 'compareToSourcePath' => {'type'=>'string', 'path'=>'Assert.compareToSourcePath', 'min'=>0, 'max'=>1}, 'contentType' => {'valid_codes'=>{'http://hl7.org/fhir/content-type'=>['xml', 'json']}, 'type'=>'code', 'path'=>'Assert.contentType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/content-type'}}, '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']}, '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}, 'resource' => {'valid_codes'=>{'http://hl7.org/fhir/data-types'=>['Address', 'Age', 'Annotation', 'Attachment', 'BackboneElement', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'Element', 'ElementDefinition', 'Extension', 'HumanName', 'Identifier', 'Meta', 'Money', 'Narrative', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'SimpleQuantity', 'Timing', 'base64Binary', 'boolean', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'uuid', 'xhtml'], 'http://hl7.org/fhir/resource-types'=>['Account', 'AllergyIntolerance', 'Appointment', 'AppointmentResponse', 'AuditEvent', 'Basic', 'Binary', 'BodySite', 'Bundle', 'CarePlan', 'Claim', 'ClaimResponse', 'ClinicalImpression', 'Communication', 'CommunicationRequest', 'Composition', 'ConceptMap', 'Condition', 'Conformance', 'Contract', 'Coverage', 'DataElement', 'DetectedIssue', 'Device', 'DeviceComponent', 'DeviceMetric', 'DeviceUseRequest', 'DeviceUseStatement', 'DiagnosticOrder', 'DiagnosticReport', 'DocumentManifest', 'DocumentReference', 'DomainResource', 'EligibilityRequest', 'EligibilityResponse', 'Encounter', 'EnrollmentRequest', 'EnrollmentResponse', 'EpisodeOfCare', 'ExplanationOfBenefit', 'FamilyMemberHistory', 'Flag', 'Goal', 'Group', 'HealthcareService', 'ImagingObjectSelection', 'ImagingStudy', 'Immunization', 'ImmunizationRecommendation', 'ImplementationGuide', 'List', 'Location', 'Media', 'Medication', 'MedicationAdministration', 'MedicationDispense', 'MedicationOrder', 'MedicationStatement', 'MessageHeader', 'NamingSystem', 'NutritionOrder', 'Observation', 'OperationDefinition', 'OperationOutcome', 'Order', 'OrderResponse', 'Organization', 'Parameters', 'Patient', 'PaymentNotice', 'PaymentReconciliation', 'Person', 'Practitioner', 'Procedure', 'ProcedureRequest', 'ProcessRequest', 'ProcessResponse', 'Provenance', 'Questionnaire', 'QuestionnaireResponse', 'ReferralRequest', 'RelatedPerson', 'Resource', 'RiskAssessment', 'Schedule', 'SearchParameter', 'Slot', 'Specimen', 'StructureDefinition', 'Subscription', 'Substance', 'SupplyDelivery', 'SupplyRequest', 'TestScript', 'ValueSet', 'VisionPrescription']}, 'type'=>'code', 'path'=>'Assert.resource', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/defined-types'}}, 'response' => {'valid_codes'=>{'http://hl7.org/fhir/assert-response-code-types'=>['okay', 'created', 'noContent', 'notModified', 'bad', 'forbidden', 'notFound', 'methodNotAllowed', 'conflict', 'gone', 'preconditionFailed', 'unprocessable']}, '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}, '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'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#compareToSourceId ⇒ Object
0-1 string.
-
#compareToSourcePath ⇒ Object
0-1 string.
-
#contentType ⇒ Object
0-1 code.
-
#description ⇒ Object
0-1 string.
-
#direction ⇒ Object
0-1 code.
-
#extension ⇒ Object
0-* [ Extension ].
-
#headerField ⇒ Object
0-1 string.
-
#id ⇒ Object
0-1 id.
-
#label ⇒ Object
0-1 string.
-
#minimumId ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#navigationLinks ⇒ Object
0-1 boolean.
-
#operator ⇒ Object
0-1 code.
-
#path ⇒ Object
0-1 string.
-
#resource ⇒ Object
0-1 code.
-
#response ⇒ Object
0-1 code.
-
#responseCode ⇒ Object
0-1 string.
-
#sourceId ⇒ Object
0-1 id.
-
#validateProfileId ⇒ Object
0-1 id.
-
#value ⇒ Object
0-1 string.
-
#warningOnly ⇒ Object
0-1 boolean.
Method Summary
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?, #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
#compareToSourceId ⇒ Object
0-1 string
300 301 302 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 300 def compareToSourceId @compareToSourceId end |
#compareToSourcePath ⇒ Object
0-1 string
301 302 303 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 301 def compareToSourcePath @compareToSourcePath end |
#contentType ⇒ Object
0-1 code
302 303 304 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 302 def contentType @contentType end |
#description ⇒ Object
0-1 string
298 299 300 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 298 def description @description end |
#direction ⇒ Object
0-1 code
299 300 301 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 299 def direction @direction end |
#extension ⇒ Object
0-* [ Extension ]
295 296 297 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 295 def extension @extension end |
#headerField ⇒ Object
0-1 string
303 304 305 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 303 def headerField @headerField end |
#id ⇒ Object
0-1 id
294 295 296 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 294 def id @id end |
#label ⇒ Object
0-1 string
297 298 299 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 297 def label @label end |
#minimumId ⇒ Object
0-1 string
304 305 306 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 304 def minimumId @minimumId end |
#modifierExtension ⇒ Object
0-* [ Extension ]
296 297 298 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 296 def modifierExtension @modifierExtension end |
#navigationLinks ⇒ Object
0-1 boolean
305 306 307 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 305 def @navigationLinks end |
#operator ⇒ Object
0-1 code
306 307 308 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 306 def operator @operator end |
#path ⇒ Object
0-1 string
307 308 309 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 307 def path @path end |
#resource ⇒ Object
0-1 code
308 309 310 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 308 def resource @resource end |
#response ⇒ Object
0-1 code
309 310 311 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 309 def response @response end |
#responseCode ⇒ Object
0-1 string
310 311 312 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 310 def responseCode @responseCode end |
#sourceId ⇒ Object
0-1 id
311 312 313 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 311 def sourceId @sourceId end |
#validateProfileId ⇒ Object
0-1 id
312 313 314 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 312 def validateProfileId @validateProfileId end |
#value ⇒ Object
0-1 string
313 314 315 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 313 def value @value end |
#warningOnly ⇒ Object
0-1 boolean
314 315 316 |
# File 'lib/fhir_dstu2_models/fhir/resources/TestScript.rb', line 314 def warningOnly @warningOnly end |