@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://hl7.org/fhir/CodeSystem/episode-of-care-status> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "episode-of-care-status"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2026-05-20T15:02:53.575+00:00"^^xsd:dateTime ]
  ] ; # 
  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 episode-of-care-status</b></p><a name=\"episode-of-care-status\"> </a><a name=\"hcepisode-of-care-status\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/episode-of-care-status</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\">planned<a name=\"episode-of-care-status-planned\"> </a></td><td>Planned</td><td>This episode of care is planned to start at the date specified in the period.start. During this status, an organization may perform assessments to determine if the patient is eligible to receive services, or be organizing to make resources available to provide care services.</td></tr><tr><td style=\"white-space:nowrap\">waitlist<a name=\"episode-of-care-status-waitlist\"> </a></td><td>Waitlist</td><td>This episode has been placed on a waitlist, pending the episode being made active (or cancelled).</td></tr><tr><td style=\"white-space:nowrap\">active<a name=\"episode-of-care-status-active\"> </a></td><td>Active</td><td>This episode of care is current.</td></tr><tr><td style=\"white-space:nowrap\">onhold<a name=\"episode-of-care-status-onhold\"> </a></td><td>On Hold</td><td>This episode of care is on hold; the organization has limited responsibility for the patient (such as while on respite).</td></tr><tr><td style=\"white-space:nowrap\">finished<a name=\"episode-of-care-status-finished\"> </a></td><td>Finished</td><td>This episode of care is finished and the organization is not expecting to be providing further care to the patient. Can also be known as \"closed\", \"completed\" or other similar terms.</td></tr><tr><td style=\"white-space:nowrap\">cancelled<a name=\"episode-of-care-status-cancelled\"> </a></td><td>Cancelled</td><td>The episode of care was cancelled, or withdrawn from service, often selected during the planned stage as the patient may have gone elsewhere, or the circumstances have changed and the organization is unable to provide the care. It indicates that services terminated outside the planned/expected workflow.</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"episode-of-care-status-entered-in-error\"> </a></td><td>Entered in Error</td><td>This instance should not have been part of this patient's medical record.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "pa"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "normative"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 2
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/episode-of-care-status"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/episode-of-care-status>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.665" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.649" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.2.346" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 
  fhir:name [ fhir:v "EpisodeOfCareStatus"] ; # 
  fhir:title [ fhir:v "Episode Of Care Status"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The status of the episode of care."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/episode-of-care-status"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/episode-of-care-status>
  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "planned" ] ;
     fhir:display [ fhir:v "Planned" ] ;
     fhir:definition [ fhir:v "This episode of care is planned to start at the date specified in the period.start. During this status, an organization may perform assessments to determine if the patient is eligible to receive services, or be organizing to make resources available to provide care services." ]
  ] [
     fhir:code [ fhir:v "waitlist" ] ;
     fhir:display [ fhir:v "Waitlist" ] ;
     fhir:definition [ fhir:v "This episode has been placed on a waitlist, pending the episode being made active (or cancelled)." ]
  ] [
     fhir:code [ fhir:v "active" ] ;
     fhir:display [ fhir:v "Active" ] ;
     fhir:definition [ fhir:v "This episode of care is current." ]
  ] [
     fhir:code [ fhir:v "onhold" ] ;
     fhir:display [ fhir:v "On Hold" ] ;
     fhir:definition [ fhir:v "This episode of care is on hold; the organization has limited responsibility for the patient (such as while on respite)." ]
  ] [
     fhir:code [ fhir:v "finished" ] ;
     fhir:display [ fhir:v "Finished" ] ;
     fhir:definition [ fhir:v "This episode of care is finished and the organization is not expecting to be providing further care to the patient. Can also be known as \"closed\", \"completed\" or other similar terms." ]
  ] [
     fhir:code [ fhir:v "cancelled" ] ;
     fhir:display [ fhir:v "Cancelled" ] ;
     fhir:definition [ fhir:v "The episode of care was cancelled, or withdrawn from service, often selected during the planned stage as the patient may have gone elsewhere, or the circumstances have changed and the organization is unable to provide the care. It indicates that services terminated outside the planned/expected workflow." ]
  ] [
     fhir:code [ fhir:v "entered-in-error" ] ;
     fhir:display [ fhir:v "Entered in Error" ] ;
     fhir:definition [ fhir:v "This instance should not have been part of this patient's medical record." ]
  ] ) . # 

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

