@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/4.0/CodeSystem/message-reason-encounter> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "message-reason-encounter"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem message-reason-encounter</b></p><a name=\"message-reason-encounter\"> </a><a name=\"hcmessage-reason-encounter\"> </a><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/message-reasons-encounter</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\">admit<a name=\"message-reason-encounter-admit\"> </a></td><td>Admit</td><td>The patient has been admitted.</td></tr><tr><td style=\"white-space:nowrap\">discharge<a name=\"message-reason-encounter-discharge\"> </a></td><td>Discharge</td><td>The patient has been discharged.</td></tr><tr><td style=\"white-space:nowrap\">absent<a name=\"message-reason-encounter-absent\"> </a></td><td>Absent</td><td>The patient has temporarily left the institution.</td></tr><tr><td style=\"white-space:nowrap\">return<a name=\"message-reason-encounter-return\"> </a></td><td>Returned</td><td>The patient has returned from a temporary absence.</td></tr><tr><td style=\"white-space:nowrap\">moved<a name=\"message-reason-encounter-moved\"> </a></td><td>Moved</td><td>The patient has been moved to a new location.</td></tr><tr><td style=\"white-space:nowrap\">edit<a name=\"message-reason-encounter-edit\"> </a></td><td>Edit</td><td>Encounter details have been updated (e.g. to correct a coding error).</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "draft"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v 1
     ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "packageId"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:id ;
         fhir:v "hl7.fhir.uv.xver-r4.r4b"
       ]
     ] [
       fhir:url [ fhir:v "version"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "0.0.1-snapshot-2"
       ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "inm"
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/message-reasons-encounter"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "4.0.1"] ; # 
  fhir:name [ fhir:v "ExampleMessageReasonCodes"] ; # 
  fhir:title [ fhir:v "Example Message Reason Codes"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2025-09-13T16:11:23-04:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Infrastructure And Messaging"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Infrastructure And Messaging" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/inm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Example Message Reasons. These are the set of codes that might be used an updating an encounter using admin-update."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/message-reason-encounter|4.3.0"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/message-reason-encounter|4.3.0>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "admit" ] ;
     fhir:display [ fhir:v "Admit" ] ;
     fhir:definition [ fhir:v "The patient has been admitted." ]
  ] [
     fhir:code [ fhir:v "discharge" ] ;
     fhir:display [ fhir:v "Discharge" ] ;
     fhir:definition [ fhir:v "The patient has been discharged." ]
  ] [
     fhir:code [ fhir:v "absent" ] ;
     fhir:display [ fhir:v "Absent" ] ;
     fhir:definition [ fhir:v "The patient has temporarily left the institution." ]
  ] [
     fhir:code [ fhir:v "return" ] ;
     fhir:display [ fhir:v "Returned" ] ;
     fhir:definition [ fhir:v "The patient has returned from a temporary absence." ]
  ] [
     fhir:code [ fhir:v "moved" ] ;
     fhir:display [ fhir:v "Moved" ] ;
     fhir:definition [ fhir:v "The patient has been moved to a new location." ]
  ] [
     fhir:code [ fhir:v "edit" ] ;
     fhir:display [ fhir:v "Edit" ] ;
     fhir:definition [ fhir:v "Encounter details have been updated (e.g. to correct a coding error)." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

