FHIR Cross-Version Extensions package for FHIR R4 from FHIR R2
0.0.1-snapshot-2 - informative International flag

FHIR Cross-Version Extensions package for FHIR R4 from FHIR R2 - Version 0.0.1-snapshot-2. See the Directory of published versions

: Cross-version VS for R2.Example Message Reason Codes for use in FHIR R4 - TTL Representation

Page standards status: Informative Maturity Level: 0

Raw ttl | Download


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

 a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "R2-message-reason-encounter-for-R4"] ; # 
  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: ValueSet R2-message-reason-encounter-for-R4</b></p><a name=\"R2-message-reason-encounter-for-R4\"> </a><a name=\"hcR2-message-reason-encounter-for-R4\"> </a><p>This value set expansion contains 6 concepts.</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>System</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-message-reason-encounter-for-R4-http://hl7.org/fhir/message-reasons-encounter-admit\"> </a>  <a href=\"CodeSystem-message-reason-encounter.html#message-reason-encounter-admit\">admit</a></td><td>http://hl7.org/fhir/message-reasons-encounter</td><td>Admit</td><td>The patient has been admitted.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-message-reason-encounter-for-R4-http://hl7.org/fhir/message-reasons-encounter-discharge\"> </a>  <a href=\"CodeSystem-message-reason-encounter.html#message-reason-encounter-discharge\">discharge</a></td><td>http://hl7.org/fhir/message-reasons-encounter</td><td>Discharge</td><td>The patient has been discharged.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-message-reason-encounter-for-R4-http://hl7.org/fhir/message-reasons-encounter-absent\"> </a>  <a href=\"CodeSystem-message-reason-encounter.html#message-reason-encounter-absent\">absent</a></td><td>http://hl7.org/fhir/message-reasons-encounter</td><td>Absent</td><td>The patient has temporarily left the institution.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-message-reason-encounter-for-R4-http://hl7.org/fhir/message-reasons-encounter-return\"> </a>  <a href=\"CodeSystem-message-reason-encounter.html#message-reason-encounter-return\">return</a></td><td>http://hl7.org/fhir/message-reasons-encounter</td><td>Returned</td><td>The patient has returned from a temporary absence.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-message-reason-encounter-for-R4-http://hl7.org/fhir/message-reasons-encounter-moved\"> </a>  <a href=\"CodeSystem-message-reason-encounter.html#message-reason-encounter-moved\">moved</a></td><td>http://hl7.org/fhir/message-reasons-encounter</td><td>Moved</td><td>The patient has been moved to a new location.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-message-reason-encounter-for-R4-http://hl7.org/fhir/message-reasons-encounter-edit\"> </a>  <a href=\"CodeSystem-message-reason-encounter.html#message-reason-encounter-edit\">edit</a></td><td>http://hl7.org/fhir/message-reasons-encounter</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-wg"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "fhir"     ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "packageId"^^xsd:anyURI ] ;
fhir:value [
a fhir:id ;
fhir:v "hl7.fhir.uv.xver-r2.r4"       ]     ] [
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-fmm"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 0 ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "http://hl7.org/fhir/1.0/ImplementationGuide/hl7.fhir.uv.xver-r2.r4"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/1.0/ImplementationGuide/hl7.fhir.uv.xver-r2.r4>         ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "informative" ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "http://hl7.org/fhir/1.0/ImplementationGuide/hl7.fhir.uv.xver-r2.r4"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/1.0/ImplementationGuide/hl7.fhir.uv.xver-r2.r4>         ]       ] )     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/1.0/ValueSet/R2-message-reason-encounter-for-R4"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.0.1-snapshot-2"] ; # 
  fhir:name [ fhir:v "R2_message_reason_encounter_for_R4"] ; # 
  fhir:title [ fhir:v "Cross-version VS for R2.Example Message Reason Codes for use in FHIR R4"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2025-09-01T22:35:39.424097+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "FHIR Infrastructure"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "FHIR Infrastructure" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This cross-version ValueSet represents concepts from http://hl7.org/fhir/ValueSet/message-reason-encounter|1.0.2 for use in FHIR R4. Concepts not present here have direct `equivalent` mappings crossing all versions from R2 to R4."] ; # 
  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:compose [
    ( fhir:include [
fhir:system [ fhir:v "http://hl7.org/fhir/message-reasons-encounter"^^xsd:anyURI ] ;
fhir:version [ fhir:v "1.0.2" ] ;
      ( fhir:concept [
fhir:code [ fhir:v "admit" ] ;
fhir:display [ fhir:v "Admit" ]       ] [
fhir:code [ fhir:v "discharge" ] ;
fhir:display [ fhir:v "Discharge" ]       ] [
fhir:code [ fhir:v "absent" ] ;
fhir:display [ fhir:v "Absent" ]       ] [
fhir:code [ fhir:v "return" ] ;
fhir:display [ fhir:v "Returned" ]       ] [
fhir:code [ fhir:v "moved" ] ;
fhir:display [ fhir:v "Moved" ]       ] [
fhir:code [ fhir:v "edit" ] ;
fhir:display [ fhir:v "Edit" ]       ] )     ] )
  ] ; # 
  fhir:expansion [
fhir:timestamp [ fhir:v "2025-09-01T22:35:39.424085+10:00"^^xsd:dateTime ] ;
    ( fhir:contains [
fhir:system [ fhir:v "http://hl7.org/fhir/message-reasons-encounter"^^xsd:anyURI ] ;
fhir:version [ fhir:v "1.0.2" ] ;
fhir:code [ fhir:v "admit" ] ;
fhir:display [ fhir:v "Admit" ]     ] [
fhir:system [ fhir:v "http://hl7.org/fhir/message-reasons-encounter"^^xsd:anyURI ] ;
fhir:version [ fhir:v "1.0.2" ] ;
fhir:code [ fhir:v "discharge" ] ;
fhir:display [ fhir:v "Discharge" ]     ] [
fhir:system [ fhir:v "http://hl7.org/fhir/message-reasons-encounter"^^xsd:anyURI ] ;
fhir:version [ fhir:v "1.0.2" ] ;
fhir:code [ fhir:v "absent" ] ;
fhir:display [ fhir:v "Absent" ]     ] [
fhir:system [ fhir:v "http://hl7.org/fhir/message-reasons-encounter"^^xsd:anyURI ] ;
fhir:version [ fhir:v "1.0.2" ] ;
fhir:code [ fhir:v "return" ] ;
fhir:display [ fhir:v "Returned" ]     ] [
fhir:system [ fhir:v "http://hl7.org/fhir/message-reasons-encounter"^^xsd:anyURI ] ;
fhir:version [ fhir:v "1.0.2" ] ;
fhir:code [ fhir:v "moved" ] ;
fhir:display [ fhir:v "Moved" ]     ] [
fhir:system [ fhir:v "http://hl7.org/fhir/message-reasons-encounter"^^xsd:anyURI ] ;
fhir:version [ fhir:v "1.0.2" ] ;
fhir:code [ fhir:v "edit" ] ;
fhir:display [ fhir:v "Edit" ]     ] )
  ] . #