Preventive Care Guidelines IG
1.0.0 - CI Build

Preventive Care Guidelines IG - Local Development build (v1.0.0). See the Directory of published versions

## : - XML Representation

Raw xml | Download

    <Library xmlns="http://hl7.org/fhir">
      <id value="library-PreventiveCareHooks"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><h2>Related Artifacts</h2><table class="grid"><tr><td>depends-on</td><td>FHIR model information</td><td><code>http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</code></td></tr><tr><td>depends-on</td><td>Library Screening</td><td><a href="Library-library-ProstateCancerScreening.html">ProstateCancerScreening (version 1.0.0)</a></td></tr><tr><td>depends-on</td><td>Library Summary</td><td><a href="Library-library-ProstateCancerSummary.html">ProstateCancerSummary (version 1.0.0)</a></td></tr><tr><td>depends-on</td><td>Library C3F</td><td><a href="Library-library-CDSConnectCommons.html">CDSConnectCommons (version 1.0.0)</a></td></tr><tr><td>depends-on</td><td>Library PCC</td><td><a href="Library-library-PreventiveCareConcepts.html">PreventiveCareConcepts (version 1.0.0)</a></td></tr><tr><td>depends-on</td><td>Library FHIRHelpers</td><td><code>http://hl7.org/fhir/Library/FHIRHelpers|4.0.1</code></td></tr><tr><td>depends-on</td><td>Library PCS</td><td><a href="Library-library-ProstateCancerScreening.html">ProstateCancerScreening (version 1.0.0)</a></td></tr><tr><td>depends-on</td><td>Library Data</td><td><a href="Library-library-PreventiveCareData.html">PreventiveCareData (version 1.0.0)</a></td></tr><tr><td>depends-on</td><td>Value set Prostate Specific Antigen Test</td><td><a href="ValueSet-2.16.840.1.113883.3.526.2.215.html">Prostate Specific Antigen Test</a></td></tr></table><h2>Parameters</h2><table class="grid"><tr><td>Patient</td><td>out</td><td>0</td><td>1</td><td>Patient</td></tr><tr><td>Age Between 40 and 70</td><td>out</td><td>0</td><td>1</td><td>boolean</td></tr><tr><td>Needs Prostate Cancer Screening</td><td>out</td><td>0</td><td>1</td><td>boolean</td></tr><tr><td>Needs Prostate Cancer Screening Summary</td><td>out</td><td>0</td><td>1</td><td>string</td></tr><tr><td>Needs Prostate Cancer Screening Detail</td><td>out</td><td>0</td><td>1</td><td>string</td></tr><tr><td>Needs Prostate Cancer Screening Indicator</td><td>out</td><td>0</td><td>1</td><td>string</td></tr></table><h2>Data Requirements</h2><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/patient.html">Patient</a> (<a href="http://hl7.org/fhir/R4/patient.html">Patient</a>)</td></tr></table><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a> (<a href="http://hl7.org/fhir/R4/observation.html">Observation</a>)</td></tr><tr style="background-color: #efefef"><td>Filter</td><td>Value</td></tr><tr><td>code</td><td>In ValueSet <a href="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.215">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.215</a></td></tr></table><h2>Contents</h2><p><code>text/cql</code></p><pre><code class="language-sql">// # Introduction

    // CDS Hooks logic for use with CQF Ruler

    library PreventiveCareHooks version '1.0.0'

    // # Data model #

    using FHIR version '4.0.1'

    // # Referenced libraries #

    include ProstateCancerScreening version '1.0.0' called Screening
    include ProstateCancerSummary version '1.0.0' called Summary

    // # CDS logic #

    context Patient

    /*
     * Expressions for CDS Hook cards.
     */

    // Used to trigger presentation of recommendations
    define "Age Between 40 and 70":
      AgeInYears() between 40 and 70

    define "Needs Prostate Cancer Screening":
      "Age Between 40 and 70" and
      (Screening."No PSA test results"
        or (Screening."Last PSA value is high" and not Screening."Has PSA within one year")
        or not Screening."Has PSA within two years"
      )

    define "Needs Prostate Cancer Screening Summary":
      'Prostate Cancer Screening'

    define "Needs Prostate Cancer Screening Detail":
      Summary."MI PSA Date 1" + ' ' + Summary."PSA value 1"

    define "Needs Prostate Cancer Screening Indicator":
      if Screening."Last PSA value is high" then 'critical'
      else 'warning'
    </code></pre><p><code>Content not shown - (</code><code>application/elm+xml</code>, size = 12Kb)</p></div>
      </text>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem">
        <valueReference>
          <reference value="cqf-tooling"/>
        </valueReference>
      </extension>
      <url
           value="http://fhir.org/guides/preventive-care/Library/PreventiveCareHooks"/>
      <version value="1.0.0"/>
      <name value="PreventiveCareHooks"/>
      <status value="draft"/>
      <date value="2021-09-03T16:48:06+00:00"/>
      <publisher value="U.S. Preventive Services Task Force (USPSTF)"/>
      <contact>
        <telecom>
          <system value="url"/>
          <value value="https://www.uspreventiveservicestaskforce.org/uspstf/"/>
        </telecom>
      </contact>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="001"/>
        </coding>
      </jurisdiction>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="FHIR model information"/>
        <resource
                  value="http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library Screening"/>
        <resource
                  value="http://fhir.org/guides/preventive-care/Library/ProstateCancerScreening|1.0.0"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library Summary"/>
        <resource
                  value="http://fhir.org/guides/preventive-care/Library/ProstateCancerSummary|1.0.0"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library C3F"/>
        <resource
                  value="http://fhir.org/guides/preventive-care/Library/CDSConnectCommons|1.0.0"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library PCC"/>
        <resource
                  value="http://fhir.org/guides/preventive-care/Library/PreventiveCareConcepts|1.0.0"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource value="http://hl7.org/fhir/Library/FHIRHelpers|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library PCS"/>
        <resource
                  value="http://fhir.org/guides/preventive-care/Library/ProstateCancerScreening|1.0.0"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library Data"/>
        <resource
                  value="http://fhir.org/guides/preventive-care/Library/PreventiveCareData|1.0.0"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Prostate Specific Antigen Test"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.215"/>
      </relatedArtifact>
      <parameter>
        <name value="Patient"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Patient"/>
      </parameter>
      <parameter>
        <name value="Age Between 40 and 70"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Needs Prostate Cancer Screening"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Needs Prostate Cancer Screening Summary"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="string"/>
      </parameter>
      <parameter>
        <name value="Needs Prostate Cancer Screening Detail"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="string"/>
      </parameter>
      <parameter>
        <name value="Needs Prostate Cancer Screening Indicator"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="string"/>
      </parameter>
      <dataRequirement>
        <type value="Patient"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.215"/>
        </codeFilter>
      </dataRequirement>
      <content>
        <contentType value="text/cql"/>
        <data
              value=" "/>
      </content>
      <content>
        <contentType value="application/elm+xml"/>
        <data
              value=" "/>
      </content>
    </Library>