Class: FHIR::R5::Task
- Defined in:
- lib/fhir_models/r5/generated/resources/Task.rb
Defined Under Namespace
Classes: Input, Output, Performer, Restriction
Constant Summary collapse
- SEARCH_PARAMS =
['actor', 'authored-on', 'based-on', 'business-status', 'code', 'encounter', 'focus', 'group-identifier', 'identifier', 'intent', 'modified', 'output', 'owner', 'part-of', 'patient', 'performer', 'period', 'priority', 'requestedperformer-reference', 'requester', 'status', 'subject']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'Task.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'Task.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'Task.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'type'=>'code', 'path'=>'Task.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'additional'=>[{'purpose'=>'starter', 'valueSet'=>'http://hl7.org/fhir/ValueSet/languages'}], 'uri'=>'http://hl7.org/fhir/ValueSet/all-languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'Task.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'Task.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'Task.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Task.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'identifier' => {'type'=>'Identifier', 'path'=>'Task.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'instantiatesCanonical' => {'type'=>'canonical', 'path'=>'Task.instantiatesCanonical', 'min'=>0, 'max'=>1}, 'instantiatesUri' => {'type'=>'uri', 'path'=>'Task.instantiatesUri', 'min'=>0, 'max'=>1}, 'basedOn' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Task.basedOn', 'min'=>0, 'max'=>Float::INFINITY}, 'groupIdentifier' => {'type'=>'Identifier', 'path'=>'Task.groupIdentifier', 'min'=>0, 'max'=>1}, 'partOf' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Task'], 'type'=>'Reference', 'path'=>'Task.partOf', 'min'=>0, 'max'=>Float::INFINITY}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/task-status'=>['draft', 'requested', 'received', 'accepted', 'rejected', 'ready', 'cancelled', 'in-progress', 'on-hold', 'failed', 'completed', 'entered-in-error']}, 'type'=>'code', 'path'=>'Task.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/task-status'}}, 'statusReason' => {'type'=>'CodeableReference', 'path'=>'Task.statusReason', 'min'=>0, 'max'=>1}, 'businessStatus' => {'type'=>'CodeableConcept', 'path'=>'Task.businessStatus', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example'}}, 'intent' => {'valid_codes'=>{'http://hl7.org/fhir/task-intent'=>['unknown'], 'http://hl7.org/fhir/request-intent'=>['proposal', 'plan', 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order', 'option']}, 'type'=>'code', 'path'=>'Task.intent', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/task-intent'}}, 'priority' => {'valid_codes'=>{'http://hl7.org/fhir/request-priority'=>['routine', 'urgent', 'asap', 'stat']}, 'type'=>'code', 'path'=>'Task.priority', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/request-priority'}}, 'doNotPerform' => {'type'=>'boolean', 'path'=>'Task.doNotPerform', 'min'=>0, 'max'=>1}, 'code' => {'valid_codes'=>{'http://hl7.org/fhir/CodeSystem/task-code'=>['approve', 'fulfill', 'instantiate', 'abort', 'replace', 'change', 'suspend', 'resume']}, 'type'=>'CodeableConcept', 'path'=>'Task.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/task-code'}}, 'description' => {'type'=>'string', 'path'=>'Task.description', 'min'=>0, 'max'=>1}, 'focus' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Task.focus', 'min'=>0, 'max'=>1}, 'for' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Task.for', 'min'=>0, 'max'=>1}, 'encounter' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Encounter'], 'type'=>'Reference', 'path'=>'Task.encounter', 'min'=>0, 'max'=>1}, 'requestedPeriod' => {'type'=>'Period', 'path'=>'Task.requestedPeriod', 'min'=>0, 'max'=>1}, 'executionPeriod' => {'type'=>'Period', 'path'=>'Task.executionPeriod', 'min'=>0, 'max'=>1}, 'authoredOn' => {'type'=>'dateTime', 'path'=>'Task.authoredOn', 'min'=>0, 'max'=>1}, 'lastModified' => {'type'=>'dateTime', 'path'=>'Task.lastModified', 'min'=>0, 'max'=>1}, 'requester' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'], 'type'=>'Reference', 'path'=>'Task.requester', 'min'=>0, 'max'=>1}, 'requestedPerformer' => {'type'=>'CodeableReference', 'path'=>'Task.requestedPerformer', 'min'=>0, 'max'=>Float::INFINITY}, 'owner' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'], 'type'=>'Reference', 'path'=>'Task.owner', 'min'=>0, 'max'=>1}, 'performer' => {'type'=>'Task::Performer', 'path'=>'Task.performer', 'min'=>0, 'max'=>Float::INFINITY}, 'location' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'Task.location', 'min'=>0, 'max'=>1}, 'reason' => {'type'=>'CodeableReference', 'path'=>'Task.reason', 'min'=>0, 'max'=>Float::INFINITY}, 'insurance' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Coverage', 'http://hl7.org/fhir/StructureDefinition/ClaimResponse'], 'type'=>'Reference', 'path'=>'Task.insurance', 'min'=>0, 'max'=>Float::INFINITY}, 'note' => {'type'=>'Annotation', 'path'=>'Task.note', 'min'=>0, 'max'=>Float::INFINITY}, 'relevantHistory' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Provenance'], 'type'=>'Reference', 'path'=>'Task.relevantHistory', 'min'=>0, 'max'=>Float::INFINITY}, 'restriction' => {'type'=>'Task::Restriction', 'path'=>'Task.restriction', 'min'=>0, 'max'=>1}, 'input' => {'type'=>'Task::Input', 'path'=>'Task.input', 'min'=>0, 'max'=>Float::INFINITY}, 'output' => {'type'=>'Task::Output', 'path'=>'Task.output', '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
Instance Attribute Summary collapse
-
#authoredOn ⇒ Object
0-1 dateTime.
-
#basedOn ⇒ Object
0-* [ Reference(Resource) ].
-
#businessStatus ⇒ Object
0-1 CodeableConcept.
-
#code ⇒ Object
0-1 CodeableConcept.
-
#contained ⇒ Object
0-* [ Resource ].
-
#description ⇒ Object
0-1 string.
-
#doNotPerform ⇒ Object
0-1 boolean.
-
#encounter ⇒ Object
0-1 Reference(Encounter).
-
#executionPeriod ⇒ Object
0-1 Period.
-
#extension ⇒ Object
0-* [ Extension ].
-
#focus ⇒ Object
0-1 Reference(Resource).
-
#for ⇒ Object
0-1 Reference(Resource).
-
#groupIdentifier ⇒ Object
0-1 Identifier.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#input ⇒ Object
0-* [ Task::Input ].
-
#instantiatesCanonical ⇒ Object
0-1 canonical.
-
#instantiatesUri ⇒ Object
0-1 uri.
-
#insurance ⇒ Object
0-* [ Reference(Coverage|ClaimResponse) ].
-
#intent ⇒ Object
1-1 code.
-
#language ⇒ Object
0-1 code.
-
#lastModified ⇒ Object
0-1 dateTime.
-
#location ⇒ Object
0-1 Reference(Location).
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#note ⇒ Object
0-* [ Annotation ].
-
#output ⇒ Object
0-* [ Task::Output ].
-
#owner ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Organization|CareTeam|Patient|RelatedPerson).
-
#partOf ⇒ Object
0-* [ Reference(Task) ].
-
#performer ⇒ Object
0-* [ Task::Performer ].
-
#priority ⇒ Object
0-1 code.
-
#reason ⇒ Object
0-* [ CodeableReference ].
-
#relevantHistory ⇒ Object
0-* [ Reference(Provenance) ].
-
#requestedPerformer ⇒ Object
0-* [ CodeableReference ].
-
#requestedPeriod ⇒ Object
0-1 Period.
-
#requester ⇒ Object
0-1 Reference(Device|Organization|Patient|Practitioner|PractitionerRole|RelatedPerson).
-
#restriction ⇒ Object
0-1 Task::Restriction.
-
#status ⇒ Object
1-1 code.
-
#statusReason ⇒ Object
0-1 CodeableReference.
-
#text ⇒ Object
0-1 Narrative.
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 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
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
#authoredOn ⇒ Object
0-1 dateTime
380 381 382 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 380 def @authoredOn end |
#basedOn ⇒ Object
0-* [ Reference(Resource) ]
364 365 366 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 364 def basedOn @basedOn end |
#businessStatus ⇒ Object
0-1 CodeableConcept
369 370 371 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 369 def businessStatus @businessStatus end |
#code ⇒ Object
0-1 CodeableConcept
373 374 375 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 373 def code @code end |
#contained ⇒ Object
0-* [ Resource ]
358 359 360 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 358 def contained @contained end |
#description ⇒ Object
0-1 string
374 375 376 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 374 def description @description end |
#doNotPerform ⇒ Object
0-1 boolean
372 373 374 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 372 def doNotPerform @doNotPerform end |
#encounter ⇒ Object
0-1 Reference(Encounter)
377 378 379 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 377 def encounter @encounter end |
#executionPeriod ⇒ Object
0-1 Period
379 380 381 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 379 def executionPeriod @executionPeriod end |
#extension ⇒ Object
0-* [ Extension ]
359 360 361 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 359 def extension @extension end |
#focus ⇒ Object
0-1 Reference(Resource)
375 376 377 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 375 def focus @focus end |
#for ⇒ Object
0-1 Reference(Resource)
376 377 378 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 376 def for @for end |
#groupIdentifier ⇒ Object
0-1 Identifier
365 366 367 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 365 def groupIdentifier @groupIdentifier end |
#id ⇒ Object
0-1 id
353 354 355 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 353 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
361 362 363 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 361 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
355 356 357 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 355 def implicitRules @implicitRules end |
#input ⇒ Object
0-* [ Task::Input ]
392 393 394 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 392 def input @input end |
#instantiatesCanonical ⇒ Object
0-1 canonical
362 363 364 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 362 def instantiatesCanonical @instantiatesCanonical end |
#instantiatesUri ⇒ Object
0-1 uri
363 364 365 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 363 def instantiatesUri @instantiatesUri end |
#insurance ⇒ Object
0-* [ Reference(Coverage|ClaimResponse) ]
388 389 390 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 388 def insurance @insurance end |
#intent ⇒ Object
1-1 code
370 371 372 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 370 def intent @intent end |
#language ⇒ Object
0-1 code
356 357 358 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 356 def language @language end |
#lastModified ⇒ Object
0-1 dateTime
381 382 383 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 381 def lastModified @lastModified end |
#location ⇒ Object
0-1 Reference(Location)
386 387 388 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 386 def location @location end |
#meta ⇒ Object
0-1 Meta
354 355 356 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 354 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
360 361 362 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 360 def modifierExtension @modifierExtension end |
#note ⇒ Object
0-* [ Annotation ]
389 390 391 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 389 def note @note end |
#output ⇒ Object
0-* [ Task::Output ]
393 394 395 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 393 def output @output end |
#owner ⇒ Object
0-1 Reference(Practitioner|PractitionerRole|Organization|CareTeam|Patient|RelatedPerson)
384 385 386 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 384 def owner @owner end |
#partOf ⇒ Object
0-* [ Reference(Task) ]
366 367 368 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 366 def partOf @partOf end |
#performer ⇒ Object
0-* [ Task::Performer ]
385 386 387 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 385 def performer @performer end |
#priority ⇒ Object
0-1 code
371 372 373 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 371 def priority @priority end |
#reason ⇒ Object
0-* [ CodeableReference ]
387 388 389 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 387 def reason @reason end |
#relevantHistory ⇒ Object
0-* [ Reference(Provenance) ]
390 391 392 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 390 def relevantHistory @relevantHistory end |
#requestedPerformer ⇒ Object
0-* [ CodeableReference ]
383 384 385 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 383 def requestedPerformer @requestedPerformer end |
#requestedPeriod ⇒ Object
0-1 Period
378 379 380 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 378 def requestedPeriod @requestedPeriod end |
#requester ⇒ Object
0-1 Reference(Device|Organization|Patient|Practitioner|PractitionerRole|RelatedPerson)
382 383 384 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 382 def requester @requester end |
#restriction ⇒ Object
0-1 Task::Restriction
391 392 393 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 391 def restriction @restriction end |
#status ⇒ Object
1-1 code
367 368 369 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 367 def status @status end |
#statusReason ⇒ Object
0-1 CodeableReference
368 369 370 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 368 def statusReason @statusReason end |
#text ⇒ Object
0-1 Narrative
357 358 359 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 357 def text @text end |
Instance Method Details
#resourceType ⇒ Object
395 396 397 |
# File 'lib/fhir_models/r5/generated/resources/Task.rb', line 395 def resourceType 'Task' end |