@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/encounter-status> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "encounter-status"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2026-05-21T02:02:53.575+11: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 encounter-status</b></p><a name=\"encounter-status\"> </a><a name=\"hcencounter-status\"> </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\">Last updated: 2021-01-05T10:01:24.148+11:00</p></div><p>This case-sensitive code system <code>http://hl7.org/fhir/encounter-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=\"encounter-status-planned\"> </a></td><td>Planned</td><td>The Encounter has not yet started.</td></tr><tr><td style=\"white-space:nowrap\">in-progress<a name=\"encounter-status-in-progress\"> </a></td><td>In Progress</td><td>The Encounter has begun and the patient is present / the practitioner and the patient are meeting.</td></tr><tr><td style=\"white-space:nowrap\">on-hold<a name=\"encounter-status-on-hold\"> </a></td><td>On Hold</td><td>The Encounter has begun, but is currently on hold, e.g. because the patient is temporarily on leave.</td></tr><tr><td style=\"white-space:nowrap\">discharged<a name=\"encounter-status-discharged\"> </a></td><td>Discharged</td><td>The Encounter has been clinically completed, the patient has been discharged from the facility or the visit has ended, and the patient may have departed (refer to subjectStatus). While the encounter is in this status, administrative activities are usually performed, collating all required documentation and charge information before being released for billing, at which point the status will move to completed.</td></tr><tr><td style=\"white-space:nowrap\">completed<a name=\"encounter-status-completed\"> </a></td><td>Completed</td><td>The Encounter has ended.</td></tr><tr><td style=\"white-space:nowrap\">cancelled<a name=\"encounter-status-cancelled\"> </a></td><td>Cancelled</td><td>The Encounter has ended before it has begun.</td></tr><tr><td style=\"white-space:nowrap\">discontinued<a name=\"encounter-status-discontinued\"> </a></td><td>Discontinued</td><td>The Encounter has started, but was not able to be completed. Further action may need to be performed, such as rescheduling appointments related to this encounter.</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"encounter-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><tr><td style=\"white-space:nowrap\">unknown<a name=\"encounter-status-unknown\"> </a></td><td>Unknown</td><td>The encounter status is unknown. Note that \"unknown\" is a value of last resort and every attempt should be made to provide a meaningful value other than \"unknown\".</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 4
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/encounter-status"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/encounter-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.247" ]
  ] [
     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.242" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 
  fhir:name [ fhir:v "EncounterStatus"] ; # 
  fhir:title [ fhir:v "Encounter 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 "Current state of the encounter."] ; # 
  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/encounter-status"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/encounter-status>
  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "planned" ] ;
     fhir:display [ fhir:v "Planned" ] ;
     fhir:definition [ fhir:v "The Encounter has not yet started." ]
  ] [
     fhir:code [ fhir:v "in-progress" ] ;
     fhir:display [ fhir:v "In Progress" ] ;
     fhir:definition [ fhir:v "The Encounter has begun and the patient is present / the practitioner and the patient are meeting." ]
  ] [
     fhir:code [ fhir:v "on-hold" ] ;
     fhir:display [ fhir:v "On Hold" ] ;
     fhir:definition [ fhir:v "The Encounter has begun, but is currently on hold, e.g. because the patient is temporarily on leave." ]
  ] [
     fhir:code [ fhir:v "discharged" ] ;
     fhir:display [ fhir:v "Discharged" ] ;
     fhir:definition [ fhir:v "The Encounter has been clinically completed, the patient has been discharged from the facility or the visit has ended, and the patient may have departed (refer to subjectStatus). While the encounter is in this status, administrative activities are usually performed, collating all required documentation and charge information before being released for billing, at which point the status will move to completed." ]
  ] [
     fhir:code [ fhir:v "completed" ] ;
     fhir:display [ fhir:v "Completed" ] ;
     fhir:definition [ fhir:v "The Encounter has ended." ]
  ] [
     fhir:code [ fhir:v "cancelled" ] ;
     fhir:display [ fhir:v "Cancelled" ] ;
     fhir:definition [ fhir:v "The Encounter has ended before it has begun." ]
  ] [
     fhir:code [ fhir:v "discontinued" ] ;
     fhir:display [ fhir:v "Discontinued" ] ;
     fhir:definition [ fhir:v "The Encounter has started, but was not able to be completed. Further action may need to be performed, such as rescheduling appointments related to this encounter." ]
  ] [
     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." ]
  ] [
     fhir:code [ fhir:v "unknown" ] ;
     fhir:display [ fhir:v "Unknown" ] ;
     fhir:definition [ fhir:v "The encounter status is unknown. Note that \"unknown\" is a value of last resort and every attempt should be made to provide a meaningful value other than \"unknown\"." ]
  ] ) . # 

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

