@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://terminology.hl7.org/CodeSystem/message-reasons-encounter> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "message-reasons-encounter"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2020-04-09T21:10:28.568+00:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><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-reasons-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-reasons-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-reasons-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-reasons-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-reasons-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-reasons-encounter-edit\"> </a></td><td>Edit</td><td>Encounter details have been updated (e.g. to correct a coding error).</td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "inm" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "1"^^xsd:integer ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/message-reasons-encounter"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.1122" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "ExampleMessageReasonCodes"] ; # 
  fhir:title [ fhir:v "Example Message Reason Codes"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-03-04T19:03:28+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Health Level Seven International"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] ) ; # 
  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:copyright [ fhir:v "This material derives from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/message-reason-encounter"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/message-reason-encounter>
  ] ; # 
  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)." ]
  ] ) . # 

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

