@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSDiabetesPoorControl> a fhir:PlanDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ChronicDSDiabetesPoorControl"] ; # 
  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;\">ChronicDSDiabetesPoorControl</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-ChronicDSDiabetesPoorControl.html\">Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control</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 Diabetes Hemoglobin A1c Poor Control</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.1.0/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 08:40:03-0500</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 Diabetes Hemoglobin A1c Poor Control</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;\">2021-06-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-DiabetesHemoglobinA1cHbA1cPoorControl9FHIR.html\">DiabetesHemoglobinA1cHbA1cPoorControl9FHIR</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-end\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>(%conditions.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-DiabetesHemoglobinA1cHbA1cPoorControl9FHIR.html\">Diabetes: Hemoglobin A1c (HbA1c) Poor Control (&gt; 9%)FHIR</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.where(code = 'denominator').exists() 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                                        Create eICR\n                                        \n                                        <br/>\n                                        \n                                        \n                                        \n                                        \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 <http://fhir.org/guides/cqf/aphl/chronic-ds/Device/cqf-tooling> ;
       fhir:reference [ fhir:v "Device/cqf-tooling" ]
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSDiabetesPoorControl"^^xsd:anyURI ;
     fhir:l <http://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSDiabetesPoorControl>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "ChronicDSDiabetesPoorControl"] ; # 
  fhir:title [ fhir:v "Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control"] ; # 
  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:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2025-09-25T08:40:03.823-05:00"^^xsd:dateTime] ; # 
  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 Diabetes Hemoglobin A1c Poor Control"] ; # 
  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 "2021-06-01"^^xsd:date ]
  ] ; # 
  fhir:library ( [
     fhir:v "http://fhir.org/guides/cqf/aphl/chronic-ds/Library/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR"^^xsd:anyURI ;
     fhir:l <http://fhir.org/guides/cqf/aphl/chronic-ds/Library/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR>
  ] ) ; # 
  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-end" ] ;
       fhir:type [ fhir:v "named-event" ] ;
       fhir:name [ fhir:v "encounter-end" ]
     ] ) ;
     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: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 "%conditions.exists()" ]
         ]
       ] ) ;
       fhir:input ( [
         fhir:id [ fhir:v "conditions" ] ;
         fhir:type [ fhir:v "Condition" ] ;
         fhir:codeFilter ( [
           fhir:path [ fhir:v "code" ] ;
           fhir:valueSet [
             fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001"^^xsd:anyURI ;
             fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001>
           ]
         ] )
       ] ) ;
       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:id [ fhir:v "conditions" ] ;
       fhir:type [ fhir:v "Condition" ]
     ] [
       fhir:id [ fhir:v "encounter" ] ;
       fhir:type [ fhir:v "Encounter" ]
     ] [
       fhir:id [ fhir:v "mr" ] ;
       fhir:type [ fhir:v "MedicationRequest" ]
     ] [
       fhir:id [ fhir:v "obs" ] ;
       fhir:type [ fhir:v "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/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR"^^xsd:anyURI ;
       fhir:l <http://fhir.org/guides/cqf/aphl/chronic-ds/Measure/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR>
     ]
  ] [
     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.where(code = 'denominator').exists() and count > 0).exists()" ]
       ]
     ] ) ;
     fhir:input ( [
       fhir:id [ fhir:v "measurereport" ] ;
       fhir:type [ fhir:v "MeasureReport" ]
     ] ) ;
     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:id [ fhir:v "conditions" ] ;
         fhir:type [ fhir:v "Condition" ]
       ] [
         fhir:id [ fhir:v "encounter" ] ;
         fhir:type [ fhir:v "Encounter" ]
       ] [
         fhir:id [ fhir:v "mr" ] ;
         fhir:type [ fhir:v "MedicationRequest" ]
       ] [
         fhir:id [ fhir:v "obs" ] ;
         fhir:type [ fhir:v "Observation" ]
       ] [
         fhir:id [ fhir:v "measurereport" ] ;
         fhir:type [ fhir:v "MeasureReport" ]
       ] ) ;
       fhir:output ( [
         fhir:id [ fhir:v "eicr-report-ChronicDSDiabetesPoorControl" ] ;
         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 "eicr-report-ChronicDSDiabetesPoorControl" ] ;
         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 "eicr-report-ChronicDSDiabetesPoorControl"
           ]
         ] ) ;
         fhir:type [ fhir:v "Bundle" ]
       ] ) ;
       fhir:output ( [
         fhir:id [ fhir:v "validated-eicr-report" ] ;
         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-report" ] ;
         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-report"
           ]
         ] ) ;
         fhir:type [ fhir:v "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>
         ] )
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

