{
  "resourceType" : "CodeSystem",
  "id" : "message-reasons-encounter",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This 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>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 1
  },
  {
    "extension" : [{
      "url" : "packageId",
      "valueId" : "hl7.fhir.uv.xver-r5.r4"
    },
    {
      "url" : "version",
      "valueString" : "0.0.1-snapshot-2"
    }],
    "url" : "http://hl7.org/fhir/StructureDefinition/package-source"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "inm"
  }],
  "url" : "http://terminology.hl7.org/CodeSystem/message-reasons-encounter",
  "version" : "0.1.0",
  "name" : "ExampleMessageReasonCodes",
  "title" : "Example Message Reason Codes",
  "status" : "draft",
  "experimental" : false,
  "date" : "2023-02-26T04:07:30+10:00",
  "publisher" : "Infrastructure And Messaging",
  "contact" : [{
    "name" : "Infrastructure And Messaging",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/inm"
    }]
  }],
  "description" : "Example Message Reasons. These are the set of codes that might be used an updating an encounter using admin-update.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "caseSensitive" : true,
  "valueSet" : "http://terminology.hl7.org/ValueSet/message-reason-encounter|1.0.1",
  "content" : "complete",
  "concept" : [{
    "code" : "admit",
    "display" : "Admit",
    "definition" : "The patient has been admitted."
  },
  {
    "code" : "discharge",
    "display" : "Discharge",
    "definition" : "The patient has been discharged."
  },
  {
    "code" : "absent",
    "display" : "Absent",
    "definition" : "The patient has temporarily left the institution."
  },
  {
    "code" : "return",
    "display" : "Returned",
    "definition" : "The patient has returned from a temporary absence."
  },
  {
    "code" : "moved",
    "display" : "Moved",
    "definition" : "The patient has been moved to a new location."
  },
  {
    "code" : "edit",
    "display" : "Edit",
    "definition" : "Encounter details have been updated (e.g. to correct a coding error)."
  }]
}