PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r4.examples@4.0.1
    http://hl7.org/fhir/StructureDefinition/Task
description: A task to be performed.
package_name: hl7.fhir.r4.examples
derivation: specialization
name: Task
type: Task
elements:
  restriction:
    short: Constraints on fulfillment tasks
    type: BackboneElement
    index: 28
    elements:
      repetitions: {short: How many times to repeat, type: positiveInt, index: 29}
      period: {short: When fulfillment sought, type: Period, index: 30}
      recipient:
        short: For whom is fulfillment sought?
        refers: ['http://hl7.org/fhir/StructureDefinition/Group', '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
        array: true
        index: 31
  description: {short: Human-readable explanation of task, type: string, isSummary: true, index: 12}
  performerType:
    short: Requested performer
    type: CodeableConcept
    array: true
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/performer-role'}
    index: 20
  executionPeriod: {short: Start and end time of execution, type: Period, isSummary: true, index: 16}
  insurance:
    short: Associated insurance coverage
    refers: ['http://hl7.org/fhir/StructureDefinition/ClaimResponse', 'http://hl7.org/fhir/StructureDefinition/Coverage']
    type: Reference
    array: true
    index: 25
  instantiatesCanonical: {short: Formal definition of task, type: canonical, isSummary: true, index: 1}
  instantiatesUri: {short: Formal definition of task, type: uri, isSummary: true, index: 2}
  relevantHistory:
    short: Key events in history of the Task
    refers: ['http://hl7.org/fhir/StructureDefinition/Provenance']
    type: Reference
    array: true
    index: 27
  encounter:
    short: Healthcare event during which this task originated
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter']
    type: Reference
    isSummary: true
    index: 15
  reasonCode: {short: Why task is needed, type: CodeableConcept, index: 23}
  statusReason: {short: Reason for current status, type: CodeableConcept, isSummary: true, index: 7}
  authoredOn: {short: Task Creation Date, type: dateTime, index: 17}
  output:
    short: Information produced as part of task
    type: BackboneElement
    array: true
    index: 86
    elements:
      valueBase64Binary: {short: Result of output, type: base64Binary, choiceOf: value, index: 90}
      valueAge: {short: Result of output, type: Age, choiceOf: value, index: 110}
      valueParameterDefinition: {short: Result of output, type: ParameterDefinition, choiceOf: value, index: 134}
      valueTiming: {short: Result of output, type: Timing, choiceOf: value, index: 129}
      valueCode: {short: Result of output, type: code, choiceOf: value, index: 93}
      valueReference: {short: Result of output, type: Reference, choiceOf: value, index: 126}
      valueContributor: {short: Result of output, type: Contributor, choiceOf: value, index: 131}
      valueContactDetail: {short: Result of output, type: ContactDetail, choiceOf: value, index: 130}
      valueUri: {short: Result of output, type: uri, choiceOf: value, index: 106}
      valueUsageContext: {short: Result of output, type: UsageContext, choiceOf: value, index: 137}
      valueTime: {short: Result of output, type: time, choiceOf: value, index: 104}
      valueDecimal: {short: Result of output, type: decimal, choiceOf: value, index: 96}
      valueCanonical: {short: Result of output, type: canonical, choiceOf: value, index: 92}
      valueMarkdown: {short: Result of output, type: markdown, choiceOf: value, index: 100}
      valueIdentifier: {short: Result of output, type: Identifier, choiceOf: value, index: 120}
      valueTriggerDefinition: {short: Result of output, type: TriggerDefinition, choiceOf: value, index: 136}
      valueQuantity: {short: Result of output, type: Quantity, choiceOf: value, index: 123}
      value:
        short: Result of output
        choices: [valueBase64Binary, valueBoolean, valueCanonical, valueCode, valueDate, valueDateTime, valueDecimal, valueId, valueInstant, valueInteger, valueMarkdown, valueOid, valuePositiveInt, valueString, valueTime, valueUnsignedInt, valueUri, valueUrl, valueUuid, valueAddress, valueAge, valueAnnotation, valueAttachment, valueCodeableConcept, valueCoding, valueContactPoint, valueCount, valueDistance, valueDuration, valueHumanName, valueIdentifier, valueMoney, valuePeriod, valueQuantity, valueRange, valueRatio, valueReference, valueSampledData, valueSignature, valueTiming, valueContactDetail, valueContributor, valueDataRequirement, valueExpression, valueParameterDefinition, valueRelatedArtifact, valueTriggerDefinition, valueUsageContext, valueDosage, valueMeta]
        index: 89
      valueCount: {short: Result of output, type: Count, choiceOf: value, index: 116}
      valueString: {short: Result of output, type: string, choiceOf: value, index: 103}
      valueRatio: {short: Result of output, type: Ratio, choiceOf: value, index: 125}
      valueBoolean: {short: Result of output, type: boolean, choiceOf: value, index: 91}
      valueInstant: {short: Result of output, type: instant, choiceOf: value, index: 98}
      valueDateTime: {short: Result of output, type: dateTime, choiceOf: value, index: 95}
      valueDate: {short: Result of output, type: date, choiceOf: value, index: 94}
      type: {short: Label for output, type: CodeableConcept, index: 87}
      valueDuration: {short: Result of output, type: Duration, choiceOf: value, index: 118}
      valueDataRequirement: {short: Result of output, type: DataRequirement, choiceOf: value, index: 132}
      valueMeta: {short: Result of output, type: Meta, choiceOf: value, index: 139}
      valueMoney: {short: Result of output, type: Money, choiceOf: value, index: 121}
      valueCoding: {short: Result of output, type: Coding, choiceOf: value, index: 114}
      valueExpression: {short: Result of output, type: Expression, choiceOf: value, index: 133}
      valueSampledData: {short: Result of output, type: SampledData, choiceOf: value, index: 127}
      valueDosage: {short: Result of output, type: Dosage, choiceOf: value, index: 138}
      valueContactPoint: {short: Result of output, type: ContactPoint, choiceOf: value, index: 115}
      valueCodeableConcept: {short: Result of output, type: CodeableConcept, choiceOf: value, index: 113}
      valueAnnotation: {short: Result of output, type: Annotation, choiceOf: value, index: 111}
      valuePeriod: {short: Result of output, type: Period, choiceOf: value, index: 122}
      valueDistance: {short: Result of output, type: Distance, choiceOf: value, index: 117}
      valueRange: {short: Result of output, type: Range, choiceOf: value, index: 124}
      valueSignature: {short: Result of output, type: Signature, choiceOf: value, index: 128}
      valueUuid: {short: Result of output, type: uuid, choiceOf: value, index: 108}
      valueInteger: {short: Result of output, type: integer, choiceOf: value, index: 99}
      valueHumanName: {short: Result of output, type: HumanName, choiceOf: value, index: 119}
      valueUnsignedInt: {short: Result of output, type: unsignedInt, choiceOf: value, index: 105}
      valueAttachment: {short: Result of output, type: Attachment, choiceOf: value, index: 112}
      valueOid: {short: Result of output, type: oid, choiceOf: value, index: 101}
      valueAddress: {short: Result of output, type: Address, choiceOf: value, index: 109}
      valueRelatedArtifact: {short: Result of output, type: RelatedArtifact, choiceOf: value, index: 135}
      valuePositiveInt: {short: Result of output, type: positiveInt, choiceOf: value, index: 102}
      valueId: {short: Result of output, type: id, choiceOf: value, index: 97}
      valueUrl: {short: Result of output, type: url, choiceOf: value, index: 107}
    required: [valueCoding, valueBase64Binary, valuePeriod, valueSampledData, valueMarkdown, valueUri, valueSignature, valueString, valueReference, valueRatio, valueContributor, valueMoney, valueContactPoint, valueAnnotation, valueCode, valueHumanName, valueRange, valuePositiveInt, valueAddress, valueTriggerDefinition, valueContactDetail, valueAge, valueDataRequirement, valueRelatedArtifact, valueCanonical, valueDecimal, valueAttachment, valueTiming, valueIdentifier, valueExpression, valueDateTime, valueInstant, value, valueDosage, valueBoolean, valueDate, valueMeta, valueParameterDefinition, valueUnsignedInt, type, valueUuid, valueCodeableConcept, valueTime, valueCount, valueId, valueDistance, valueUsageContext, valueQuantity, valueUrl, valueDuration, valueOid, valueInteger]
  businessStatus: {short: 'E.g. "Specimen collected", "IV prepped"', type: CodeableConcept, isSummary: true, index: 8}
  note: {type: Annotation, short: Comments made about the task, array: true, index: 26}
  for:
    short: Beneficiary of the Task
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    type: Reference
    isSummary: true
    index: 14
  requester:
    short: Who is asking for task to be done
    refers: ['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
    isSummary: true
    index: 19
  lastModified: {short: Task Last Modified Date, type: dateTime, isSummary: true, index: 18}
  priority:
    short: routine | urgent | asap | stat
    type: code
    meaningWhenMissing: If missing, this task should be performed with normal priority
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/request-priority|4.0.1'}
    index: 10
  status:
    isModifier: true
    short: draft | requested | received | accepted | +
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/task-status|4.0.1'}
    isModifierReason: This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    isSummary: true
    index: 6
  groupIdentifier: {short: Requisition or grouper id, type: Identifier, isSummary: true, index: 4}
  code:
    short: Task Type
    type: CodeableConcept
    binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/task-code'}
    isSummary: true
    index: 11
  identifier: {type: Identifier, short: Task Instance Identifier, array: true, index: 0}
  intent:
    short: unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/task-intent|4.0.1'}
    isSummary: true
    index: 9
  focus:
    short: What task is acting on
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    type: Reference
    isSummary: true
    index: 13
  input:
    short: Information used to perform task
    type: BackboneElement
    array: true
    index: 32
    elements:
      valueBase64Binary: {short: Content to use in performing the task, type: base64Binary, choiceOf: value, index: 36}
      valueAge: {short: Content to use in performing the task, type: Age, choiceOf: value, index: 56}
      valueParameterDefinition: {short: Content to use in performing the task, type: ParameterDefinition, choiceOf: value, index: 80}
      valueTiming: {short: Content to use in performing the task, type: Timing, choiceOf: value, index: 75}
      valueCode: {short: Content to use in performing the task, type: code, choiceOf: value, index: 39}
      valueReference: {short: Content to use in performing the task, type: Reference, choiceOf: value, index: 72}
      valueContributor: {short: Content to use in performing the task, type: Contributor, choiceOf: value, index: 77}
      valueContactDetail: {short: Content to use in performing the task, type: ContactDetail, choiceOf: value, index: 76}
      valueUri: {short: Content to use in performing the task, type: uri, choiceOf: value, index: 52}
      valueUsageContext: {short: Content to use in performing the task, type: UsageContext, choiceOf: value, index: 83}
      valueTime: {short: Content to use in performing the task, type: time, choiceOf: value, index: 50}
      valueDecimal: {short: Content to use in performing the task, type: decimal, choiceOf: value, index: 42}
      valueCanonical: {short: Content to use in performing the task, type: canonical, choiceOf: value, index: 38}
      valueMarkdown: {short: Content to use in performing the task, type: markdown, choiceOf: value, index: 46}
      valueIdentifier: {short: Content to use in performing the task, type: Identifier, choiceOf: value, index: 66}
      valueTriggerDefinition: {short: Content to use in performing the task, type: TriggerDefinition, choiceOf: value, index: 82}
      valueQuantity: {short: Content to use in performing the task, type: Quantity, choiceOf: value, index: 69}
      value:
        short: Content to use in performing the task
        choices: [valueBase64Binary, valueBoolean, valueCanonical, valueCode, valueDate, valueDateTime, valueDecimal, valueId, valueInstant, valueInteger, valueMarkdown, valueOid, valuePositiveInt, valueString, valueTime, valueUnsignedInt, valueUri, valueUrl, valueUuid, valueAddress, valueAge, valueAnnotation, valueAttachment, valueCodeableConcept, valueCoding, valueContactPoint, valueCount, valueDistance, valueDuration, valueHumanName, valueIdentifier, valueMoney, valuePeriod, valueQuantity, valueRange, valueRatio, valueReference, valueSampledData, valueSignature, valueTiming, valueContactDetail, valueContributor, valueDataRequirement, valueExpression, valueParameterDefinition, valueRelatedArtifact, valueTriggerDefinition, valueUsageContext, valueDosage, valueMeta]
        index: 35
      valueCount: {short: Content to use in performing the task, type: Count, choiceOf: value, index: 62}
      valueString: {short: Content to use in performing the task, type: string, choiceOf: value, index: 49}
      valueRatio: {short: Content to use in performing the task, type: Ratio, choiceOf: value, index: 71}
      valueBoolean: {short: Content to use in performing the task, type: boolean, choiceOf: value, index: 37}
      valueInstant: {short: Content to use in performing the task, type: instant, choiceOf: value, index: 44}
      valueDateTime: {short: Content to use in performing the task, type: dateTime, choiceOf: value, index: 41}
      valueDate: {short: Content to use in performing the task, type: date, choiceOf: value, index: 40}
      type: {short: Label for the input, type: CodeableConcept, index: 33}
      valueDuration: {short: Content to use in performing the task, type: Duration, choiceOf: value, index: 64}
      valueDataRequirement: {short: Content to use in performing the task, type: DataRequirement, choiceOf: value, index: 78}
      valueMeta: {short: Content to use in performing the task, type: Meta, choiceOf: value, index: 85}
      valueMoney: {short: Content to use in performing the task, type: Money, choiceOf: value, index: 67}
      valueCoding: {short: Content to use in performing the task, type: Coding, choiceOf: value, index: 60}
      valueExpression: {short: Content to use in performing the task, type: Expression, choiceOf: value, index: 79}
      valueSampledData: {short: Content to use in performing the task, type: SampledData, choiceOf: value, index: 73}
      valueDosage: {short: Content to use in performing the task, type: Dosage, choiceOf: value, index: 84}
      valueContactPoint: {short: Content to use in performing the task, type: ContactPoint, choiceOf: value, index: 61}
      valueCodeableConcept: {short: Content to use in performing the task, type: CodeableConcept, choiceOf: value, index: 59}
      valueAnnotation: {short: Content to use in performing the task, type: Annotation, choiceOf: value, index: 57}
      valuePeriod: {short: Content to use in performing the task, type: Period, choiceOf: value, index: 68}
      valueDistance: {short: Content to use in performing the task, type: Distance, choiceOf: value, index: 63}
      valueRange: {short: Content to use in performing the task, type: Range, choiceOf: value, index: 70}
      valueSignature: {short: Content to use in performing the task, type: Signature, choiceOf: value, index: 74}
      valueUuid: {short: Content to use in performing the task, type: uuid, choiceOf: value, index: 54}
      valueInteger: {short: Content to use in performing the task, type: integer, choiceOf: value, index: 45}
      valueHumanName: {short: Content to use in performing the task, type: HumanName, choiceOf: value, index: 65}
      valueUnsignedInt: {short: Content to use in performing the task, type: unsignedInt, choiceOf: value, index: 51}
      valueAttachment: {short: Content to use in performing the task, type: Attachment, choiceOf: value, index: 58}
      valueOid: {short: Content to use in performing the task, type: oid, choiceOf: value, index: 47}
      valueAddress: {short: Content to use in performing the task, type: Address, choiceOf: value, index: 55}
      valueRelatedArtifact: {short: Content to use in performing the task, type: RelatedArtifact, choiceOf: value, index: 81}
      valuePositiveInt: {short: Content to use in performing the task, type: positiveInt, choiceOf: value, index: 48}
      valueId: {short: Content to use in performing the task, type: id, choiceOf: value, index: 43}
      valueUrl: {short: Content to use in performing the task, type: url, choiceOf: value, index: 53}
    required: [valueCoding, valueBase64Binary, valuePeriod, valueSampledData, valueMarkdown, valueUri, valueSignature, valueString, valueReference, valueRatio, valueContributor, valueMoney, valueContactPoint, valueAnnotation, valueCode, valueHumanName, valueRange, valuePositiveInt, valueAddress, valueTriggerDefinition, valueContactDetail, valueAge, valueDataRequirement, valueRelatedArtifact, valueCanonical, valueDecimal, valueAttachment, valueTiming, valueIdentifier, valueExpression, valueDateTime, valueInstant, value, valueDosage, valueBoolean, valueDate, valueMeta, valueParameterDefinition, valueUnsignedInt, type, valueUuid, valueCodeableConcept, valueTime, valueCount, valueId, valueDistance, valueUsageContext, valueQuantity, valueUrl, valueDuration, valueOid, valueInteger]
  basedOn:
    short: Request fulfilled by this task
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    type: Reference
    array: true
    isSummary: true
    index: 3
  partOf:
    short: Composite task
    refers: ['http://hl7.org/fhir/StructureDefinition/Task']
    type: Reference
    array: true
    isSummary: true
    index: 5
  location:
    short: Where task occurs
    refers: ['http://hl7.org/fhir/StructureDefinition/Location']
    type: Reference
    isSummary: true
    index: 22
  owner:
    short: Responsible individual
    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/HealthcareService', '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
    isSummary: true
    index: 21
  reasonReference:
    short: Why task is needed
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    type: Reference
    index: 24
package_version: 4.0.1
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/Task
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [status, intent]