@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/1.0/ValueSet/R2-qicore-flag-category-for-R4> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "R2-qicore-flag-category-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-qicore-flag-category-for-R4</b></p><a name=\"R2-qicore-flag-category-for-R4\"> </a><a name=\"hcR2-qicore-flag-category-for-R4\"> </a><p>This value set expansion contains 7 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-qicore-flag-category-for-R4-http://hl7.org/fhir/flagCategory-CL\"> </a>  <a href=\"CodeSystem-qicore-flag-category.html#qicore-flag-category-CL\">CL</a></td><td>http://hl7.org/fhir/flagCategory</td><td>Clinical</td><td>Patient has special needs, limitations, or preferences that impact clinical treatment.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-qicore-flag-category-for-R4-http://hl7.org/fhir/flagCategory-BH\"> </a>  <a href=\"CodeSystem-qicore-flag-category.html#qicore-flag-category-BH\">BH</a></td><td>http://hl7.org/fhir/flagCategory</td><td>Behavioral</td><td>Patient actions that pose risk or otherwise impact health or treatement, e.g. verbal threats, possession of weapons in a health care facility, acts of violence, history of suicidal behavior, drug-seeking behavior, or sexual harrassment.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-qicore-flag-category-for-R4-http://hl7.org/fhir/flagCategory-RES\"> </a>  <a href=\"CodeSystem-qicore-flag-category.html#qicore-flag-category-RES\">RES</a></td><td>http://hl7.org/fhir/flagCategory</td><td>Research</td><td>Patient is a participant in a research study.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-qicore-flag-category-for-R4-http://hl7.org/fhir/flagCategory-SC\"> </a>  <a href=\"CodeSystem-qicore-flag-category.html#qicore-flag-category-SC\">SC</a></td><td>http://hl7.org/fhir/flagCategory</td><td>Special Circumstances</td><td>Special circumstances in terms of transportation, living situation, or communications.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-qicore-flag-category-for-R4-http://hl7.org/fhir/flagCategory-ADM\"> </a>  <a href=\"CodeSystem-qicore-flag-category.html#qicore-flag-category-ADM\">ADM</a></td><td>http://hl7.org/fhir/flagCategory</td><td>Administrative</td><td>Special issues with respect to payment, insurance, or other administrative matters.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-qicore-flag-category-for-R4-http://hl7.org/fhir/flagCategory-ADV\"> </a>  <a href=\"CodeSystem-qicore-flag-category.html#qicore-flag-category-ADV\">ADV</a></td><td>http://hl7.org/fhir/flagCategory</td><td>Advance Directive</td><td>Patient has advance directives.</td></tr><tr><td style=\"white-space:nowrap\"><a name=\"R2-qicore-flag-category-for-R4-http://hl7.org/fhir/flagCategory-OT\"> </a>  <a href=\"CodeSystem-qicore-flag-category.html#qicore-flag-category-OT\">OT</a></td><td>http://hl7.org/fhir/flagCategory</td><td>Other</td><td>Flag or alert not belonging to any other category.</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 "trial-use" ;
       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-qicore-flag-category-for-R4"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.0.1-snapshot-2"] ; # 
  fhir:name [ fhir:v "R2_qicore_flag_category_for_R4"] ; # 
  fhir:title [ fhir:v "Cross-version VS for R2.Flag Category 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.599121+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/qicore-flag-category|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/flagCategory"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "1.0.2" ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "CL" ] ;
         fhir:display [ fhir:v "Clinical" ]
       ] [
         fhir:code [ fhir:v "BH" ] ;
         fhir:display [ fhir:v "Behavioral" ]
       ] [
         fhir:code [ fhir:v "RES" ] ;
         fhir:display [ fhir:v "Research" ]
       ] [
         fhir:code [ fhir:v "SC" ] ;
         fhir:display [ fhir:v "Special Circumstances" ]
       ] [
         fhir:code [ fhir:v "ADM" ] ;
         fhir:display [ fhir:v "Administrative" ]
       ] [
         fhir:code [ fhir:v "ADV" ] ;
         fhir:display [ fhir:v "Advance Directive" ]
       ] [
         fhir:code [ fhir:v "OT" ] ;
         fhir:display [ fhir:v "Other" ]
       ] )
     ] )
  ] ; # 
  fhir:expansion [
     fhir:timestamp [ fhir:v "2025-09-01T22:35:39.599116+10:00"^^xsd:dateTime ] ;
     fhir:contains ( [
       fhir:system [ fhir:v "http://hl7.org/fhir/flagCategory"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "1.0.2" ] ;
       fhir:code [ fhir:v "CL" ] ;
       fhir:display [ fhir:v "Clinical" ]
     ] [
       fhir:system [ fhir:v "http://hl7.org/fhir/flagCategory"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "1.0.2" ] ;
       fhir:code [ fhir:v "BH" ] ;
       fhir:display [ fhir:v "Behavioral" ]
     ] [
       fhir:system [ fhir:v "http://hl7.org/fhir/flagCategory"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "1.0.2" ] ;
       fhir:code [ fhir:v "RES" ] ;
       fhir:display [ fhir:v "Research" ]
     ] [
       fhir:system [ fhir:v "http://hl7.org/fhir/flagCategory"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "1.0.2" ] ;
       fhir:code [ fhir:v "SC" ] ;
       fhir:display [ fhir:v "Special Circumstances" ]
     ] [
       fhir:system [ fhir:v "http://hl7.org/fhir/flagCategory"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "1.0.2" ] ;
       fhir:code [ fhir:v "ADM" ] ;
       fhir:display [ fhir:v "Administrative" ]
     ] [
       fhir:system [ fhir:v "http://hl7.org/fhir/flagCategory"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "1.0.2" ] ;
       fhir:code [ fhir:v "ADV" ] ;
       fhir:display [ fhir:v "Advance Directive" ]
     ] [
       fhir:system [ fhir:v "http://hl7.org/fhir/flagCategory"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "1.0.2" ] ;
       fhir:code [ fhir:v "OT" ] ;
       fhir:display [ fhir:v "Other" ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

