Chronic Disease Surveillance
0.1.0 - CI Build International flag

Chronic Disease Surveillance, published by Clinical Quality Framework. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/aphl-chronic-ig/ and changes regularly. See the Directory of published versions

: Chronic Disease Surveillance Reporting Specification for Preventive Care and Screening: Screening for Depression and Follow-Up Plan - TTL Representation

Active as of 2025-09-25

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:PlanDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ChronicDSDepressionScreeningandFollowUp"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <table class=\"narrative-table\">\n    <tbody>\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Metadata</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Title</th>\n\n\n\n<td class=\"content-container\">Chronic Disease Surveillance Reporting Specification for Preventive Care and Screening: Screening for Depression and Follow-Up Plan</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Version</th>\n\n\n\n<td class=\"content-container\">0.1.0</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n  \n    \n    \n  \n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n\n\n<td class=\"content-container\">true</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Jurisdiction</th>\n\n\n\n<td class=\"content-container\">\n    001 from <a href=\"http://unstats.un.org/unsd/methods/m49/m49.htm\">http://unstats.un.org/unsd/methods/m49/m49.htm</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Steward (Publisher)</th>\n\n\n\n<td class=\"content-container\">Clinical Quality Framework</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\"><div><p>Reporting specification for Chronic Disease Surveillance for Preventive Care and Screening: Screening for Depression and Follow-Up Plan</p>\n</div></td>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Type</th>\n\n\n\n<td class=\"content-container\">Workflow Definition\n</td>\n\n\n</tr>\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">start</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the start of the reporting workflow in response to the encounter-end event</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Start the reporting workflow in response to an encounter-end event</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    initiate-reporting-workflow from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Trigger Type</th>\n\n\n\n<td class=\"content-container\">Named Event</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Trigger Name</th>\n\n\n\n<td class=\"content-container\">encounter-close</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">check-reportable</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the check for reportability of the surveillance event.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Check Reportable</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    execute-reporting-workflow from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Observation\n    <br/>\n   \n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n  \n    <span class=\"tab-one\"><em>Code(s)</em>: \n    \n      \n      <a href=\"https://loinc.org/73831-0\">LOINC 73831-0</a>: Adolescent Depression Screening Assessment\n      \n    \n    </span>\n    <br/>\n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Observation\n    <br/>\n   \n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n  \n    <span class=\"tab-one\"><em>Code(s)</em>: \n    \n      \n      <a href=\"https://loinc.org/73832-8\">LOINC 73832-8</a>: Adult Depression Screening Assessment\n      \n    \n    </span>\n    <br/>\n  \n  \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n  \n    \n      \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action (Parent Action ID: check-reportable)</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">ckr-is-encounter-reportable</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the check for reportability to create the patients eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Check Trigger Codes based on RCTC Value sets.</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    check-trigger-codes from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Condition</th>\n  <td class=\"content-container\">\n  <em>Kind</em>: Applicability\n  \n    <br/>\n    \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n    \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">ckr-is-encounter-reportable</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the check for reportability to create the patients eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Check Trigger Codes based on RCTC Value sets.</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    check-trigger-codes from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Condition</th>\n  <td class=\"content-container\">\n  <em>Kind</em>: Applicability\n  \n    <br/>\n    \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n  \n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">evaluate-measure</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the evaluation of the measure.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Evaluate measure</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    evaluate-measure from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Patient\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-patient.html\">US Core Patient Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Condition\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-condition.html\">US Core Condition Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Encounter\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-encounter.html\">US Core Encounter Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MedicationRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Observation\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MeasureReport\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/MeasureReport</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Definition</th>\n\n\n\n<td class=\"content-container\"><a href=\"Measure-DepressionScreeningandFollowUp.html\">Preventive Care and Screening: Screening for Depression and Follow-Up Plan</a></td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">report-ds</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the reporting of the Chronic Disease Surveillance event.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Report Chronic Disease Surveillance</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    execute-reporting-workflow from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Condition</th>\n  <td class=\"content-container\">\n  <em>Kind</em>: Applicability\n  \n    <br/>\n    \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n  \n    \n      \n      \n\n  \n    \n    \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">create-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action invokes the creation of the eICR report.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Create eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    create-report from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Patient\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-patient.html\">US Core Patient Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Condition\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-condition.html\">US Core Condition Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Encounter\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-encounter.html\">US Core Encounter Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MedicationRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Observation\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MeasureReport\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/MeasureReport</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n  \n\n    \n    \n      \n\n  \n    \n    \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">create-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action invokes the creation of the eICR report.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Create eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    create-report from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Patient\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-patient.html\">US Core Patient Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Condition\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-condition.html\">US Core Condition Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Encounter\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-encounter.html\">US Core Encounter Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MedicationRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Observation\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MeasureReport\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/MeasureReport</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n  \n\n    \n  \n    \n      \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action (Parent Action ID: report-ds)</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">validate-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the validation of the eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Validate eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    validate-report from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n    \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">validate-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the validation of the eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Validate eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    validate-report from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n  \n    \n      \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action (Parent Action ID: report-ds)</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">submit-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the validation of the eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Submit eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    submit-report from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n    \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">submit-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the validation of the eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Submit eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    submit-report from <a href=\"http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions\">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n  \n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Logic</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Primary Library</th>\n\n\n\n<td class=\"content-container\"><a href=\"Library-DepressionScreeningandFollowUp.html\">DepressionScreeningandFollowUp</a></td>\n\n\n</tr>\n\n\n\n\n  \n  \n\n<tr>\n  \n  \n  \n  \n  \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: FHIR model information\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <code>http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</code>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</tt>\n    \n    \n    \n  </td>\n</tr>\n\n\n  \n  \n  \n  \n  \n  <tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n</tr>\n<tr>\n\n</tr>\n\n  \n\n<tr>\n  <th colspan=\"2\" scope=\"row\" class=\"row-header\">Generated using version 0.5.1-cibuild of the sample-content-ig Liquid templates</th>\n</tr>\n\n    </tbody>\n  </table>\n</div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:contained ( [
a fhir:Library ;
fhir:id [ fhir:v "effective-data-requirements" ] ;
fhir:name [ fhir:v "EffectiveDataRequirements" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "module-definition" ]       ] )     ] ;
    ( fhir:relatedArtifact [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "FHIR model information" ] ;
fhir:resource [
fhir:v "http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"^^xsd:anyURI ;
fhir:link <http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1>       ]     ] )
  ] ) ; # 
  fhir:extension ( [
fhir:id [ fhir:v "effective-data-requirements" ] ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#effective-data-requirements"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Device/cqf-tooling" ]     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSDepressionScreeningandFollowUp"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "ChronicDSDepressionScreeningandFollowUp"] ; # 
  fhir:title [ fhir:v "Chronic Disease Surveillance Reporting Specification for Preventive Care and Screening: Screening for Depression and Follow-Up Plan"] ; # 
  fhir:type [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/plan-definition-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "workflow-definition" ] ;
fhir:display [ fhir:v "Workflow Definition" ]     ] ) ;
fhir:text [ fhir:v "Workflow Definition" ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2025-09-25"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Clinical Quality Framework"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://cqframework.org" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Reporting specification for Chronic Disease Surveillance for Preventive Care and Screening: Screening for Depression and Follow-Up Plan"] ; # 
  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:effectivePeriod [
fhir:start [ fhir:v "2024-01-01"^^xsd:date ]
  ] ; # 
  fhir:library ( [
fhir:v "http://fhir.org/guides/cqf/aphl/chronic-ds/Library/DepressionScreeningandFollowUp"^^xsd:anyURI ;
fhir:link <http://fhir.org/guides/cqf/aphl/chronic-ds/Library/DepressionScreeningandFollowUp>
  ] ) ; # 
  fhir:action ( [
fhir:id [ fhir:v "start" ] ;
fhir:description [ fhir:v "This action represents the start of the reporting workflow in response to the encounter-end event" ] ;
fhir:textEquivalent [ fhir:v "Start the reporting workflow in response to an encounter-end event" ] ;
    ( fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "initiate-reporting-workflow" ]       ] )     ] ) ;
    ( fhir:trigger [
fhir:id [ fhir:v "encounter-close" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-named-eventtype-extension"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
          ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-triggerdefinition-namedevents"^^xsd:anyURI ] ;
fhir:code [ fhir:v "encounter-close" ] ;
fhir:display [ fhir:v "Indicates the closure of an encounter, where in encounter.period.high is populated with the end time." ]           ] )         ]       ] ) ;
fhir:type [ fhir:v "named-event" ] ;
fhir:name [ fhir:v "encounter-close" ]     ] ) ;
    ( fhir:relatedAction [
fhir:actionId [ fhir:v "check-reportable" ] ;
fhir:relationship [ fhir:v "before-start" ] ;
fhir:offset [
a fhir:Duration ;
fhir:value [ fhir:v "24"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "h" ]       ]     ] )
  ] [
fhir:id [ fhir:v "check-reportable" ] ;
fhir:description [ fhir:v "This action represents the check for reportability of the surveillance event." ] ;
fhir:textEquivalent [ fhir:v "Check Reportable" ] ;
    ( fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "execute-reporting-workflow" ]       ] )     ] ) ;
    ( fhir:input [
fhir:id [ fhir:v "observation" ] ;
fhir:type [ fhir:v "Observation" ] ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
        ( fhir:code [
a loinc:73831-0 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "73831-0" ] ;
fhir:display [ fhir:v "Adolescent Depression Screening Assessment" ]         ] )       ] )     ] [
fhir:id [ fhir:v "observation" ] ;
fhir:type [ fhir:v "Observation" ] ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
        ( fhir:code [
a loinc:73832-8 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "73832-8" ] ;
fhir:display [ fhir:v "Adult Depression Screening Assessment" ]         ] )       ] )     ] ) ;
    ( fhir:relatedAction [
fhir:actionId [ fhir:v "evaluate-measure" ] ;
fhir:relationship [ fhir:v "before-start" ]     ] ) ;
    ( fhir:action [
fhir:id [ fhir:v "ckr-is-encounter-reportable" ] ;
fhir:description [ fhir:v "This action represents the check for reportability to create the patients eICR." ] ;
fhir:textEquivalent [ fhir:v "Check Trigger Codes based on RCTC Value sets." ] ;
      ( fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "check-trigger-codes" ]         ] )       ] ) ;
      ( fhir:condition [
fhir:kind [ fhir:v "applicability" ] ;
fhir:expression [
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%observation.exists()" ]         ]       ] ) ;
      ( fhir:relatedAction [
fhir:actionId [ fhir:v "evaluate-measure" ] ;
fhir:relationship [ fhir:v "before-start" ]       ] )     ] )
  ] [
fhir:id [ fhir:v "evaluate-measure" ] ;
fhir:description [ fhir:v "This action represents the evaluation of the measure." ] ;
fhir:textEquivalent [ fhir:v "Evaluate measure" ] ;
    ( fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "evaluate-measure" ]       ] )     ] ) ;
    ( fhir:input [
fhir:id [ fhir:v "patient" ] ;
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>       ] )     ] [
fhir:id [ fhir:v "conditions" ] ;
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>       ] )     ] [
fhir:id [ fhir:v "encounter" ] ;
fhir:type [ fhir:v "Encounter" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>       ] )     ] [
fhir:id [ fhir:v "mr" ] ;
fhir:type [ fhir:v "MedicationRequest" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest>       ] )     ] [
fhir:id [ fhir:v "obs" ] ;
fhir:type [ fhir:v "Observation" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation>       ] )     ] ) ;
    ( fhir:output [
fhir:id [ fhir:v "measurereport" ] ;
fhir:type [ fhir:v "MeasureReport" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/MeasureReport"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/MeasureReport>       ] )     ] ) ;
    ( fhir:relatedAction [
fhir:actionId [ fhir:v "report-ds" ] ;
fhir:relationship [ fhir:v "before-start" ]     ] ) ;
fhir:definition [
a fhir:canonical ;
fhir:v "http://fhir.org/guides/cqf/aphl/chronic-ds/Measure/DepressionScreeningandFollowUp"^^xsd:anyURI ;
fhir:link <http://fhir.org/guides/cqf/aphl/chronic-ds/Measure/DepressionScreeningandFollowUp>     ]
  ] [
fhir:id [ fhir:v "report-ds" ] ;
fhir:description [ fhir:v "This action represents the reporting of the Chronic Disease Surveillance event." ] ;
fhir:textEquivalent [ fhir:v "Report Chronic Disease Surveillance" ] ;
    ( fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "execute-reporting-workflow" ]       ] )     ] ) ;
    ( fhir:condition [
fhir:kind [ fhir:v "applicability" ] ;
fhir:expression [
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%measurereport.exists() and %measurereport.group.select(population).where(code.coding.code = 'denominator' and count > 0).exists()" ]       ]     ] ) ;
    ( fhir:action [
      ( fhir:action [
fhir:id [ fhir:v "create-eicr" ] ;
fhir:description [ fhir:v "This action invokes the creation of the eICR report." ] ;
fhir:textEquivalent [ fhir:v "Create eICR" ] ;
        ( fhir:code [
          ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "create-report" ]           ] )         ] ) ;
        ( fhir:input [
fhir:id [ fhir:v "patient" ] ;
fhir:type [ fhir:v "Patient" ] ;
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>           ] )         ] [
fhir:id [ fhir:v "conditions" ] ;
fhir:type [ fhir:v "Condition" ] ;
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>           ] )         ] [
fhir:id [ fhir:v "encounter" ] ;
fhir:type [ fhir:v "Encounter" ] ;
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>           ] )         ] [
fhir:id [ fhir:v "mr" ] ;
fhir:type [ fhir:v "MedicationRequest" ] ;
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest>           ] )         ] [
fhir:id [ fhir:v "obs" ] ;
fhir:type [ fhir:v "Observation" ] ;
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation>           ] )         ] [
fhir:id [ fhir:v "generatedmeasurereport" ] ;
          ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "measurereport"             ]           ] ) ;
fhir:type [ fhir:v "MeasureReport" ] ;
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/MeasureReport"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/MeasureReport>           ] )         ] ) ;
        ( fhir:output [
fhir:id [ fhir:v "eicrbundle" ] ;
fhir:type [ fhir:v "Bundle" ] ;
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle>           ] )         ] ) ;
        ( fhir:relatedAction [
fhir:actionId [ fhir:v "validate-eicr" ] ;
fhir:relationship [ fhir:v "before-start" ]         ] )       ] )     ] [
fhir:id [ fhir:v "validate-eicr" ] ;
fhir:description [ fhir:v "This action represents the validation of the eICR." ] ;
fhir:textEquivalent [ fhir:v "Validate eICR" ] ;
      ( fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "validate-report" ]         ] )       ] ) ;
      ( fhir:input [
fhir:id [ fhir:v "createdeicrbundle" ] ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "eicrbundle"           ]         ] ) ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle>         ] )       ] ) ;
      ( fhir:output [
fhir:id [ fhir:v "validated-eicr-bundle" ] ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle>         ] )       ] ) ;
      ( fhir:relatedAction [
fhir:actionId [ fhir:v "submit-eicr" ] ;
fhir:relationship [ fhir:v "before-start" ]       ] )     ] [
fhir:id [ fhir:v "submit-eicr" ] ;
fhir:description [ fhir:v "This action represents the validation of the eICR." ] ;
fhir:textEquivalent [ fhir:v "Submit eICR" ] ;
      ( fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "submit-report" ]         ] )       ] ) ;
      ( fhir:input [
fhir:id [ fhir:v "validated-eicr-bundle-input" ] ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "validated-eicr-bundle"           ]         ] ) ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle>         ] )       ] ) ;
      ( fhir:output [
fhir:id [ fhir:v "eicr-report-submitted" ] ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle>         ] )       ] )     ] )
  ] ) . #