@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 -------------------------------------------------------------------

<http://localhost:8085/fhir/CodeSystem/kps-event-status-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "kps-event-status-cs"] ; # 
  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 kps-event-status-cs</b></p><a name=\"kps-event-status-cs\"> </a><a name=\"hckps-event-status-cs\"> </a><p>This case-sensitive code system <code>http://localhost:8085/fhir/CodeSystem/kps-event-status-cs</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\">preparation<a name=\"kps-event-status-cs-preparation\"> </a></td><td>Preparation</td><td>The core event has not started yet, but some staging activities have begun (e.g. surgical suite preparation). Preparation stages may be tracked for billing purposes.</td></tr><tr><td style=\"white-space:nowrap\">in-progress<a name=\"kps-event-status-cs-in-progress\"> </a></td><td>In Progress</td><td>The event is currently occurring.</td></tr><tr><td style=\"white-space:nowrap\">not-done<a name=\"kps-event-status-cs-not-done\"> </a></td><td>Not Done</td><td>The event was terminated prior to any activity beyond preparation. The main activity has not yet begun.</td></tr><tr><td style=\"white-space:nowrap\">on-hold<a name=\"kps-event-status-cs-on-hold\"> </a></td><td>On Hold</td><td>The event has been temporarily stopped but is expected to resume in the future.</td></tr><tr><td style=\"white-space:nowrap\">stopped<a name=\"kps-event-status-cs-stopped\"> </a></td><td>Stopped</td><td>The event was terminated prior to the full completion of the intended activity but after at least some of the main activity beyond preparation has occurred.</td></tr><tr><td style=\"white-space:nowrap\">completed<a name=\"kps-event-status-cs-completed\"> </a></td><td>Completed</td><td>The event has now concluded.</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"kps-event-status-cs-entered-in-error\"> </a></td><td>Entered in Error</td><td>This electronic record should never have existed, though it is possible that real-world decisions were based on it. If real-world activity has occurred, the status should be stopped rather than entered-in-error.</td></tr><tr><td style=\"white-space:nowrap\">unknown<a name=\"kps-event-status-cs-unknown\"> </a></td><td>Unknown</td><td>The authoring or source system does not know which of the status values currently applies for this event.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "http://localhost:8085/fhir/CodeSystem/kps-event-status-cs"^^xsd:anyURI ;
     fhir:l <http://localhost:8085/fhir/CodeSystem/kps-event-status-cs>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "EventStatusCS"] ; # 
  fhir:title [ fhir:v "Event Status"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-05-31T11:35:58+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Digital Health Agency of Kenya"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Digital Health Agency of Kenya" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://www.dha.go.ke" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "interoperability@dha.go.ke" ]
     ] )
  ] [
     fhir:name [ fhir:v "Digital Health Agency of Kenya – Interoperability Team" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "interoperability@dha.go.ke" ] ;
       fhir:use [ fhir:v "work" ]
     ] [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://www.dha.go.ke" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Defines the lifecycle status of an event."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;
       fhir:code [ fhir:v "KE" ] ;
       fhir:display [ fhir:v "Kenya" ]
     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "Copyright © 2024+ Digital Health Agency of Kenya. This content is licensed under Creative Commons Zero v1.0 Universal (CC0 1.0). No rights reserved.\n"] ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:count [ fhir:v "8"^^xsd:nonNegativeInteger] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "preparation" ] ;
     fhir:display [ fhir:v "Preparation" ] ;
     fhir:definition [ fhir:v "The core event has not started yet, but some staging activities have begun (e.g. surgical suite preparation). Preparation stages may be tracked for billing purposes." ]
  ] [
     fhir:code [ fhir:v "in-progress" ] ;
     fhir:display [ fhir:v "In Progress" ] ;
     fhir:definition [ fhir:v "The event is currently occurring." ]
  ] [
     fhir:code [ fhir:v "not-done" ] ;
     fhir:display [ fhir:v "Not Done" ] ;
     fhir:definition [ fhir:v "The event was terminated prior to any activity beyond preparation. The main activity has not yet begun." ]
  ] [
     fhir:code [ fhir:v "on-hold" ] ;
     fhir:display [ fhir:v "On Hold" ] ;
     fhir:definition [ fhir:v "The event has been temporarily stopped but is expected to resume in the future." ]
  ] [
     fhir:code [ fhir:v "stopped" ] ;
     fhir:display [ fhir:v "Stopped" ] ;
     fhir:definition [ fhir:v "The event was terminated prior to the full completion of the intended activity but after at least some of the main activity beyond preparation has occurred." ]
  ] [
     fhir:code [ fhir:v "completed" ] ;
     fhir:display [ fhir:v "Completed" ] ;
     fhir:definition [ fhir:v "The event has now concluded." ]
  ] [
     fhir:code [ fhir:v "entered-in-error" ] ;
     fhir:display [ fhir:v "Entered in Error" ] ;
     fhir:definition [ fhir:v "This electronic record should never have existed, though it is possible that real-world decisions were based on it. If real-world activity has occurred, the status should be stopped rather than entered-in-error." ]
  ] [
     fhir:code [ fhir:v "unknown" ] ;
     fhir:display [ fhir:v "Unknown" ] ;
     fhir:definition [ fhir:v "The authoring or source system does not know which of the status values currently applies for this event." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

