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-release.ttl

Example Task/fm-example3 (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 release of the balance of reserved funds for 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-example3> a fhir:Task;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "fm-example3"];
  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:Task.status [ fhir:value "requested"];
  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 "release" ]
     ]
  ];
  fhir:Task.focus [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://happyvalley.com/claim" ];
       fhir:Identifier.value [ fhir:value "1501" ]

[a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "fm-example3"] ; #     This is an example to demonstrate using task for actioning a release of remaining unused reserved funds and services
#			on a preauthorization 
  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:status [ fhir:v "requested"] ; # 
  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 "release" ]
     ] )
  ] ; #   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 "1501" ]

     ]
  ];
  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.input [
     fhir:index 0;
     fhir:Task.input.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/financial-taskinputtype" ];
         fhir:Coding.code [ fhir:value "origresponse" ]
       ]
     ];
     fhir:Task.input.valueReference [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "http://nationalinsurers.com/claimresponse" ];
         fhir:Identifier.value [ fhir:value "CR201810040001234" ]

  ] ; # 
  fhir:input ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/financial-taskinputtype"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "origresponse" ]
       ] )
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:identifier [
         fhir:system [ fhir:v "http://nationalinsurers.com/claimresponse"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "CR201810040001234" ]

       ]
     ]
  ] .

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

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

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

  ] )] . # 


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


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.