@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.slade360.co.ke/fhir/ValueSet/order-cancellation-reason> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "order-cancellation-reason"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ValueSet order-cancellation-reason</b></p><a name=\"order-cancellation-reason\"> </a><a name=\"hcorder-cancellation-reason\"> </a><ul><li>Include these codes as defined in <a href=\"CodeSystem-order-cancellation.html\"><code>https://fhir.slade360.co.ke/fhir/CodeSystem/order-cancellation</code></a><span title=\"Version is not explicitly stated, which means it is fixed to the version provided in this specification\"> version &#x1F4E6;0.1.0</span><table class=\"none\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a href=\"CodeSystem-order-cancellation.html#order-cancellation-no-longer-clinically-needed\">no-longer-clinically-needed</a></td><td>No longer clinically needed</td><td>The clinical question the item was raised to answer no longer needs answering.</td></tr><tr><td><a href=\"CodeSystem-order-cancellation.html#order-cancellation-patient-being-discharged\">patient-being-discharged</a></td><td>Patient is being discharged</td><td>The patient is leaving, and the item would not be done before they go.</td></tr><tr><td><a href=\"CodeSystem-order-cancellation.html#order-cancellation-done-elsewhere-already\">done-elsewhere-already</a></td><td>Done elsewhere already</td><td>The same work has already been done, here or at another facility, and repeating it would add nothing.</td></tr><tr><td><a href=\"CodeSystem-order-cancellation.html#order-cancellation-patient-declined\">patient-declined</a></td><td>Patient declined</td><td>The patient did not consent to the item being done.</td></tr><tr><td><a href=\"CodeSystem-order-cancellation.html#order-cancellation-ordered-in-error\">ordered-in-error</a></td><td>Ordered in error</td><td>The item should never have been ordered. Unlike the others this voids the request rather than stopping it, so the record shows it as never having been validly placed.</td></tr></table></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [ fhir:v "https://fhir.slade360.co.ke/fhir/ValueSet/order-cancellation-reason"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "SGHIOrderCancellationReason"] ; # 
  fhir:title [ fhir:v "SGHI Order Cancellation Reason"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-09-15T11:40:24+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Kathurima Kimathi"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Kathurima Kimathi" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://www.linkedin.com/in/kathurima-kimathi/" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "kathurimakimathi415@gmail.com" ]
     ] )
  ] [
     fhir:name [ fhir:v "Oscar John" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "oscarjohnotieno@gmail.com" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] [
     fhir:name [ fhir:v "Kennedy Omondi" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "kennankole@gmail.com" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Why an ordered item was stopped before it was done, as offered to the person cancelling it. #ordered-in-error is the odd one out and is deliberately included: the other four stop a request that was validly placed, while that one says it never should have been, and an audit that cannot tell those apart cannot tell a change of plan from a mistake. #parent-order-cancelled is deliberately excluded: the server sets it when a whole order is cancelled, and it is not a choice anyone makes."] ; # 
  fhir:compose [
     fhir:include ( [
       fhir:system [ fhir:v "https://fhir.slade360.co.ke/fhir/CodeSystem/order-cancellation"^^xsd:anyURI ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "no-longer-clinically-needed" ] ;
         fhir:display [ fhir:v "No longer clinically needed" ]
       ] [
         fhir:code [ fhir:v "patient-being-discharged" ] ;
         fhir:display [ fhir:v "Patient is being discharged" ]
       ] [
         fhir:code [ fhir:v "done-elsewhere-already" ] ;
         fhir:display [ fhir:v "Done elsewhere already" ]
       ] [
         fhir:code [ fhir:v "patient-declined" ] ;
         fhir:display [ fhir:v "Patient declined" ]
       ] [
         fhir:code [ fhir:v "ordered-in-error" ] ;
         fhir:display [ fhir:v "Ordered in error" ]
       ] )
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

