QI-Core Implementation Guide
8.0.0-ballot - STU 8 - ballot

QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 8.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. See the Directory of published versions

## : Flag example

Page standards status: Informative

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 sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Flag ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-flag"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-flag>     ] )
      ] ; #
      fhir:language [ fhir:v "en"] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: Flag example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-flag.html\">QICore Flag</a></p></div><p><b>identifier</b>: 12345</p><p><b>status</b>: Inactive</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/flag-category admin}\">Administrative</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 165002}\">Patient is accident prone</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Peter Patient</a></p><p><b>period</b>: 2024-01-17 --&gt; 2024-12-01</p><p><b>author</b>: <a href=\"Practitioner-example.html\">Nancy Nurse</a></p></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:identifier ( [
    fhir:value [ fhir:v "12345" ]
      ] ) ; #
      fhir:status [ fhir:v "inactive"] ; #
      fhir:category ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/flag-category"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/flag-category>       ] ;
    fhir:code [ fhir:v "admin" ] ;
    fhir:display [ fhir:v "Administrative" ]     ] )
      ] ) ; #
      fhir:code [
        ( fhir:coding [
    a sct:165002 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>       ] ;
    fhir:code [ fhir:v "165002" ] ;
    fhir:display [ fhir:v "Accident-prone" ]     ] ) ;
    fhir:text [ fhir:v "Patient is accident prone" ]
      ] ; #
      fhir:subject [
    fhir:l fhir:Patient/example ;
    fhir:reference [ fhir:v "Patient/example" ] ;
    fhir:display [ fhir:v "Peter Patient" ]
      ] ; #
      fhir:period [
    fhir:start [ fhir:v "2024-01-17"^^xsd:date ] ;
    fhir:end [ fhir:v "2024-12-01"^^xsd:date ]
      ] ; #
      fhir:author [
    fhir:l fhir:Practitioner/example ;
    fhir:reference [ fhir:v "Practitioner/example" ] ;
    fhir:display [ fhir:v "Nancy Nurse" ]
      ] . #