@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.org/guides/onc/us-quality-core/Task/negation-example> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "negation-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-taskrejected" ;
       fhir:index 0 ;
       fhir:link <http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-taskrejected>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task negation-example</b></p><a name=\"negation-example\"> </a><a name=\"hcnegation-example\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-quality-core-taskrejected.html\">US Quality Core Task Rejected</a></p></div><p><b>identifier</b>: <code>http://www.acme.org/tasks</code>/19009</p><p><b>basedOn</b>: Medication reconciliation requested before alemtuzumab infusion</p><p><b>status</b>: Rejected</p><p><b>statusReason</b>: <span title=\"Codes:{http://snomed.info/sct 275936005}\">Patient noncompliance - general (situation)</span></p><p><b>intent</b>: proposal</p><p><b>code</b>: <span title=\"Codes:\">Interventions Related to Medication Management, Medication Reconciliation</span> (Not done value set: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1096.11/expansion\">Interventions Related to Medication Management, Medication Reconciliation</a>)</p><p><b>focus</b>: <a href=\"MedicationRequest-example.html\">MedicationRequest: status = active; intent = order; medication[x] = -&gt;Medication alemtuzumab 10 MG/ML [Lemtrada]; authoredOn = 2015-03-25 19:32:52-0500; reasonCode = Multiple sclerosis (disorder)</a></p><p><b>for</b>: <a href=\"Patient-example.html\">Jim Chalmers  Male, DoB: 1974-12-25 ( Social Security number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p><p><b>executionPeriod</b>: 2015-03-25 --&gt; 2015-03-25</p><p><b>reasonCode</b>: <span title=\"Codes:\">Patient declined medication reconciliation before alemtuzumab infusion</span></p></div>"
  ] ;
  fhir:Task.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://www.acme.org/tasks" ] ;
     fhir:Identifier.value [ fhir:value "19009" ]
  ] ;
  fhir:Task.basedOn [
     fhir:index 0 ;
     fhir:Reference.display [ fhir:value "Medication reconciliation requested before alemtuzumab infusion" ]
  ] ;
  fhir:Task.status [ fhir:value "rejected"] ;
  fhir:Task.statusReason [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:275936005 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "275936005" ] ;
       fhir:Coding.display [ fhir:value "Patient noncompliance - general (situation)" ]
     ]
  ] ;
  fhir:Task.intent [ fhir:value "proposal"] ;
  fhir:Task.code [
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-notDoneValueSet" ] ;
       fhir:Extension.valueCanonical [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.11" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1096.11>
       ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Interventions Related to Medication Management, Medication Reconciliation" ]
  ] ;
  fhir:Task.focus [
     fhir:link <http://fhir.org/guides/onc/us-quality-core/MedicationRequest/example> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/example" ]
  ] ;
  fhir:Task.for [
     fhir:link <http://fhir.org/guides/onc/us-quality-core/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ] ;
  fhir:Task.executionPeriod [
     fhir:Period.start [ fhir:value "2015-03-25"^^xsd:date ] ;
     fhir:Period.end [ fhir:value "2015-03-25"^^xsd:date ]
  ] ;
  fhir:Task.reasonCode [
     fhir:CodeableConcept.text [ fhir:value "Patient declined medication reconciliation before alemtuzumab infusion" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.org/guides/onc/us-quality-core/Task/negation-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

