Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example CodeSystem/task-status (Turtle)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Code SystemTaskStatus

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "task-status"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-07T10:58:29.429+10:00" ];
     fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "oo" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "trial-use" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "2" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/task-status"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.791" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "TaskStatus"];
  fhir:CanonicalResource.title [ fhir:value "TaskStatus"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.date [ fhir:value "2021-01-05T10:01:24+11:00"];
  fhir:CanonicalResource.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "The current status of the task."];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/task-status"];
  fhir:CodeSystem.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.791" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "TaskStatus"];
  fhir:CodeSystem.title [ fhir:value "TaskStatus"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2021-01-05T10:01:24+11:00"];
  fhir:CodeSystem.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CodeSystem.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "The current status of the task."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/task-status"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "draft" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Draft" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The task is not yet ready to be acted upon." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "requested" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Requested" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The task is ready to be acted upon and action is sought." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "received" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Received" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "A potential performer has claimed ownership of the task and is evaluating whether to perform it." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "accepted" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Accepted" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The potential performer has agreed to execute the task but has not yet started work." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "rejected" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Rejected" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "ready" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Ready" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The task is ready to be performed, but no action has yet been taken.  Used in place of requested/received/accepted/rejected when request assignment and acceptance is a given." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "cancelled" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Cancelled" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The task was not completed." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "in-progress" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "In Progress" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The task has been started but is not yet complete." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "on-hold" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "On Hold" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The task has been started but work has been paused." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "failed" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Failed" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The task was attempted but could not be completed due to some error." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "completed" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Completed" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The task has been completed." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "entered-in-error" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Entered in Error" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The task should never have existed and is retained only because of the possibility it may have used." ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.