@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/uv/xver/CodeSystem/flag-category> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "flag-category"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This code system http://terminology.hl7.org/CodeSystem/flag-category defines the following codes:</p>\n            <table class=\"codes\">\n              <tr>\n                <td style=\"white-space:nowrap\">\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">diet\n                  <a name=\"flag-category-diet\"> </a>\n                </td>\n                <td>Diet</td>\n                <td>Flags related to the subject's dietary needs.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">drug\n                  <a name=\"flag-category-drug\"> </a>\n                </td>\n                <td>Drug</td>\n                <td>Flags related to the subject's medications.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">lab\n                  <a name=\"flag-category-lab\"> </a>\n                </td>\n                <td>Lab</td>\n                <td>Flags related to performing laboratory tests and related processes (e.g. phlebotomy).</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">admin\n                  <a name=\"flag-category-admin\"> </a>\n                </td>\n                <td>Administrative</td>\n                <td>Flags related to administrative and financial processes.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">contact\n                  <a name=\"flag-category-contact\"> </a>\n                </td>\n                <td>Subject Contact</td>\n                <td>Flags related to coming into contact with the patient.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">clinical\n                  <a name=\"flag-category-clinical\"> </a>\n                </td>\n                <td>Clinical</td>\n                <td>Flags related to the subject's clinical data.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">behavioral\n                  <a name=\"flag-category-behavioral\"> </a>\n                </td>\n                <td>Behavioral</td>\n                <td>Flags related to behavior.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">research\n                  <a name=\"flag-category-research\"> </a>\n                </td>\n                <td>Research</td>\n                <td>Flags related to research.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">advance-directive\n                  <a name=\"flag-category-advance-directive\"> </a>\n                </td>\n                <td>Advance Directive</td>\n                <td>Flags related to subject's advance directives.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">safety\n                  <a name=\"flag-category-safety\"> </a>\n                </td>\n                <td>Safety</td>\n                <td>Flags related to safety precautions.</td>\n              </tr>\n            </table>\n          </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "packageId"^^xsd:anyURI ;
         fhir:l fhir:packageId
       ] ;
       fhir:value [
         a fhir:Id ;
         fhir:v "hl7.fhir.uv.xver-r4b.r5"
       ]
     ] [
       fhir:url [
         fhir:v "version"^^xsd:anyURI ;
         fhir:l fhir:version
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "0.1.0"
       ]
     ] [
       fhir:url [
         fhir:v "uri"^^xsd:anyURI ;
         fhir:l fhir:uri
       ] ;
       fhir:value [
         a fhir:Uri ;
         fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r5"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r5>
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/package-source>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "pc"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://terminology.hl7.org/CodeSystem/flag-category"^^xsd:anyURI ;
     fhir:l <http://terminology.hl7.org/CodeSystem/flag-category>
  ] ; # 
  fhir:version [ fhir:v "4.3.0"] ; # 
  fhir:name [ fhir:v "FlagCategory"] ; # 
  fhir:title [ fhir:v "Flag Category"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-03-20T14:38:32+11:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Patient Care"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Patient Care" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/patientcare" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Example list of detail codes for flagged issues. (Not complete or necessarily appropriate.)"] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/flag-category|5.0.0"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/flag-category?version=5.0.0>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "diet" ] ;
     fhir:display [ fhir:v "Diet" ] ;
     fhir:definition [ fhir:v "Flags related to the subject's dietary needs." ]
  ] [
     fhir:code [ fhir:v "drug" ] ;
     fhir:display [ fhir:v "Drug" ] ;
     fhir:definition [ fhir:v "Flags related to the subject's medications." ]
  ] [
     fhir:code [ fhir:v "lab" ] ;
     fhir:display [ fhir:v "Lab" ] ;
     fhir:definition [ fhir:v "Flags related to performing laboratory tests and related processes (e.g. phlebotomy)." ]
  ] [
     fhir:code [ fhir:v "admin" ] ;
     fhir:display [ fhir:v "Administrative" ] ;
     fhir:definition [ fhir:v "Flags related to administrative and financial processes." ]
  ] [
     fhir:code [ fhir:v "contact" ] ;
     fhir:display [ fhir:v "Subject Contact" ] ;
     fhir:definition [ fhir:v "Flags related to coming into contact with the patient." ]
  ] [
     fhir:code [ fhir:v "clinical" ] ;
     fhir:display [ fhir:v "Clinical" ] ;
     fhir:definition [ fhir:v "Flags related to the subject's clinical data." ]
  ] [
     fhir:code [ fhir:v "behavioral" ] ;
     fhir:display [ fhir:v "Behavioral" ] ;
     fhir:definition [ fhir:v "Flags related to behavior." ]
  ] [
     fhir:code [ fhir:v "research" ] ;
     fhir:display [ fhir:v "Research" ] ;
     fhir:definition [ fhir:v "Flags related to research." ]
  ] [
     fhir:code [ fhir:v "advance-directive" ] ;
     fhir:display [ fhir:v "Advance Directive" ] ;
     fhir:definition [ fhir:v "Flags related to subject's advance directives." ]
  ] [
     fhir:code [ fhir:v "safety" ] ;
     fhir:display [ fhir:v "Safety" ] ;
     fhir:definition [ fhir:v "Flags related to safety precautions." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

