Quality Measure Implementation Guide (STU3)
3.0.0 - STU 3 US

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v3.0.0: STU3) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Venous Thromboembolism Prophylaxis - TTL Representation

Active as of 2022-02-22

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Measure;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "measure-vte-1-FHIR"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/measure-cqfm";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/measure-cqfm>     ], [
       fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm";
       fhir:index 1;
       fhir:link <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n    <table class=\"grid dict\">\n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">measure-vte-1-FHIR</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\">http://hl7.org/fhir/us/cqfmeasures/Measure/measure-vte-1-FHIR</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">8.2.000</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Identifier: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                \n                <p style=\"margin-bottom: 5px;\">\n                    <b>value: </b> <span>108</span>\n                </p>\n                \n            </td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Name: </b></th>\n            <td style=\"padding-left: 4px;\">VTE_1_FHIR</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">Venous Thromboembolism Prophylaxis</td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Status: </b></th>\n            <td style=\"padding-left: 4px;\">active</td>\n        </tr>\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        <tr>\n            <th scope=\"row\"><b>Scoring: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span>http://terminology.hl7.org/CodeSystem/measure-scoring</span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>proportion</span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>display: </b> <span>Proportion</span>\n                        </p>\n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Improvement Notation: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span>http://terminology.hl7.org/CodeSystem/measure-improvement-notation</span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>increase</span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>display: </b> <span>Increased score indicates improvement</span>\n                        </p>\n                        \n                    \n                \n                \n            </td>\n        </tr>\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>http://terminology.hl7.org/CodeSystem/measure-type</span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>process</span>\n                        </p>\n                        \n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2022-02-22</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">Clinical Quality Information WG</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Description: </b></th>\n            <td style=\"padding-left: 4px;\">This measure assesses the number of patients who received VTE prophylaxis or have documentation why no VTE prophylaxis was given the day of or the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission</td>\n        </tr>\n        \n        \n        \n        \n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Supplemental Data: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    <table class=\"grid-dict\">\n                        <tr><th><b>expression</b></th><th><b>system</b></th></tr>\n                        \n                        <tr>\n                            <td>SDE Ethnicity</td>\n                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>\n                        </tr>\n                        \n                        <tr>\n                            <td>SDE Payer</td>\n                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>\n                        </tr>\n                        \n                        <tr>\n                            <td>SDE Race</td>\n                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>\n                        </tr>\n                        \n                        <tr>\n                            <td>SDE Sex</td>\n                            <td>http://terminology.hl7.org/CodeSystem/measure-data-usage</td>\n                        </tr>\n                        \n                    </table>\n                </td>\n            </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Use Context: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    <tr><th><b>code</b></th><th><b>value</b></th></tr>\n                    \n                      <tr>\n                        <td>program</td>\n                        <td></td>\n                      </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Jurisdiction: </b></th>\n            <td style=\"padding-left: 25px;\">US</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Topic: </b></th>\n            <td style=\"padding-left: 25px;\">57024-2</td>\n        </tr>\n        \n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Copyright: </b></th>\n            <td style=\"padding-left: 25px;\">Measure specifications are in the Public Domain.\n\nLOINC(R) is a registered trademark of the Regenstrief Institute.\n\nThis material contains SNOMED Clinical Terms(R) (SNOMED CT(C)) copyright 2004-2017 International Health Terminology Standards Development Organization. All rights reserved.</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Disclaimer: </b></th>\n            <td style=\"padding-left: 25px;\">These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. The measures and specifications are provided without warranty</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Approval Date: </b></th>\n            <td style=\"padding-left: 4px;\">2019-03-08</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Last Review Date: </b></th>\n            <td style=\"padding-left: 4px;\">2019-03-08</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Effective Period: </b></th>\n            <td style=\"padding-left: 4px;\">2018-01-01..2018-12-31</td>\n        </tr>\n        \n        \n        \n        \n        \n        \n    </table>\n</div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Library;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "effective-data-requirements" ];
     fhir:DomainResource.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
         fhir:Coding.code [ fhir:value "active" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
         fhir:Coding.code [ fhir:value "recurrence" ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
         fhir:Coding.code [ fhir:value "relapse" ]       ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
         fhir:Coding.code [ fhir:value "inactive" ]       ]     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
         fhir:Coding.code [ fhir:value "remission" ]       ]     ], [
       fhir:index 5;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
         fhir:Coding.code [ fhir:value "resolved" ]       ]     ], [
       fhir:index 6;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode" ];
       fhir:Extension.valueCoding [
         a loinc:72136-5;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "72136-5" ];
         fhir:Coding.display [ fhir:value "Risk for venous thromboembolism" ]       ]     ], [
       fhir:index 7;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "SupplementalDataElements" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Sex" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Sex\":\n  case\n      when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n      when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n      else null\n    end" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 8;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Sex" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Sex\":\n	SDE.\"SDE Sex\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 9;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "MATGlobalCommonFunctions" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Inpatient Encounter" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Inpatient Encounter\":\n	[Encounter: \"Encounter Inpatient\"] EncounterInpatient\n		where EncounterInpatient.status = 'finished'\n		    and \"LengthInDays\"(EncounterInpatient.period) <= 120\n			and EncounterInpatient.period ends during \"Measurement Period\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "2"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 10;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Admission Without VTE or Obstetrical Conditions" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Admission Without VTE or Obstetrical Conditions\":\n	  	Global.\"Inpatient Encounter\" InpatientEncounter\n		    where not (exists (Global.EncounterDiagnosis(InpatientEncounter)) EncounterDiagnosis\n              where (EncounterDiagnosis.code in \"Obstetrics\"\n								or EncounterDiagnosis.code in \"Venous Thromboembolism\"\n								or EncounterDiagnosis.code in \"Obstetrics VTE\"\n			         )\n        )" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "3"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 11;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "// Note: added FHIRHelpers.ToDate() in R4\ndefine \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\":\n    ( Global.\"Inpatient Encounter\" InpatientEncounter\n    		with [\"Patient\"] BirthDate\n    			such that Global.\"CalendarAgeInYearsAt\"(FHIRHelpers.ToDate(BirthDate.birthDate), start of InpatientEncounter.period) >= 18\n    )\n    intersect \"Admission Without VTE or Obstetrical Conditions\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "4"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 12;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "VTE Prophylaxis by Medication Administered or Device Applied" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "// 10/29: Replaced DeviceUseStatement with Procedure with a new value set and procedure.usdCode for specifying devices\ndefine \"VTE Prophylaxis by Medication Administered or Device Applied\":\n  ( [\"MedicationAdministration\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"] VTEMedication\n      where VTEMedication.status ='completed'\n			     and VTEMedication.dosage.route in \"Subcutaneous route\"\n  )\n   union ([\"MedicationAdministration\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"] LMWH where LMWH.status = 'completed')\n    union ([\"MedicationAdministration\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"] FactorXa where FactorXa.status = 'completed')\n     union ([\"MedicationAdministration\": medication in \"Warfarin\"] Warfarin where Warfarin.status = 'completed')\n      union (\n          [\"Procedure\": \"Device Application\"] DeviceApplied\n          where DeviceApplied.status = 'complete'\n                and (DeviceApplied.usedCode in \"Intermittent pneumatic compression devices (IPC)\"\n                    or DeviceApplied.usedCode in\"Venous foot pumps (VFP)\"\n                    or DeviceApplied.usedCode in \"Graduated compression stockings (GCS)\"\n                    )\n          )" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "5"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 13;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\":\n 	( from\n   			\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n   			\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\n  		where Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed)) starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n  		return QualifyingEncounter\n 	)\n 	union (\n    from\n  			\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n  			[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n  			\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\n			where Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n				and Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed)) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n			return QualifyingEncounter\n	)" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "6"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 14;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\":\n	( from\n    		\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n  			[\"MedicationAdministration\": medication in \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\n    where FactorXaMedication.status = 'completed'\n      and Global.\"Normalize Interval\"(FactorXaMedication.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n    return QualifyingEncounter\n    )\n    union ( from\n    				  \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n      				[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n      				[\"MedicationAdministration\": medication in \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\n      			where FactorXaMedication.status = 'completed'\n                and AnesthesiaProcedure.status = 'completed'\n      			    and Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n      					and Global.\"Normalize Interval\"(FactorXaMedication.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n      			return QualifyingEncounter\n      		)" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "7"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 15;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "/*NOTE: Feedback at Digitial Quality Summit 2019 indicates verificationStatus may be difficult for implementers to retrieve\n        both condition.clinicalStatus and condition.verificationStatus = 'confirmed'\n*/\ndefine \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\":\n	( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n		with [\"Condition\": code in \"Atrial Fibrillation/Flutter\"] AtrialFibrillation\n		such that FHIRHelpers.ToConcept(AtrialFibrillation.clinicalStatus) in { Global.\"active\", Global.\"recurrence\", Global.\"relapse\" }\n			and Global.\"Normalize Interval\"(AtrialFibrillation.onset) starts on or before end of QualifyingEncounter.period\n    )\n    union ( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    				where Global.EncounterDiagnosis(QualifyingEncounter).code in \"Atrial Fibrillation/Flutter\"\n    			)\n    union ( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    				with [\"Condition\": code in \"Venous Thromboembolism\"] VTEDiagnosis\n    				such that  FHIRHelpers.ToConcept(VTEDiagnosis.clinicalStatus) in { Global.\"inactive\", Global.\"remission\", Global.\"resolved\" }\n      					//and VTEDiagnosis.verificationStatus = 'confirmed'\n    				and Global.\"Normalize Interval\"(VTEDiagnosis.onset) before start of QualifyingEncounter.period\n      		)" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "8"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 16;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\":\n	\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n	with ( [\"Procedure\": \"Hip Replacement Surgery\"]\n    			union [\"Procedure\": \"Knee Replacement Surgery\"] ) HipKneeProcedure\n	such that HipKneeProcedure.status = 'completed'\n	     and Global.\"Normalize Interval\"(HipKneeProcedure.performed) starts on or before end of QualifyingEncounter.period" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "9"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 17;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Is In Low Risk for VTE or On Anticoagulant" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Is In Low Risk for VTE or On Anticoagulant\":\n	  ( [\"Observation\": \"Risk for venous thromboembolism\"] VTERiskAssessment\n			  where VTERiskAssessment.value in \"Low Risk\"\n        and VTERiskAssessment.status in {'final','amended', 'corrected'}\n	  )\n  union ( [\"Observation\": \"INR\"] INRLabTest\n        where INRLabTest.value as Quantity > 3.0\n            and INRLabTest.status in {'final','amended', 'corrected'}\n        return \"Observation\" { id: INRLabTest.id, effective: INRLabTest.issued }\n        )\n  union ((( [\"MedicationAdministration\": \"Unfractionated Heparin\"] UnfractionatedHeparin\n          where UnfractionatedHeparin.dosage.route in \"Intravenous route\"\n         )\n         union [\"MedicationAdministration\": \"Direct Thrombin Inhibitor\"]\n         union [\"MedicationAdministration\": \"Glycoprotein IIb/IIIa Inhibitors\"] ) AnticoagulantMedication\n         where AnticoagulantMedication.status = 'complete'\n         return \"Observation\" { id: AnticoagulantMedication.id, effective: AnticoagulantMedication.effective }\n      )" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "10"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 18;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\":\n 	\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    with \"Is In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\n    such that Global.\"Normalize Interval\"(VTERiskAssessment.effective) starts during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "11"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 19;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\":\n 	from\n   		\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n   		[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n   		\"Is In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\n	where Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n 			and Global.\"Normalize Interval\"(VTERiskAssessment.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n	return QualifyingEncounter" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "12"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 20;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With Low Risk for VTE or Anticoagulant Administered" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter With Low Risk for VTE or Anticoagulant Administered\":\n   \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\"\n   	 union \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "13"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 21;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "No VTE Prophylaxis Medication Administered or Ordered" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"No VTE Prophylaxis Medication Administered or Ordered\":\n   ((	[\"MedicationAdministration\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n     union\n	    [\"MedicationAdministration\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n     union\n	    [\"MedicationAdministration\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n     union\n	    [\"MedicationAdministration\": medication in \"Warfarin\"]\n       ) MedicationAdm\n       where MedicationAdm.status = 'not-done'\n        )\n  union\n	   ((	[\"MedicationRequest\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n  	union\n  	 [\"MedicationRequest\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n    union\n    	[\"MedicationRequest\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n    union\n    	[\"MedicationRequest\": medication in \"Warfarin\"]\n    ) MedicationOrder\n    	where	MedicationOrder.doNotPerform is true\n        and MedicationOrder.status in {'completed', 'cancelled'}\n        //11/5 discussion: all expressions for QI-Core must include a status.\n        //Therefore, we need ServiceRequest.status = completed; and MedicationRequest.status = cancelled (or completed, since cancelled indicates it was once ordered but intentionally never filled).\n        //So the not done issue is handled by ServiceRequest.doNotPerform = True  Or MedicationRequest.doNotPerform = True\n    )" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "14"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 22;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\":\n   	\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n       with	\"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n     	such that Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Medical Reason\"\n      			and Coalesce(NoVTEMedication.authoredOn, start of Global.\"Normalize Interval\"(NoVTEMedication.effective)) during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "15"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 23;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "No VTE Prophylaxis Device Applied or Ordered" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"No VTE Prophylaxis Device Applied or Ordered\":\n  ((\n    [\"ServiceRequest\": \"Venous foot pumps (VFP)\"]\n    union [\"ServiceRequest\": \"Intermittent pneumatic compression devices (IPC)\"]\n    union [\"ServiceRequest\": \"Graduated compression stockings (GCS)\"]\n    ) DeviceOrder\n    where DeviceOrder.status = 'completed'\n    //11/5 discussion: all expressions for QI-Core must include a status\n    //ServiceRequest.status -  draft | active | suspended | completed | entered-in-error | cancelled\n        and DeviceOrder.doNotPerform is true\n    return {id: DeviceOrder.id, requestStatusReason: GetStatusReason(DeviceOrder), authoredOn: DeviceOrder.authoredOn}\n    )\n  union\n    (\n      [\"Procedure\": \"Device Application\"] DeviceApplied\n      let DeviceNotDoneTiming: Global.GetExtension(DeviceApplied, 'qicore-recorded').value\n      where (DeviceApplied.usedCode in \"Intermittent pneumatic compression devices (IPC)\"\n            or DeviceApplied.usedCode in \"Venous foot pumps (VFP)\"\n            or DeviceApplied.usedCode in \"Graduated compression stockings (GCS)\"\n            )\n         and  DeviceApplied.status = 'not-done'\n         return {id: DeviceApplied.id, requestStatusReason: DeviceApplied.statusReason, authoredOn: DeviceNotDoneTiming}\n\n    )" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "16"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 24;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\":\n  \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n  	with \"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n      such that NoVTEDevice.requestStatusReason in \"Medical Reason\"\n        and  NoVTEDevice.authoredOn during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "17"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 25;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\":\n	from\n  		\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n  		[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n  		\"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n	where Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Medical Reason\"\n			and AnesthesiaProcedure.status = 'completed'\n			and Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n			and Coalesce(NoVTEMedication.authoredOn, start of Global.\"Normalize Interval\"(NoVTEMedication.effective)) during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n  return QualifyingEncounter" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "18"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 26;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\":\n  from\n  		\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n  		[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n  		\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n  where  NoVTEDevice.requestStatusReason in \"Medical Reason\"\n      and AnesthesiaProcedure.status = 'completed'\n  		and Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n      and NoVTEDevice.authoredOn during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n  return QualifyingEncounter" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "19"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 27;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With No VTE Prophylaxis Due to Medical Reason" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter With No VTE Prophylaxis Due to Medical Reason\":\n   ( \"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\"\n     intersect \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\"\n   )\n   union ( \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\"\n       intersect \"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\"\n       )" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "20"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 28;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "No VTE Prophylaxis Medication or Device Due to Patient Refusal" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\":\n    ( \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n        where Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Patient Refusal\"\n    )\n  union (\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n           where NoVTEDevice.requestStatusReason in \"Patient Refusal\"\n        )" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "21"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 29;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\":\n 	\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n	 with \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\n   such that Coalesce(start of Global.\"Normalize Interval\"(PatientRefusal.effective), PatientRefusal.authoredOn)\n         during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "22"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 30;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\":\n 	from\n   		\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n   		[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n   		\"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\n	where Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n 			and Coalesce(start of Global.\"Normalize Interval\"(PatientRefusal.effective), PatientRefusal.authoredOn)\n             during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n	return QualifyingEncounter" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "23"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 31;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With No VTE Prophylaxis Due to Patient Refusal" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter With No VTE Prophylaxis Due to Patient Refusal\":\n \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\"\n 	union \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "24"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 32;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Numerator" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Numerator\":\n    \"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\"\n    union ( \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\"\n    			  intersect ( \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\"\n    						    union \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\"\n    			            )\n          )\n    union \"Encounter With Low Risk for VTE or Anticoagulant Administered\"\n    union \"Encounter With No VTE Prophylaxis Due to Medical Reason\"\n    union \"Encounter With No VTE Prophylaxis Due to Patient Refusal\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "25"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 33;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Initial Population" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Initial Population\":\n  \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "26"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 34;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Denominator" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Denominator\":\n      \"Initial Population\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "27"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 35;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "SupplementalDataElements" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Payer" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Payer\":\n  [Coverage: type in \"Payer\"] Payer\n        return {\n          code: Payer.type,\n          period: Payer.period\n        }" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "28"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 36;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Payer" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Payer\":\n	SDE.\"SDE Payer\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "29"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 37;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "SupplementalDataElements" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Ethnicity" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Ethnicity\":\n  (flatten (\n      Patient.extension Extension\n        where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'\n          return Extension.extension\n    )) E\n      where E.url = 'ombCategory'\n        or E.url = 'detailed'\n      return E.value as Coding" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "30"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 38;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Ethnicity" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "31"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 39;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter Less Than 2 Days" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter Less Than 2 Days\":\n  \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n  	where Global.\"LengthInDays\"(QualifyingEncounter.period)< 2" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "32"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 40;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With ICU Location Stay 1 Day or More" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter With ICU Location Stay 1 Day or More\":\n  \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    where exists ( QualifyingEncounter.location Location\n    		where Global.GetLocation(Location.location).type in \"Intensive Care Unit\"\n    			and Global.\"LengthInDays\"(Location.period)>= 1\n    			and Location.period starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n	    )" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "33"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 41;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With Principal Diagnosis of Mental Disorder or Stroke" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter With Principal Diagnosis of Mental Disorder or Stroke\":\n  \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    where Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Mental Health Diagnoses\"\n        or Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Hemorrhagic Stroke\"\n        or Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Ischemic Stroke\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "34"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 42;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SCIP VTE Selected Surgery" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SCIP VTE Selected Surgery\":\n  (	[\"Procedure\": \"General Surgery\"]\n    union [\"Procedure\": \"Gynecological Surgery\"]\n    union [\"Procedure\": \"Hip Fracture Surgery\"]\n    union [\"Procedure\": \"Hip Replacement Surgery\"]\n    union [\"Procedure\": \"Intracranial Neurosurgery\"]\n    union [\"Procedure\": \"Knee Replacement Surgery\"]\n    union [\"Procedure\": \"Urological Surgery\"] ) Procedure\n  where Procedure.status = 'completed'" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "35"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 43;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With Principal Procedure of SCIP VTE Selected Surgery" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "/* NOTE: 2 options to express Principal Procedure to retrive \"encounter Procedure as an url\" and proedure \"rank as extension\" in R4\n          VTE-1 uses Option 1 - generic extension funtion\n          VTE-2 uses Option 2 - Specific extension functions\n  TODO:  Mapping Table needs revision on using \"Encounter.procedure.code\", \"Encounter.procedure.sequence\"\n*/\ndefine \"Encounter With Principal Procedure of SCIP VTE Selected Surgery\":\n  from\n      \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n      \"SCIP VTE Selected Surgery\" SelectedProcedure\n      let EncounterProcedure: Global.GetExtension(QualifyingEncounter, 'qicore-encounter-procedure')\n  where FHIRHelpers.ToInteger(Global.GetExtension(EncounterProcedure, 'rank').value as FHIR.positiveInt) = 1\n      and Global.GetId(FHIRHelpers.ToString((Global.GetExtension(EncounterProcedure, 'procedure').value as FHIR.Reference).reference)) = SelectedProcedure.id\n      and Global.\"Normalize Interval\"(SelectedProcedure.performed) during QualifyingEncounter.period" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "36"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 44;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Intervention Comfort Measures" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Intervention Comfort Measures\":\n	([\"ServiceRequest\": \"Comfort Measures\"] P\n    		where P.intent = 'order'\n  )\n  	union\n    	([\"Procedure\": \"Comfort Measures\"] InterventionPerformed\n      	where InterventionPerformed.status in {'completed', 'in-progress'})" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "37"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 45;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\":\n	\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n		with \"Intervention Comfort Measures\" ComfortMeasure\n		such that Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "38"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 46;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Encounter With Intervention Comfort Measures on Day of or Day After Procedure" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\":\n  from\n  		\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n  		[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n  		\"Intervention Comfort Measures\" ComfortMeasure\n		where AnesthesiaProcedure.status = 'completed'\n				and Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n        and Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n    return QualifyingEncounter" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "39"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 47;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "Denominator Exclusion" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"Denominator Exclusion\":\n    \"Encounter Less Than 2 Days\"\n     union \"Encounter With ICU Location Stay 1 Day or More\"\n     union \"Encounter With Principal Diagnosis of Mental Disorder or Stroke\"\n     union \"Encounter With Principal Procedure of SCIP VTE Selected Surgery\"\n     union \"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\"\n     union \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "40"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 48;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "SupplementalDataElements" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Race" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Race\":\n  (flatten (\n      Patient.extension Extension\n        where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'\n          return Extension.extension\n    )) E\n      where E.url = 'ombCategory'\n        or E.url = 'detailed'\n      return E.value as Coding" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "41"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ], [
       fhir:index 49;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "libraryName" ];
         fhir:Extension.valueString [ fhir:value "EXM108" ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "name" ];
         fhir:Extension.valueString [ fhir:value "SDE Race" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "statement" ];
         fhir:Extension.valueString [ fhir:value "define \"SDE Race\":\n  SDE.\"SDE Race\"" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "displaySequence" ];
         fhir:Extension.valueInteger [ fhir:value "42"^^xsd:integer ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition" ]     ];
     fhir:Library.name [ fhir:value "EffectiveDataRequirements" ];
     fhir:Library.status [ fhir:value "active" ];
     fhir:Library.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/library-type" ];
         fhir:Coding.code [ fhir:value "module-definition" ]       ]     ];
     fhir:Library.date [ fhir:value "2022-02-22T10:37:04-07:00"^^xsd:dateTime ];
     fhir:Library.relatedArtifact [
       fhir:index 0;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Library SDE" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000";
         fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000>       ]     ], [
       fhir:index 1;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Library FHIRHelpers" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1";
         fhir:link <http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1>       ]     ], [
       fhir:index 2;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Library Global" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000";
         fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000>       ]     ], [
       fhir:index 3;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Library TJC" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://hl7.org/fhir/us/cqfmeasures/Library/TJCOverall|4.0.000";
         fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/TJCOverall|4.0.000>       ]     ], [
       fhir:index 4;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Library VTEICU" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://hl7.org/fhir/us/cqfmeasures/Library/VTEICU|5.0.000";
         fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/VTEICU|5.0.000>       ]     ], [
       fhir:index 5;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Code system ConditionClinicalStatusCodes" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical";
         fhir:link <http://terminology.hl7.org/CodeSystem/condition-clinical>       ]     ], [
       fhir:index 6;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Code system LOINC" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://loinc.org";
         fhir:link <http://loinc.org>       ]     ], [
       fhir:index 7;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Encounter Inpatient" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307>       ]     ], [
       fhir:index 8;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Obstetrics" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263>       ]     ], [
       fhir:index 9;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Venous Thromboembolism" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279>       ]     ], [
       fhir:index 10;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Obstetrics VTE" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264>       ]     ], [
       fhir:index 11;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Low Dose Unfractionated Heparin for VTE Prophylaxis" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39>       ]     ], [
       fhir:index 12;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Subcutaneous route" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223>       ]     ], [
       fhir:index 13;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Low Molecular Weight Heparin for VTE Prophylaxis" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219>       ]     ], [
       fhir:index 14;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Injectable Factor Xa Inhibitor for VTE Prophylaxis" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211>       ]     ], [
       fhir:index 15;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Warfarin" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232>       ]     ], [
       fhir:index 16;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Device Application" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48>       ]     ], [
       fhir:index 17;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Intermittent pneumatic compression devices (IPC)" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214>       ]     ], [
       fhir:index 18;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Venous foot pumps (VFP)" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230>       ]     ], [
       fhir:index 19;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Graduated compression stockings (GCS)" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256>       ]     ], [
       fhir:index 20;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set General or Neuraxial Anesthesia" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743>       ]     ], [
       fhir:index 21;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134>       ]     ], [
       fhir:index 22;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Atrial Fibrillation/Flutter" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202>       ]     ], [
       fhir:index 23;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Hip Replacement Surgery" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259>       ]     ], [
       fhir:index 24;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Knee Replacement Surgery" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261>       ]     ], [
       fhir:index 25;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Low Risk" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400>       ]     ], [
       fhir:index 26;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set INR" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213>       ]     ], [
       fhir:index 27;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Unfractionated Heparin" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218>       ]     ], [
       fhir:index 28;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Intravenous route" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222>       ]     ], [
       fhir:index 29;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Direct Thrombin Inhibitor" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205>       ]     ], [
       fhir:index 30;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Glycoprotein IIb/IIIa Inhibitors" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41>       ]     ], [
       fhir:index 31;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Observation Services" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143>       ]     ], [
       fhir:index 32;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Emergency Department Visit" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292>       ]     ], [
       fhir:index 33;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Medical Reason" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473>       ]     ], [
       fhir:index 34;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Patient Refusal" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93>       ]     ], [
       fhir:index 35;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Payer" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>       ]     ], [
       fhir:index 36;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Intensive Care Unit" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.23";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.23>       ]     ], [
       fhir:index 37;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Mental Health Diagnoses" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1004";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1004>       ]     ], [
       fhir:index 38;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Hemorrhagic Stroke" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212>       ]     ], [
       fhir:index 39;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Ischemic Stroke" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247>       ]     ], [
       fhir:index 40;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set General Surgery" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255>       ]     ], [
       fhir:index 41;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Gynecological Surgery" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257>       ]     ], [
       fhir:index 42;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Hip Fracture Surgery" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258>       ]     ], [
       fhir:index 43;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Intracranial Neurosurgery" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260>       ]     ], [
       fhir:index 44;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Urological Surgery" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272>       ]     ], [
       fhir:index 45;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
       fhir:RelatedArtifact.display [ fhir:value "Value set Comfort Measures" ];
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45";
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45>       ]     ];
     fhir:Library.parameter [
       fhir:index 0;
       fhir:ParameterDefinition.name [ fhir:value "Measurement Period" ];
       fhir:ParameterDefinition.use [ fhir:value "in" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "1" ];
       fhir:ParameterDefinition.type [ fhir:value "Period" ]     ], [
       fhir:index 1;
       fhir:ParameterDefinition.name [ fhir:value "SDE Sex" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "1" ];
       fhir:ParameterDefinition.type [ fhir:value "Coding" ]     ], [
       fhir:index 2;
       fhir:ParameterDefinition.name [ fhir:value "Numerator" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]     ], [
       fhir:index 3;
       fhir:ParameterDefinition.name [ fhir:value "Denominator" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]     ], [
       fhir:index 4;
       fhir:ParameterDefinition.name [ fhir:value "SDE Payer" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Any" ]     ], [
       fhir:index 5;
       fhir:ParameterDefinition.name [ fhir:value "Initial Population" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]     ], [
       fhir:index 6;
       fhir:ParameterDefinition.name [ fhir:value "SDE Ethnicity" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Coding" ]     ], [
       fhir:index 7;
       fhir:ParameterDefinition.name [ fhir:value "Denominator Exclusion" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Any" ]     ], [
       fhir:index 8;
       fhir:ParameterDefinition.name [ fhir:value "SDE Race" ];
       fhir:ParameterDefinition.use [ fhir:value "out" ];
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ParameterDefinition.max [ fhir:value "*" ];
       fhir:ParameterDefinition.type [ fhir:value "Coding" ]     ];
     fhir:Library.dataRequirement [
       fhir:index 0;
       fhir:DataRequirement.type [ fhir:value "Patient" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "extension";
         fhir:index 0       ], [
         fhir:value "value";
         fhir:index 1       ], [
         fhir:value "birthDate";
         fhir:index 2       ], [
         fhir:value "url";
         fhir:index 3       ]     ], [
       fhir:index 1;
       fhir:DataRequirement.type [ fhir:value "Encounter" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "period";
         fhir:index 0       ], [
         fhir:value "type";
         fhir:index 1       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "type" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292>         ]       ]     ], [
       fhir:index 2;
       fhir:DataRequirement.type [ fhir:value "Encounter" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "period";
         fhir:index 0       ], [
         fhir:value "type";
         fhir:index 1       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "type" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143>         ]       ]     ], [
       fhir:index 3;
       fhir:DataRequirement.type [ fhir:value "Encounter" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "period";
         fhir:index 0       ], [
         fhir:value "type";
         fhir:index 1       ], [
         fhir:value "status";
         fhir:index 2       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "type" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307>         ]       ]     ], [
       fhir:index 4;
       fhir:DataRequirement.type [ fhir:value "MedicationAdministration" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationAdministration";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "dosage.route";
         fhir:index 0       ], [
         fhir:value "dosage";
         fhir:index 1       ], [
         fhir:value "medication";
         fhir:index 2       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218>         ]       ]     ], [
       fhir:index 5;
       fhir:DataRequirement.type [ fhir:value "MedicationAdministration" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationAdministration";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "medication";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205>         ]       ]     ], [
       fhir:index 6;
       fhir:DataRequirement.type [ fhir:value "MedicationAdministration" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationAdministration";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "medication";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41>         ]       ]     ], [
       fhir:index 7;
       fhir:DataRequirement.type [ fhir:value "MedicationAdministration" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationAdministration";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "dosage.route";
         fhir:index 0       ], [
         fhir:value "dosage";
         fhir:index 1       ], [
         fhir:value "medication";
         fhir:index 2       ], [
         fhir:value "status";
         fhir:index 3       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39>         ]       ]     ], [
       fhir:index 8;
       fhir:DataRequirement.type [ fhir:value "MedicationAdministration" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationAdministration";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "medication";
         fhir:index 0       ], [
         fhir:value "status";
         fhir:index 1       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219>         ]       ]     ], [
       fhir:index 9;
       fhir:DataRequirement.type [ fhir:value "MedicationAdministration" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationAdministration";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "medication";
         fhir:index 0       ], [
         fhir:value "status";
         fhir:index 1       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211>         ]       ]     ], [
       fhir:index 10;
       fhir:DataRequirement.type [ fhir:value "MedicationAdministration" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationAdministration";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "medication";
         fhir:index 0       ], [
         fhir:value "status";
         fhir:index 1       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232>         ]       ]     ], [
       fhir:index 11;
       fhir:DataRequirement.type [ fhir:value "MedicationAdministration" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationAdministration";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "effective";
         fhir:index 0       ], [
         fhir:value "medication";
         fhir:index 1       ], [
         fhir:value "status";
         fhir:index 2       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134>         ]       ]     ], [
       fhir:index 12;
       fhir:DataRequirement.type [ fhir:value "MedicationRequest" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "medication";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39>         ]       ]     ], [
       fhir:index 13;
       fhir:DataRequirement.type [ fhir:value "MedicationRequest" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "medication";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219>         ]       ]     ], [
       fhir:index 14;
       fhir:DataRequirement.type [ fhir:value "MedicationRequest" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "medication";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211>         ]       ]     ], [
       fhir:index 15;
       fhir:DataRequirement.type [ fhir:value "MedicationRequest" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "medication";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232>         ]       ]     ], [
       fhir:index 16;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230>         ]       ]     ], [
       fhir:index 17;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214>         ]       ]     ], [
       fhir:index 18;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256>         ]       ]     ], [
       fhir:index 19;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ], [
         fhir:value "intent";
         fhir:index 1       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45>         ]       ]     ], [
       fhir:index 20;
       fhir:DataRequirement.type [ fhir:value "Procedure" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255>         ]       ]     ], [
       fhir:index 21;
       fhir:DataRequirement.type [ fhir:value "Procedure" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257>         ]       ]     ], [
       fhir:index 22;
       fhir:DataRequirement.type [ fhir:value "Procedure" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258>         ]       ]     ], [
       fhir:index 23;
       fhir:DataRequirement.type [ fhir:value "Procedure" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260>         ]       ]     ], [
       fhir:index 24;
       fhir:DataRequirement.type [ fhir:value "Procedure" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272>         ]       ]     ], [
       fhir:index 25;
       fhir:DataRequirement.type [ fhir:value "Procedure" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ], [
         fhir:value "status";
         fhir:index 1       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45>         ]       ]     ], [
       fhir:index 26;
       fhir:DataRequirement.type [ fhir:value "Procedure" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259>         ]       ]     ], [
       fhir:index 27;
       fhir:DataRequirement.type [ fhir:value "Procedure" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261>         ]       ]     ], [
       fhir:index 28;
       fhir:DataRequirement.type [ fhir:value "Procedure" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ], [
         fhir:value "statusReason";
         fhir:index 1       ], [
         fhir:value "usedCode";
         fhir:index 2       ], [
         fhir:value "id";
         fhir:index 3       ], [
         fhir:value "status";
         fhir:index 4       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48>         ]       ]     ], [
       fhir:index 29;
       fhir:DataRequirement.type [ fhir:value "Procedure" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ], [
         fhir:value "performed";
         fhir:index 1       ], [
         fhir:value "status";
         fhir:index 2       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743>         ]       ]     ], [
       fhir:index 30;
       fhir:DataRequirement.type [ fhir:value "Condition" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Condition>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "id";
         fhir:index 0       ]     ], [
       fhir:index 31;
       fhir:DataRequirement.type [ fhir:value "Condition" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Condition>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ], [
         fhir:value "clinicalStatus";
         fhir:index 1       ], [
         fhir:value "onset";
         fhir:index 2       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202>         ]       ]     ], [
       fhir:index 32;
       fhir:DataRequirement.type [ fhir:value "Condition" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Condition>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ], [
         fhir:value "clinicalStatus";
         fhir:index 1       ], [
         fhir:value "onset";
         fhir:index 2       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279>         ]       ]     ], [
       fhir:index 33;
       fhir:DataRequirement.type [ fhir:value "Observation" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Observation";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ], [
         fhir:value "value";
         fhir:index 1       ], [
         fhir:value "status";
         fhir:index 2       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.code [
           fhir:index 0;
           a loinc:72136-5;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "72136-5" ];
           fhir:Coding.display [ fhir:value "Risk for venous thromboembolism" ]         ]       ]     ], [
       fhir:index 34;
       fhir:DataRequirement.type [ fhir:value "Observation" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Observation";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "code";
         fhir:index 0       ], [
         fhir:value "id";
         fhir:index 1       ], [
         fhir:value "issued";
         fhir:index 2       ], [
         fhir:value "value";
         fhir:index 3       ], [
         fhir:value "status";
         fhir:index 4       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213>         ]       ]     ], [
       fhir:index 35;
       fhir:DataRequirement.type [ fhir:value "Coverage" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Coverage";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Coverage>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "period";
         fhir:index 0       ], [
         fhir:value "type";
         fhir:index 1       ];
       fhir:DataRequirement.codeFilter [
         fhir:index 0;
         fhir:DataRequirement.codeFilter.path [ fhir:value "type" ];
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591";
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>         ]       ]     ], [
       fhir:index 36;
       fhir:DataRequirement.type [ fhir:value "Location" ];
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Location";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Location>       ];
       fhir:DataRequirement.mustSupport [
         fhir:value "id";
         fhir:index 0       ]     ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis" ];
     fhir:Extension.valueCode [ fhir:value "Encounter" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem" ];
     fhir:Extension.valueReference [
       fhir:Reference.reference [ fhir:value "Device/software-system-example" ]     ]
  ], [
     fhir:index 2;
     fhir:Element.id [ fhir:value "effective-data-requirements" ];
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements" ];
     fhir:Extension.valueReference [
       fhir:Reference.reference [ fhir:value "#effective-data-requirements" ]     ]
  ];
  fhir:Measure.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/Measure/measure-vte-1-FHIR"];
  fhir:Measure.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http://example.org/fhir/cqi/ecqm/Measure/Identifier/cms" ];
     fhir:Identifier.value [ fhir:value "108" ]
  ];
  fhir:Measure.version [ fhir:value "8.2.000"];
  fhir:Measure.name [ fhir:value "VTE_1_FHIR"];
  fhir:Measure.title [ fhir:value "Venous Thromboembolism Prophylaxis"];
  fhir:Measure.status [ fhir:value "active"];
  fhir:Measure.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:Measure.date [ fhir:value "2022-02-22"^^xsd:date];
  fhir:Measure.publisher [ fhir:value "Clinical Quality Information WG"];
  fhir:Measure.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/cqi" ]     ]
  ];
  fhir:Measure.description [ fhir:value "This measure assesses the number of patients who received VTE prophylaxis or have documentation why no VTE prophylaxis was given the day of or the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission"];
  fhir:Measure.useContext [
     fhir:index 0;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "program" ]     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/quality-programs" ];
         fhir:Coding.code [ fhir:value "eh-cah" ];
         fhir:Coding.display [ fhir:value "EH/CAH" ]       ]     ]
  ];
  fhir:Measure.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ]     ]
  ];
  fhir:Measure.copyright [ fhir:value "Measure specifications are in the Public Domain.\n\nLOINC(R) is a registered trademark of the Regenstrief Institute.\n\nThis material contains SNOMED Clinical Terms(R) (SNOMED CT(C)) copyright 2004-2017 International Health Terminology Standards Development Organization. All rights reserved."];
  fhir:Measure.approvalDate [ fhir:value "2019-03-08"^^xsd:date];
  fhir:Measure.lastReviewDate [ fhir:value "2019-03-08"^^xsd:date];
  fhir:Measure.effectivePeriod [
     fhir:Period.start [ fhir:value "2018-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2018-12-31"^^xsd:date ]
  ];
  fhir:Measure.topic [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:57024-2;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "57024-2" ];
       fhir:Coding.display [ fhir:value "Health Quality Measure Document" ]     ]
  ];
  fhir:Measure.library [
     fhir:value "http://hl7.org/fhir/us/cqfmeasures/Library/EXM108";
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/us/cqfmeasures/Library/EXM108>
  ];
  fhir:Measure.disclaimer [ fhir:value "These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. The measures and specifications are provided without warranty"];
  fhir:Measure.scoring [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-scoring" ];
       fhir:Coding.code [ fhir:value "proportion" ];
       fhir:Coding.display [ fhir:value "Proportion" ]     ]
  ];
  fhir:Measure.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-type" ];
       fhir:Coding.code [ fhir:value "process" ]     ]
  ];
  fhir:Measure.rationale [ fhir:value "Hospitalized patients at high-risk for VTE may develop an asymptomatic deep vein thrombosis (DVT), and die from pulmonary embolism (PE) even before the diagnosis is suspected. The majority of fatal events occur as sudden or abrupt death, underscoring the importance of prevention as the most critical action step for reducing death from PE (Geerts, et al, 2008).\n\nThe estimated annual incidence of deep-vein thrombosis (DVT) and pulmonary embolism (PE), known collectively as venous thromboembolism (VTE), is approximately 900,000 (Geerts, et al, 2008). Approximately two-thirds of cases of DVT or PE are associated with recent hospitalization. This is consistent with the 2001 report by The Agency for Healthcare Research and Quality (AHRQ). AHRQ indicates that \"the appropriate application of effective preventive measures in hospitals has major potential for improving patient safety by reducing the incidence of venous thromboembolism\" (Shojania, 2001).\n\nDespite its proven effectiveness, rates of appropriate thromboprophylaxis remain low in both medical and surgical patients. A recent analysis from the ENDORSE survey, which evaluated prophylaxis rates in 17,084 major surgery patients, found that more than one third of patients at risk for VTE (38%) did not receive prophylaxis and that rates varied by surgery type (Cohen, et al., 2008).\n\nIn a review of evidence-based patient safety practices, the Agency for Healthcare Research and Quality defined thromboprophylaxis against VTE as the \"number one patient safety practice\" for hospitalized patients (Shojania, 2001). Updated \"safe practices\" published by the National Quality Forum (NQF) recommend routine evaluation of hospitalized patients for risk of VTE and use of appropriate prophylaxis (National Quality Forum. National Voluntary Consensus Standards for Prevention and Care of Venous Thromboembolism, 2006).\n\nAs noted by the ACCP, a vast number of randomized clinical trials provide irrefutable evidence that thromboprophylaxis reduces VTE events, and there are studies that have also shown that fatal PE is prevented by thromboprophylaxis (Geerts, et al. 2008).\n\nSome select surgeries have previously been monitored in the Surgical Care Improvement Project; since performance on these surgeries has achieved very high levels, they are not included in this measure."];
  fhir:Measure.clinicalRecommendationStatement [ fhir:value "Failure to recognize and protect patients at risk for venous thromboembolism (VTE) increases the chances for acutely ill hospitalized patients at high risk for developing a deep vein thrombosis or dying from a pulmonary emboli. Screening all patients is the only evidence based practice in reducing incidence of disease.  All hospitalized patients should be evaluated for primary VTE prophylaxis, and given appropriate prophylaxis when indicated."];
  fhir:Measure.improvementNotation [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-improvement-notation" ];
       fhir:Coding.code [ fhir:value "increase" ];
       fhir:Coding.display [ fhir:value "Increased score indicates improvement" ]     ]
  ];
  fhir:Measure.guidance [ fhir:value "When low dose unfractionated heparin is administered for VTE Prophylaxis, the intended administration route for low dose unfractionated heparin is subcutaneous.\n\nReasons for no pharmacological and no mechanical VTE prophylaxis must be explicitly documented by the MD/APN/PA or pharmacist and linked with VTE prophylaxis. Ambulation alone is not a sufficient reason for not administering VTE prophylaxis. In order for ambulation/patient ambulating to be considered as an acceptable reason, there needs to be explicit documentation, e.g., \"patient out of bed and ambulating in halls - no VTE prophylaxis needed.\""];
  fhir:Measure.group [
     fhir:index 0;
     fhir:Measure.group.population [
       fhir:index 0;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "initial-population" ];
           fhir:Coding.display [ fhir:value "Initial Population" ]         ]       ];
       fhir:Measure.group.population.description [ fhir:value "Patients age 18 and older discharged from hospital inpatient acute care without a diagnosis of venous thromboembolism (VTE) or obstetrics with a length of stay less than or equal to 120 days that ends during the measurement period" ];
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Initial Population" ]       ]     ], [
       fhir:index 1;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "numerator" ];
           fhir:Coding.display [ fhir:value "Numerator" ]         ]       ];
       fhir:Measure.group.population.description [ fhir:value "Patients who received VTE prophylaxis:\n- the day of or the day after hospital admission\n- the day of or the day after surgery end date for surgeries that end the day of or the day after hospital admission\n\nPatients who have documentation of a reason why no VTE prophylaxis was given:\n- between arrival and hospital admission\n- the day of or the day after hospital admission\n- the day of or the day after surgery end date (for surgeries that end the day of or the day after hospital admission)" ];
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Numerator" ]       ]     ], [
       fhir:index 2;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "denominator" ];
           fhir:Coding.display [ fhir:value "Denominator" ]         ]       ];
       fhir:Measure.group.population.description [ fhir:value "All patients in the initial population" ];
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Denominator" ]       ]     ], [
       fhir:index 3;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "denominator-exclusion" ];
           fhir:Coding.display [ fhir:value "Denominator Exclusion" ]         ]       ];
       fhir:Measure.group.population.description [ fhir:value "* Patients who have a length of stay less than 2 days\n* Patients with comfort measures documented anytime between arrival and the day after hospital admission\n* Patients with comfort measures documented by the day after surgery end date for surgeries that start the day of or the day after hospital admission\n* Patients who are direct admits to intensive care unit (ICU), or transferred to ICU the day of or the day after hospital admission with ICU length of stay greater than or equal to one day\n* Patients with a principal diagnosis of mental disorders or stroke\n* Patients with a principal procedure of Surgical Care Improvement Project (SCIP) VTE selected surgeries" ];
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ];
         fhir:Expression.expression [ fhir:value "Denominator Exclusion" ]       ]     ]
  ];
  fhir:Measure.supplementalData [
     fhir:index 0;
     fhir:Measure.supplementalData.usage [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ];
         fhir:Coding.code [ fhir:value "supplemental-data" ]       ]     ];
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ];
       fhir:Expression.expression [ fhir:value "SDE Ethnicity" ]     ]
  ], [
     fhir:index 1;
     fhir:Measure.supplementalData.usage [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ];
         fhir:Coding.code [ fhir:value "supplemental-data" ]       ]     ];
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ];
       fhir:Expression.expression [ fhir:value "SDE Payer" ]     ]
  ], [
     fhir:index 2;
     fhir:Measure.supplementalData.usage [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ];
         fhir:Coding.code [ fhir:value "supplemental-data" ]       ]     ];
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ];
       fhir:Expression.expression [ fhir:value "SDE Race" ]     ]
  ], [
     fhir:index 3;
     fhir:Measure.supplementalData.usage [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ];
         fhir:Coding.code [ fhir:value "supplemental-data" ]       ]     ];
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ];
       fhir:Expression.expression [ fhir:value "SDE Sex" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.