Your User Friendly Name for MyContentIG Here
0.5.3 - CI Build

Your User Friendly Name for MyContentIG Here, published by HL7 International - [Some] Work Group. This guide is not an authorized publication; it is the continuous build for version 0.5.3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/sample-content-ig/ and changes regularly. See the Directory of published versions

## : Patient Health Questionnaire (PHQ-9) - TTL Representation

Draft as of 2025-12-10

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix loinc: <https://loinc.org/rdf/> .
    @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:Questionnaire ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "phq-9-questionnaire"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-questionnaire"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-questionnaire>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">PHQ-9 Questionnaire with dynamic logic</div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-library"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-library>     ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://somewhere.org/fhir/uv/mycontentig/Library/PHQ9LogicExample"^^xsd:anyURI ;
    fhir:l <http://somewhere.org/fhir/uv/mycontentig/Library/PHQ9LogicExample>     ]
      ] ) ; #
      fhir:url [
    fhir:v "http://somewhere.org/fhir/uv/mycontentig/Questionnaire/phq-9-questionnaire"^^xsd:anyURI ;
    fhir:l <http://somewhere.org/fhir/uv/mycontentig/Questionnaire/phq-9-questionnaire>
      ] ; #
      fhir:identifier ( [
    fhir:use [ fhir:v "official" ] ;
    fhir:value [ fhir:v "phq-9" ]
      ] ) ; #
      fhir:version [ fhir:v "0.5.3"] ; #
      fhir:title [ fhir:v "Patient Health Questionnaire (PHQ-9)"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:subjectType ( [ fhir:v "Patient"] ) ; #
      fhir:date [ fhir:v "2025-12-10T03:14:19+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "HL7 International - [Some] Work Group"] ; #
      fhir:contact ( [
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://hl7.org/Special/committees/[something]" ]     ] )
      ] ) ; #
      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:code ( [
    a loinc:44249-1 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>     ] ;
    fhir:code [ fhir:v "44249-1" ] ;
    fhir:display [ fhir:v "PHQ-9 quick depression assessment panel [Reported.PHQ]" ]
      ] ) ; #
      fhir:item ( [
    fhir:linkId [ fhir:v "LittleInterest" ] ;
        ( fhir:code [
    a loinc:44250-9 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "44250-9" ]     ] ) ;
    fhir:text [ fhir:v "Little interest or pleasure in doing things" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:required [ fhir:v true ] ;
    fhir:answerValueSet [
    fhir:v "http://loinc.org/vs/LL358-3"^^xsd:anyURI ;
    fhir:l <http://loinc.org/vs/LL358-3>     ]
      ] [
    fhir:linkId [ fhir:v "FeelingDown" ] ;
        ( fhir:code [
    a loinc:44255-8 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "44255-8" ]     ] ) ;
    fhir:text [ fhir:v "Feeling down, depressed, or hopeless" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:required [ fhir:v true ] ;
    fhir:answerValueSet [
    fhir:v "http://loinc.org/vs/LL358-3"^^xsd:anyURI ;
    fhir:l <http://loinc.org/vs/LL358-3>     ]
      ] [
    fhir:linkId [ fhir:v "TroubleSleeping" ] ;
        ( fhir:code [
    a loinc:44259-0 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "44259-0" ]     ] ) ;
    fhir:text [ fhir:v "Trouble falling or staying asleep" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:required [ fhir:v true ] ;
    fhir:answerValueSet [
    fhir:v "http://loinc.org/vs/LL358-3"^^xsd:anyURI ;
    fhir:l <http://loinc.org/vs/LL358-3>     ]
      ] [
    fhir:linkId [ fhir:v "FeelingTired" ] ;
        ( fhir:code [
    a loinc:44254-1 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "44254-1" ]     ] ) ;
    fhir:text [ fhir:v "Feeling tired or having little energy" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:required [ fhir:v true ] ;
    fhir:answerValueSet [
    fhir:v "http://loinc.org/vs/LL358-3"^^xsd:anyURI ;
    fhir:l <http://loinc.org/vs/LL358-3>     ]
      ] [
    fhir:linkId [ fhir:v "BadAppetite" ] ;
        ( fhir:code [
    a loinc:44251-7 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "44251-7" ]     ] ) ;
    fhir:text [ fhir:v "Poor appetite or overeating" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:required [ fhir:v true ] ;
    fhir:answerValueSet [
    fhir:v "http://loinc.org/vs/LL358-3"^^xsd:anyURI ;
    fhir:l <http://loinc.org/vs/LL358-3>     ]
      ] [
    fhir:linkId [ fhir:v "FeelingBadAboutSelf" ] ;
        ( fhir:code [
    a loinc:44258-2 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "44258-2" ]     ] ) ;
    fhir:text [ fhir:v "Feeling bad about yourself - or that you are a failure or have let yourself or your family down" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:required [ fhir:v true ] ;
    fhir:answerValueSet [
    fhir:v "http://loinc.org/vs/LL358-3"^^xsd:anyURI ;
    fhir:l <http://loinc.org/vs/LL358-3>     ]
      ] [
    fhir:linkId [ fhir:v "TroubleConcentrating" ] ;
        ( fhir:code [
    a loinc:44252-5 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "44252-5" ]     ] ) ;
    fhir:text [ fhir:v "Trouble concentrating on things, such as reading the newspaper or watching television" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:required [ fhir:v true ] ;
    fhir:answerValueSet [
    fhir:v "http://loinc.org/vs/LL358-3"^^xsd:anyURI ;
    fhir:l <http://loinc.org/vs/LL358-3>     ]
      ] [
    fhir:linkId [ fhir:v "MovingSpeaking" ] ;
        ( fhir:code [
    a loinc:44253-3 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "44253-3" ]     ] ) ;
    fhir:text [ fhir:v "Moving or speaking so slowly that other people could have noticed. Or the opposite - being so fidgety or restless that you have been moving around a lot more than usual" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:required [ fhir:v true ] ;
    fhir:answerValueSet [
    fhir:v "http://loinc.org/vs/LL358-3"^^xsd:anyURI ;
    fhir:l <http://loinc.org/vs/LL358-3>     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-expression"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/cqf-expression>       ] ;
    fhir:value [
    a fhir:Expression ;
    fhir:language [ fhir:v "text/cql" ] ;
    fhir:expression [ fhir:v "CalculateTotalScore" ]       ]     ] ) ;
    fhir:linkId [ fhir:v "TotalScore" ] ;
        ( fhir:code [
    a loinc:44261-6 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "44261-6" ]     ] ) ;
    fhir:text [ fhir:v "Total score" ] ;
    fhir:type [ fhir:v "integer" ] ;
    fhir:required [ fhir:v true ]
      ] [
    fhir:linkId [ fhir:v "Difficulty" ] ;
        ( fhir:code [
    a loinc:44256-6 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "44256-6" ]     ] ) ;
    fhir:text [ fhir:v "If you checked off any problems, how difficult have these problems made it for you to do your work, take care of things at home, or get along with other people" ] ;
    fhir:type [ fhir:v "choice" ] ;
    fhir:required [ fhir:v true ] ;
    fhir:answerValueSet [
    fhir:v "http://loinc.org/vs/LL358-3"^^xsd:anyURI ;
    fhir:l <http://loinc.org/vs/LL358-3>     ]
      ] ) . #