Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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

Task-example-fm-status-resp.ttl

Example Task/fm-example6 (Turtle)

Orders and Observations Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any defined compartments Patient

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

Example of the response to checking the processing status of a preauthorization

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Task/fm-example6> a fhir:Task;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "fm-example6"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<p>\n				<b> Generated Narrative with Details</b>\n			</p>\n		</div>"
  ];
  fhir:Task.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http:/happyvalley.com/task" ];
     fhir:Identifier.value [ fhir:value "20181012-001" ]
  ], [
     fhir:index 1;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http://nationalinsurers.com/identifiers/12345" ];
     fhir:Identifier.value [ fhir:value "123GB5674" ]
  ];
  fhir:Task.status [ fhir:value "completed"];
  fhir:Task.intent [ fhir:value "order"];
  fhir:Task.priority [ fhir:value "stat"];
  fhir:Task.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/financialtaskcode" ];
       fhir:Coding.code [ fhir:value "status" ]
     ]
  ];
  fhir:Task.focus [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://happyvalley.com/claim" ];
       fhir:Identifier.value [ fhir:value "1500" ]

[a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "fm-example6"] ; #     This is an example to demonstrate using task for actioning a claim status check  
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<p>\n				<b> Generated Narrative with Details</b>\n			</p>\n		</div>"
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [ fhir:v "http:/happyvalley.com/task"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "20181012-001" ]
  ] [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [ fhir:v "http://nationalinsurers.com/identifiers/12345"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "123GB5674" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:priority [ fhir:v "stat"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/financialtaskcode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "status" ]
     ] )
  ] ; #   real time request and response required  ,     fictive code and description elements populated for this example     
  fhir:focus [
     fhir:identifier [
       fhir:system [ fhir:v "http://happyvalley.com/claim"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "1500" ]

     ]
  ];
  fhir:Task.authoredOn [ fhir:value "2018-10-04T08:25:05+10:00"^^xsd:dateTime];
  fhir:Task.lastModified [ fhir:value "2018-10-04T08:25:05+10:00"^^xsd:dateTime];
  fhir:Task.requester [
     fhir:link <http://hl7.org/fhir/Organization/example>;
     fhir:Reference.reference [ fhir:value "Organization/example" ];
     fhir:Reference.display [ fhir:value "Happy Valley Clinic" ]
  ];
  fhir:Task.owner [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://nationalinsurers.com/identifiers" ];
       fhir:Identifier.value [ fhir:value "12345" ]

  ] ; # 
  fhir:authoredOn [ fhir:v "2018-10-04T08:25:05+10:00"^^xsd:dateTime] ; # 
  fhir:lastModified [ fhir:v "2018-10-04T08:25:05+10:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:reference [ fhir:v "Organization/example" ] ;
     fhir:display [ fhir:v "Happy Valley Clinic" ]
  ] ; # 
  fhir:owner [
     fhir:identifier [
       fhir:system [ fhir:v "http://nationalinsurers.com/identifiers"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "12345" ]

     ]
  ];
  fhir:Task.output [
     fhir:index 0;
     fhir:Task.output.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/financial-taskoutputtype" ];
         fhir:Coding.code [ fhir:value "status" ]
       ]
     ];
     fhir:Task.output.valueCode [ fhir:value "complete" ]
  ] .

<http://hl7.org/fhir/Organization/example> a fhir:Organization .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Task/fm-example6.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Task/fm-example6.ttl> .

  ] ; # 
  fhir:output ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/financial-taskoutputtype"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "status" ]
       ] ) #   the processing status of the referenced resource  
     ] ;
     fhir:value [ fhir:v "complete" ]
  ] )] . # 


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


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.