Class: FHIR::R4B::Task::Input

Inherits:
Model show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/r4b/generated/resources/Task.rb

Constant Summary collapse

MULTIPLE_TYPES =
{
  'value' => ['base64Binary', 'boolean', 'canonical', 'code', 'date', 'dateTime', 'decimal', 'id', 'instant', 'integer', 'markdown', 'oid', 'positiveInt', 'string', 'time', 'unsignedInt', 'uri', 'url', 'uuid', 'Address', 'Age', 'Annotation', 'Attachment', 'CodeableConcept', 'Coding', 'ContactPoint', 'Count', 'Distance', 'Duration', 'HumanName', 'Identifier', 'Money', 'Period', 'Quantity', 'Range', 'Ratio', 'Reference', 'SampledData', 'Signature', 'Timing', 'ContactDetail', 'Contributor', 'DataRequirement', 'Expression', 'ParameterDefinition', 'RelatedArtifact', 'TriggerDefinition', 'UsageContext', 'Dosage', 'Meta']
}
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Input.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Input.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Input.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'type'=>'CodeableConcept', 'path'=>'Input.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example'}},
  'valueBase64Binary' => {'type'=>'base64Binary', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueBoolean' => {'type'=>'boolean', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueCanonical' => {'type'=>'canonical', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueCode' => {'type'=>'code', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueDate' => {'type'=>'date', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueDateTime' => {'type'=>'dateTime', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueDecimal' => {'type'=>'decimal', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueId' => {'type'=>'id', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueInstant' => {'type'=>'instant', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueInteger' => {'type'=>'integer', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueMarkdown' => {'type'=>'markdown', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueOid' => {'type'=>'oid', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valuePositiveInt' => {'type'=>'positiveInt', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueString' => {'type'=>'string', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueTime' => {'type'=>'time', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueUri' => {'type'=>'uri', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueUrl' => {'type'=>'url', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueUuid' => {'type'=>'uuid', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueAddress' => {'type'=>'Address', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueAge' => {'type'=>'Age', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueAnnotation' => {'type'=>'Annotation', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueAttachment' => {'type'=>'Attachment', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueCodeableConcept' => {'type'=>'CodeableConcept', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueCoding' => {'type'=>'Coding', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueContactPoint' => {'type'=>'ContactPoint', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueCount' => {'type'=>'Count', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueDistance' => {'type'=>'Distance', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueDuration' => {'type'=>'Duration', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueHumanName' => {'type'=>'HumanName', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueIdentifier' => {'type'=>'Identifier', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueMoney' => {'type'=>'Money', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valuePeriod' => {'type'=>'Period', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueQuantity' => {'type'=>'Quantity', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueRange' => {'type'=>'Range', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueRatio' => {'type'=>'Ratio', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueReference' => {'type'=>'Reference', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueSampledData' => {'type'=>'SampledData', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueSignature' => {'type'=>'Signature', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueTiming' => {'type'=>'Timing', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueContactDetail' => {'type'=>'ContactDetail', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueContributor' => {'type'=>'Contributor', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueDataRequirement' => {'type'=>'DataRequirement', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueExpression' => {'type'=>'Expression', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueParameterDefinition' => {'type'=>'ParameterDefinition', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueRelatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueTriggerDefinition' => {'type'=>'TriggerDefinition', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueUsageContext' => {'type'=>'UsageContext', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueDosage' => {'type'=>'Dosage', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1},
  'valueMeta' => {'type'=>'Meta', 'path'=>'Input.value[x]', 'min'=>1, 'max'=>1}
}

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::R4B

PRIMITIVES, RESOURCES, FHIR::R4B::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::R4B

#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

#extensionObject

0-* [ Extension ]



139
140
141
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 139

def extension
  @extension
end

#idObject

0-1 string



138
139
140
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 138

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



140
141
142
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 140

def modifierExtension
  @modifierExtension
end

#typeObject

1-1 CodeableConcept



141
142
143
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 141

def type
  @type
end

#valueAddressObject

1-1 Address



161
162
163
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 161

def valueAddress
  @valueAddress
end

#valueAgeObject

1-1 Age



162
163
164
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 162

def valueAge
  @valueAge
end

#valueAnnotationObject

1-1 Annotation



163
164
165
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 163

def valueAnnotation
  @valueAnnotation
end

#valueAttachmentObject

1-1 Attachment



164
165
166
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 164

def valueAttachment
  @valueAttachment
end

#valueBase64BinaryObject

1-1 base64Binary



142
143
144
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 142

def valueBase64Binary
  @valueBase64Binary
end

#valueBooleanObject

1-1 boolean



143
144
145
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 143

def valueBoolean
  @valueBoolean
end

#valueCanonicalObject

1-1 canonical



144
145
146
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 144

def valueCanonical
  @valueCanonical
end

#valueCodeObject

1-1 code



145
146
147
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 145

def valueCode
  @valueCode
end

#valueCodeableConceptObject

1-1 CodeableConcept



165
166
167
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 165

def valueCodeableConcept
  @valueCodeableConcept
end

#valueCodingObject

1-1 Coding



166
167
168
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 166

def valueCoding
  @valueCoding
end

#valueContactDetailObject

1-1 ContactDetail



182
183
184
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 182

def valueContactDetail
  @valueContactDetail
end

#valueContactPointObject

1-1 ContactPoint



167
168
169
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 167

def valueContactPoint
  @valueContactPoint
end

#valueContributorObject

1-1 Contributor



183
184
185
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 183

def valueContributor
  @valueContributor
end

#valueCountObject

1-1 Count



168
169
170
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 168

def valueCount
  @valueCount
end

#valueDataRequirementObject

1-1 DataRequirement



184
185
186
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 184

def valueDataRequirement
  @valueDataRequirement
end

#valueDateObject

1-1 date



146
147
148
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 146

def valueDate
  @valueDate
end

#valueDateTimeObject

1-1 dateTime



147
148
149
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 147

def valueDateTime
  @valueDateTime
end

#valueDecimalObject

1-1 decimal



148
149
150
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 148

def valueDecimal
  @valueDecimal
end

#valueDistanceObject

1-1 Distance



169
170
171
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 169

def valueDistance
  @valueDistance
end

#valueDosageObject

1-1 Dosage



190
191
192
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 190

def valueDosage
  @valueDosage
end

#valueDurationObject

1-1 Duration



170
171
172
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 170

def valueDuration
  @valueDuration
end

#valueExpressionObject

1-1 Expression



185
186
187
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 185

def valueExpression
  @valueExpression
end

#valueHumanNameObject

1-1 HumanName



171
172
173
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 171

def valueHumanName
  @valueHumanName
end

#valueIdObject

1-1 id



149
150
151
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 149

def valueId
  @valueId
end

#valueIdentifierObject

1-1 Identifier



172
173
174
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 172

def valueIdentifier
  @valueIdentifier
end

#valueInstantObject

1-1 instant



150
151
152
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 150

def valueInstant
  @valueInstant
end

#valueIntegerObject

1-1 integer



151
152
153
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 151

def valueInteger
  @valueInteger
end

#valueMarkdownObject

1-1 markdown



152
153
154
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 152

def valueMarkdown
  @valueMarkdown
end

#valueMetaObject

1-1 Meta



191
192
193
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 191

def valueMeta
  @valueMeta
end

#valueMoneyObject

1-1 Money



173
174
175
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 173

def valueMoney
  @valueMoney
end

#valueOidObject

1-1 oid



153
154
155
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 153

def valueOid
  @valueOid
end

#valueParameterDefinitionObject

1-1 ParameterDefinition



186
187
188
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 186

def valueParameterDefinition
  @valueParameterDefinition
end

#valuePeriodObject

1-1 Period



174
175
176
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 174

def valuePeriod
  @valuePeriod
end

#valuePositiveIntObject

1-1 positiveInt



154
155
156
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 154

def valuePositiveInt
  @valuePositiveInt
end

#valueQuantityObject

1-1 Quantity



175
176
177
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 175

def valueQuantity
  @valueQuantity
end

#valueRangeObject

1-1 Range



176
177
178
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 176

def valueRange
  @valueRange
end

#valueRatioObject

1-1 Ratio



177
178
179
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 177

def valueRatio
  @valueRatio
end

#valueReferenceObject

1-1 Reference()



178
179
180
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 178

def valueReference
  @valueReference
end

#valueRelatedArtifactObject

1-1 RelatedArtifact



187
188
189
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 187

def valueRelatedArtifact
  @valueRelatedArtifact
end

#valueSampledDataObject

1-1 SampledData



179
180
181
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 179

def valueSampledData
  @valueSampledData
end

#valueSignatureObject

1-1 Signature



180
181
182
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 180

def valueSignature
  @valueSignature
end

#valueStringObject

1-1 string



155
156
157
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 155

def valueString
  @valueString
end

#valueTimeObject

1-1 time



156
157
158
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 156

def valueTime
  @valueTime
end

#valueTimingObject

1-1 Timing



181
182
183
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 181

def valueTiming
  @valueTiming
end

#valueTriggerDefinitionObject

1-1 TriggerDefinition



188
189
190
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 188

def valueTriggerDefinition
  @valueTriggerDefinition
end

#valueUnsignedIntObject

1-1 unsignedInt



157
158
159
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 157

def valueUnsignedInt
  @valueUnsignedInt
end

#valueUriObject

1-1 uri



158
159
160
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 158

def valueUri
  @valueUri
end

#valueUrlObject

1-1 url



159
160
161
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 159

def valueUrl
  @valueUrl
end

#valueUsageContextObject

1-1 UsageContext



189
190
191
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 189

def valueUsageContext
  @valueUsageContext
end

#valueUuidObject

1-1 uuid



160
161
162
# File 'lib/fhir_models/r4b/generated/resources/Task.rb', line 160

def valueUuid
  @valueUuid
end