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 [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<div>\n    <table class=\"grid dict\">\n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">ChronicDSDepressionScreeningandFollowUp</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"PlanDefinition-ChronicDSDepressionScreeningandFollowUp.html\">Chronic Disease Surveillance Reporting Specification for Preventive Care and Screening: Screening for Depression and Follow-Up Plan</a></td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">0.1.0</td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">Chronic Disease Surveillance Reporting Specification for Preventive Care and Screening: Screening for Depression and Follow-Up Plan</td>\n        </tr>\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Experimental: </b></th>\n            <td style=\"padding-left: 4px;\">true</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span><a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-plan-definition-type.html\">http://terminology.hl7.org/CodeSystem/plan-definition-type</a></span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>workflow-definition</span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>display: </b> <span>Workflow Definition</span>\n                        </p>\n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2025-09-25</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">Clinical Quality Framework</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Description: </b></th>\n            <td style=\"padding-left: 4px;\"><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        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Jurisdiction: </b></th>\n            <td style=\"padding-left: 4px;\">001</td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Effective Period: </b></th>\n            <td style=\"padding-left: 4px;\">2024-01-01..</td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Libraries: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    \n                    <tr>\n                        <td><a href=\"Library-DepressionScreeningandFollowUp.html\">DepressionScreeningandFollowUp</a></td>\n                    </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Actions: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    \n                    <tr>\n                        <td>\n                            \n                            Start the reporting workflow in response to an encounter-end event\n                            \n                            <br/>\n                            \n                            <b>When:</b>\n                            \n                            <i>Named Event:</i> encounter-close\n                            <br/>\n                            \n                            \n                            \n                            \n                            \n                            \n                        </td>\n                    </tr>\n                    \n                    <tr>\n                        <td>\n                            \n                            Check Reportable\n                            \n                            <br/>\n                            \n                            \n                            \n                            <b>Then:</b>\n                            <table class=\"grid-dict\">\n                                \n                                <tr>\n                                    <td>\n                                        \n                                        Check Trigger Codes based on RCTC Value sets.\n                                        \n                                        <br/>\n                                        \n                                        \n                                        <b>If:</b>\n                                        \n                                        <i>Applicability:</i>\n                                        \n                                        <i>(%observation.exists())</i>\n                                        <br/>\n                                        \n                                        \n                                        \n                                        \n                                        \n                                    </td>\n                                </tr>\n                                \n                            </table>\n                            \n                        </td>\n                    </tr>\n                    \n                    <tr>\n                        <td>\n                            \n                            Evaluate measure\n                            \n                            <br/>\n                            \n                            \n                            \n                            \n                            <b>Then:</b> <i>Definition:</i> <a href=\"Measure-DepressionScreeningandFollowUp.html\">Preventive Care and Screening: Screening for Depression and Follow-Up Plan</a><br/>\n                            \n                            \n                            \n                        </td>\n                    </tr>\n                    \n                    <tr>\n                        <td>\n                            \n                            Report Chronic Disease Surveillance\n                            \n                            <br/>\n                            \n                            \n                            <b>If:</b>\n                            \n                            <i>Applicability:</i>\n                            \n                            <i>(%measurereport.exists() and %measurereport.group.select(population).where(code.coding.code = 'denominator' and count &gt; 0).exists())</i>\n                            <br/>\n                            \n                            \n                            \n                            <b>Then:</b>\n                            <table class=\"grid-dict\">\n                                \n                                <tr>\n                                    <td>\n                                        \n                                        <b> :</b>\n                                        \n                                        \n                                        <br/>\n                                        \n                                        \n                                        \n                                        <b>Then:</b> <i>Additional sub-actions not displayed</i>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td>\n                                        \n                                        Validate eICR\n                                        \n                                        <br/>\n                                        \n                                        \n                                        \n                                        \n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td>\n                                        \n                                        Submit eICR\n                                        \n                                        <br/>\n                                        \n                                        \n                                        \n                                        \n                                        \n                                    </td>\n                                </tr>\n                                \n                            </table>\n                            \n                        </td>\n                    </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n    </table>\n</div>\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:l <http://terminology.hl7.org/CodeSystem/library-type>         ] ;
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:l <http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo?version=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:l <http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements>     ] ;
fhir:value [
a fhir:Canonical ;
fhir:v "#effective-data-requirements"^^xsd:anyURI ;
fhir:l <#effective-data-requirements>     ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem>     ] ;
fhir:value [
a fhir:Reference ;
fhir:l fhir:Device/cqf-tooling ;
fhir:reference [ fhir:v "Device/cqf-tooling" ]     ]
  ] ) ; # 
  fhir:url [
fhir:v "http://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSDepressionScreeningandFollowUp"^^xsd:anyURI ;
fhir:l <http://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSDepressionScreeningandFollowUp>
  ] ; # 
  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:l <http://terminology.hl7.org/CodeSystem/plan-definition-type>       ] ;
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:l <http://unstats.un.org/unsd/methods/m49/m49.htm>       ] ;
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:l <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:l <http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions>         ] ;
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:l <http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-named-eventtype-extension>         ] ;
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:l <http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-triggerdefinition-namedevents>             ] ;
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:l <http://unitsofmeasure.org>         ] ;
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:l <http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions>         ] ;
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:l <http://loinc.org>           ] ;
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:l <http://loinc.org>           ] ;
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:l <http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions>           ] ;
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:l <http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions>         ] ;
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:l <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:l <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:l <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:l <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:l <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:l <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:l <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:l <http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions>         ] ;
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:l <http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions>             ] ;
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:l <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:l <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:l <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:l <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:l <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:l <http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension>             ] ;
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:l <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:l <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:l <http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions>           ] ;
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:l <http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension>           ] ;
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:l <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:l <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:l <http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions>           ] ;
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:l <http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension>           ] ;
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:l <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:l <http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle>         ] )       ] )     ] )
  ] ) . #