HL7 Terminology
2.1.0 - Publication

This page is part of the HL7 Terminology (v2.1.0: Release) based on FHIR R4. The current version which supercedes this version is 5.2.0. For a full list of available versions, see the Directory of published versions

: Example Message Reason Codes - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:CodeSystem;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "message-reasons-encounter"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2020-04-09T15:10:28.568-06:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system http://terminology.hl7.org/CodeSystem/message-reasons-encounter 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:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.valueCode [ fhir:value "inm" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.valueCode [ fhir:value "draft" ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/message-reasons-encounter"];
  fhir:CodeSystem.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.1.1122" ]
  ];
  fhir:CodeSystem.version [ fhir:value "0.1.0"];
  fhir:CodeSystem.name [ fhir:value "ExampleMessageReasonCodes"];
  fhir:CodeSystem.title [ fhir:value "Example Message Reason Codes"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:CodeSystem.date [ fhir:value "2021-03-06T13:53:33-07:00"^^xsd:dateTime];
  fhir:CodeSystem.publisher [ fhir:value "FHIR Project"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]     ]
  ];
  fhir:CodeSystem.description [ fhir:value "Example Message Reasons. These are the set of codes that might be used an updating an encounter using admin-update."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean];
  fhir:CodeSystem.valueSet [
     fhir:value "http://terminology.hl7.org/ValueSet/message-reason-encounter";
     fhir:link <http://terminology.hl7.org/ValueSet/message-reason-encounter>
  ];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.concept.code [ fhir:value "admit" ];
     fhir:CodeSystem.concept.display [ fhir:value "Admit" ];
     fhir:CodeSystem.concept.definition [ fhir:value "The patient has been admitted." ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.concept.code [ fhir:value "discharge" ];
     fhir:CodeSystem.concept.display [ fhir:value "Discharge" ];
     fhir:CodeSystem.concept.definition [ fhir:value "The patient has been discharged." ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.concept.code [ fhir:value "absent" ];
     fhir:CodeSystem.concept.display [ fhir:value "Absent" ];
     fhir:CodeSystem.concept.definition [ fhir:value "The patient has temporarily left the institution." ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.concept.code [ fhir:value "return" ];
     fhir:CodeSystem.concept.display [ fhir:value "Returned" ];
     fhir:CodeSystem.concept.definition [ fhir:value "The patient has returned from a temporary absence." ]
  ], [
     fhir:index 4;
     fhir:CodeSystem.concept.code [ fhir:value "moved" ];
     fhir:CodeSystem.concept.display [ fhir:value "Moved" ];
     fhir:CodeSystem.concept.definition [ fhir:value "The patient has been moved to a new location." ]
  ], [
     fhir:index 5;
     fhir:CodeSystem.concept.code [ fhir:value "edit" ];
     fhir:CodeSystem.concept.display [ fhir:value "Edit" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Encounter details have been updated (e.g. to correct a coding error)." ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.