@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/CodeSystem/order-cancellation> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "order-cancellation"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem order-cancellation</b></p><a name=\"order-cancellation\"> </a><a name=\"hcorder-cancellation\"> </a><p>This case-sensitive code system <code>https://fhir.slade360.co.ke/fhir/CodeSystem/order-cancellation</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">no-longer-clinically-needed<a name=\"order-cancellation-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 style=\"white-space:nowrap\">patient-being-discharged<a name=\"order-cancellation-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 style=\"white-space:nowrap\">done-elsewhere-already<a name=\"order-cancellation-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 style=\"white-space:nowrap\">patient-declined<a name=\"order-cancellation-patient-declined\"> </a></td><td>Patient declined</td><td>The patient did not consent to the item being done.</td></tr><tr><td style=\"white-space:nowrap\">ordered-in-error<a name=\"order-cancellation-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><tr><td style=\"white-space:nowrap\">parent-order-cancelled<a name=\"order-cancellation-parent-order-cancelled\"> </a></td><td>Parent order was cancelled</td><td>The item was stopped because the order it belonged to was cancelled, not on a decision about the item itself.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [ fhir:v "https://fhir.slade360.co.ke/fhir/CodeSystem/order-cancellation"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "SGHIOrderCancellationCodeSystem"] ; # 
  fhir:title [ fhir:v "SGHI Order Cancellation Code System"] ; # 
  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. Recorded against the item and not the order: an order carries several items, and one test no longer being needed says nothing about the prescription beside it."] ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:count [ fhir:v "6"^^xsd:nonNegativeInteger] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "no-longer-clinically-needed" ] ;
     fhir:display [ fhir:v "No longer clinically needed" ] ;
     fhir:definition [ fhir:v "The clinical question the item was raised to answer no longer needs answering." ]
  ] [
     fhir:code [ fhir:v "patient-being-discharged" ] ;
     fhir:display [ fhir:v "Patient is being discharged" ] ;
     fhir:definition [ fhir:v "The patient is leaving, and the item would not be done before they go." ]
  ] [
     fhir:code [ fhir:v "done-elsewhere-already" ] ;
     fhir:display [ fhir:v "Done elsewhere already" ] ;
     fhir:definition [ fhir:v "The same work has already been done, here or at another facility, and repeating it would add nothing." ]
  ] [
     fhir:code [ fhir:v "patient-declined" ] ;
     fhir:display [ fhir:v "Patient declined" ] ;
     fhir:definition [ fhir:v "The patient did not consent to the item being done." ]
  ] [
     fhir:code [ fhir:v "ordered-in-error" ] ;
     fhir:display [ fhir:v "Ordered in error" ] ;
     fhir:definition [ fhir:v "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." ]
  ] [
     fhir:code [ fhir:v "parent-order-cancelled" ] ;
     fhir:display [ fhir:v "Parent order was cancelled" ] ;
     fhir:definition [ fhir:v "The item was stopped because the order it belonged to was cancelled, not on a decision about the item itself." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

