Publication Build: This will be filled in by the publication tooling
Page standards status: Informative |
@prefix fhir: <http://hl7.org/fhir/> . @prefix loinc: <https://loinc.org/rdf/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix sct: <http://snomed.info/id/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:Library ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "HRDMeasureLibrary"] ; # fhir:meta [ ( fhir:profile [ fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-computablelibrary|1.0.0"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-computablelibrary|1.0.0> ] ) ] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<div>\n <table class=\"grid dict\">\n \n \n <tr>\n <th scope=\"row\"><b>Title: </b></th>\n <td style=\"padding-left: 4px;\">Library - HRD Measure Example</td>\n </tr>\n \n\n \n \n <tr>\n <th scope=\"row\"><b>Id: </b></th>\n <td style=\"padding-left: 4px;\">HRDMeasureLibrary</td>\n </tr>\n \n\n \n \n <tr>\n <th scope=\"row\"><b>Version: </b></th>\n <td style=\"padding-left: 4px;\">1.0.0-ballot</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Url: </b></th>\n <td style=\"padding-left: 4px;\"><code>http://example.org/fhir/Library/HRDMeasureLibrary</code></td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\">\n <b>\n \n \n \n </b>\n </th>\n <td style=\"padding-left: 4px;\">\n \n <p style=\"margin-bottom: 5px;\">\n <span>urn:oid:2.16.840.1.113883.4.642.40.53.28.3</span>\n </p>\n \n </td>\n </tr>\n \n\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Type: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n \n <p style=\"margin-bottom: 5px;\">\n <b>system: </b> <span><a href=\"http://terminology.hl7.org/6.2.0/CodeSystem-library-type.html\">http://terminology.hl7.org/CodeSystem/library-type</a></span>\n </p>\n \n \n <p style=\"margin-bottom: 5px;\">\n <b>code: </b> <span>logic-library</span>\n </p>\n \n \n \n \n \n </td>\n </tr>\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Date: </b></th>\n <td style=\"padding-left: 4px;\">2025-03-13</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Publisher: </b></th>\n <td style=\"padding-left: 4px;\">HL7 International / Public Health</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Description: </b></th>\n <td style=\"padding-left: 4px;\"><div><p>This library contains CQL logic for evaluating structural measures related to hospital respiratory disease reporting capabilities</p>\n</div></td>\n </tr>\n \n\n \n\n \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>\n <th><b>code</b></th>\n <th><b>value</b></th>\n </tr>\n \n <tr>\n <td>focus</td>\n <td/>\n </tr>\n \n </table>\n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Jurisdiction: </b></th>\n <td style=\"padding-left: 4px;\">US</td>\n </tr>\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Related Artifacts: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n \n <p><b>Dependencies</b></p>\n <ul>\n \n <li><a href=\"http://fhir.org/guides/cqf/common/4.0.1/Library-FHIRHelpers.html\">http://fhir.org/guides/cqf/common/Library/FHIRHelpers</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1123/expansion\">COVID_19 (Disorders) (ICD10CM)</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.102.12.1012/expansion\">Acute Tonsillitis</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1124/expansion\">COVID_19 (Disorders) (SNOMED)version: null20240123)</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1125/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1125</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.87/expansion\">Discharge To Acute Care Facility</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.5.1001/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.5.1001</a></li>\n \n <li><code>http://loinc.org|11516-2</code></li>\n \n <li><a href=\"http://hl7.org/fhir/R4/valueset-communication-category.html\">CommunicationCategory</a></li>\n \n </ul>\n \n \n \n \n \n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Parameters: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr><th><b>Name</b></th><th><b>Type</b></th><th><b>Min</b></th><th><b>Max</b></th><th><b>In/Out</b></th></tr>\n \n <tr><th>Measurement Period</th><th>Period</th><th>1</th><th>1</th><th>In</th></tr>\n \n </table>\n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Data Requirements:</b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr><th><b>Type</b></th><th><b>Profile</b></th><th><b>Must Support</b></th><th><b>Code Filter</b></th></tr>\n \n <tr>\n <th>Device</th>\n <th><a href=\"http://hl7.org/fhir/R4/device.html\">Device</a></th>\n <th/>\n <th>\n \n <b>code filter: </b>\n \n <br/>\n \n \n <span style=\"padding-left: 4px;\">\n <b>path: </b><span>type</span>\n </span>\n \n <br/>\n \n \n \n <span style=\"padding-left: 4px;\">\n <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1123</span>\n </span>\n \n \n \n </th>\n </tr>\n \n <tr>\n <th>Device</th>\n <th><a href=\"http://hl7.org/fhir/R4/device.html\">Device</a></th>\n <th/>\n <th>\n \n <b>code filter: </b>\n \n <br/>\n \n \n <span style=\"padding-left: 4px;\">\n <b>path: </b><span>type</span>\n </span>\n \n <br/>\n \n \n \n <span style=\"padding-left: 4px;\">\n <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1012</span>\n </span>\n \n \n \n </th>\n </tr>\n \n <tr>\n <th>Device</th>\n <th><a href=\"http://hl7.org/fhir/R4/device.html\">Device</a></th>\n <th/>\n <th>\n \n <b>code filter: </b>\n \n <br/>\n \n \n <span style=\"padding-left: 4px;\">\n <b>path: </b><span>type</span>\n </span>\n \n <br/>\n \n \n \n <span style=\"padding-left: 4px;\">\n <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1124|20240123</span>\n </span>\n \n \n \n </th>\n </tr>\n \n <tr>\n <th>Device</th>\n <th><a href=\"http://hl7.org/fhir/R4/device.html\">Device</a></th>\n <th/>\n <th>\n \n <b>code filter: </b>\n \n <br/>\n \n \n <span style=\"padding-left: 4px;\">\n <b>path: </b><span>type</span>\n </span>\n \n <br/>\n \n \n \n <span style=\"padding-left: 4px;\">\n <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1125</span>\n </span>\n \n \n \n </th>\n </tr>\n \n <tr>\n <th>Device</th>\n <th><a href=\"http://hl7.org/fhir/R4/device.html\">Device</a></th>\n <th/>\n <th>\n \n <b>code filter: </b>\n \n <br/>\n \n \n <span style=\"padding-left: 4px;\">\n <b>path: </b><span>type</span>\n </span>\n \n <br/>\n \n \n \n <span style=\"padding-left: 4px;\">\n <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.5.1001</span>\n </span>\n \n \n \n </th>\n </tr>\n \n <tr>\n <th>Location</th>\n <th><a href=\"http://hl7.org/fhir/R4/location.html\">Location</a></th>\n <th/>\n <th>\n \n <b>code filter: </b>\n \n <br/>\n \n \n <span style=\"padding-left: 4px;\">\n <b>path: </b><span>type</span>\n </span>\n \n <br/>\n \n \n \n <span style=\"padding-left: 4px;\">\n <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87</span>\n </span>\n \n \n \n </th>\n </tr>\n \n <tr>\n <th>Location</th>\n <th><a href=\"http://hl7.org/fhir/R4/location.html\">Location</a></th>\n <th/>\n <th>\n \n <b>code filter: </b>\n \n <br/>\n \n \n <span style=\"padding-left: 4px;\">\n <b>path: </b><span>physicalType.coding.code</span>\n </span>\n \n <br/>\n \n \n \n \n \n <p style=\"margin-bottom: 5px;\">\n <b>system: </b> <span><a href=\"http://terminology.hl7.org/6.2.0/CodeSystem-location-physical-type.html\">http://terminology.hl7.org/CodeSystem/location-physical-type</a></span>\n </p>\n \n \n <p style=\"margin-bottom: 5px;\">\n <b>code: </b> <span>bd</span>\n </p>\n \n \n \n \n </th>\n </tr>\n \n <tr>\n <th>DocumentReference</th>\n <th><a href=\"http://hl7.org/fhir/R4/documentreference.html\">DocumentReference</a></th>\n <th/>\n <th>\n \n <b>code filter: </b>\n \n <br/>\n \n \n <span style=\"padding-left: 4px;\">\n <b>path: </b><span>type.coding.code</span>\n </span>\n \n <br/>\n \n \n \n \n \n <p style=\"margin-bottom: 5px;\">\n <b>system: </b> <span><a href=\"https://loinc.org/\">http://loinc.org</a></span>\n </p>\n \n \n <p style=\"margin-bottom: 5px;\">\n <b>code: </b> <span>11516-2</span>\n </p>\n \n \n \n \n </th>\n </tr>\n \n <tr>\n <th>Communication</th>\n <th><a href=\"http://hl7.org/fhir/R4/communication.html\">Communication</a></th>\n <th/>\n <th>\n \n <b>code filter: </b>\n \n <br/>\n \n \n <span style=\"padding-left: 4px;\">\n <b>path: </b><span>category.coding.code</span>\n </span>\n \n <br/>\n \n \n \n \n \n <p style=\"margin-bottom: 5px;\">\n <b>system: </b> <span><a href=\"http://terminology.hl7.org/6.2.0/CodeSystem-communication-category.html\">http://terminology.hl7.org/CodeSystem/communication-category</a></span>\n </p>\n \n \n <p style=\"margin-bottom: 5px;\">\n <b>code: </b> <span>notification</span>\n </p>\n \n \n \n \n </th>\n </tr>\n \n </table>\n </td>\n </tr>\n \n\n \n \n <tr>\n <td colspan=\"2\">\n <table>\n <tr><th><a id=\"cql-content\"><b>Content: </b></a> text/cql</th></tr>\n <tr><td><pre><code class=\"language-cql\">library HRDMeasureStructureLibrary version '1.0.0'\n\nusing FHIR version '4.0.1'\n\ninclude FHIRHelpers version '4.0.1' called FHIRHelpers\n\n// Terminology definitions\ncodesystem "LOINC": 'http://loinc.org'\ncodesystem "SNOMED CT": 'http://snomed.info/sct&\ncodesystem "ICD-10-CM": 'http://hl7.org/fhir/sid/icd-10-cm'\n\n// Value sets\nvalueset "Respiratory Specimen Collection Devices": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1125'\nvalueset "COVID-19 Tests": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1123'\nvalueset "Influenza Tests": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1012'\nvalueset "RSV Tests": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1124'\nvalueset "ICU Location Types": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87'\nvalueset "Ventilator Device Types": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.5.1001'\n\n// Parameter for measurement period\nparameter "Measurement Period" Interval<Date>\n default Interval[@2025-03-01, @2025-03-07]\n\ncontext Patient\n\n// STRUCTURE MEASURE COMPONENTS\n// For a structure measure, we assess capabilities, resources and organizational structures\n\n// 1. Test for the presence of respiratory testing capabilities\ndefine "Has COVID-19 Testing Capability":\n exists (\n [Device] Device\n where Device.type.coding in "COVID-19 Tests"\n and Device.status = 'active'\n )\n\ndefine "Has Influenza Testing Capability":\n exists (\n [Device] Device\n where Device.type.coding in "Influenza Tests"\n and Device.status = 'active'\n )\n\ndefine "Has RSV Testing Capability":\n exists (\n [Device] Device\n where Device.type.coding in "RSV Tests"\n and Device.status = 'active'\n )\n\ndefine "Has Specimen Collection Capabilities":\n exists (\n [Device] Device\n where Device.type.coding in "Respiratory Specimen Collection Devices"\n and Device.status = 'active'\n )\n\ndefine "Has ICU Locations":\n exists (\n [Location] Location\n where Location.type.coding in "ICU Location Types"\n and Location.status = 'active'\n )\n\ndefine "Has Ventilator Resources":\n exists (\n [Device] Device\n where Device.type.coding in "Ventilator Device Types"\n and Device.status = 'active'\n )\n\ndefine "Has HRD Reporting Protocol":\n exists (\n [DocumentReference] D\n where D.type.coding.code in {'11516-2'} // LOINC for infection control protocol\n and D.status = 'current'\n and D.description contains 'NHSN'\n and D.description contains 'HRD'\n )\n\n// CONTINUOUS VARIABLE CALCULATIONS\n\n// Hospital capacity metrics\ndefine "Total Bed Capacity":\n Sum(\n [Location] Location\n where Location.status = 'active'\n and Location.physicalType.coding.code = 'bd'\n return (\n Location.extension E\n where E.url = 'http://hl7.org/fhir/StructureDefinition/location-bed-count'\n return E.valueInteger\n ).valueInteger\n )\n\ndefine "ICU Bed Capacity":\n Sum(\n [Location] Location\n where Location.status = 'active'\n and Location.type.coding in "ICU Location Types"\n and Location.physicalType.coding.code = 'bd'\n return (\n Location.extension E\n where E.url = 'http://hl7.org/fhir/StructureDefinition/location-bed-count'\n return E.valueInteger\n ).valueInteger\n )\n\ndefine "Ventilator Count":\n Count(\n [Device] Device\n where Device.type.coding in "Ventilator Device Types"\n and Device.status = 'active'\n )\n\n// Weekly reporting compliance and metrics\ndefine "Reporting Weeks in Measurement Period":\n Count(\n expand{2025-03-01, @2025-03-07, week}\n )\n\ndefine "HRD Reports Submitted During Period":\n Count(\n [Communication] C\n where C.category.coding.code in {'notification'}\n and C.topic.text contains 'NHSN'\n and C.topic.text contains 'HRD'\n and C.sent during "Measurement Period"\n )\n\ndefine "Weekly Reporting Compliance":\n "HRD Reports Submitted During Period" / "Reporting Weeks in Measurement Period"\n\n// Structural readiness scores\ndefine "Has All Testing Capabilities":\n if ("Has COVID-19 Testing Capability" and "Has Influenza Testing Capability" and "Has RSV Testing Capability")\n then 1\n else 0\n\ndefine "Has Required Reporting Structure":\n if ("Has HRD Reporting Protocol") \n then 1\n else 0\n\n// Continuous variable for structural measure assessment\ndefine "Structural Readiness Score":\n ("Has COVID-19 Testing Capability" as Integer +\n "Has Influenza Testing Capability" as Integer +\n "Has RSV Testing Capability" as Integer +\n "Has Specimen Collection Capabilities" as Integer +\n "Has ICU Locations" as Integer +\n "Has Ventilator Resources" as Integer +\n "Has HRD Reporting Protocol" as Integer) / 7.0 * 100.0\n\n// Main measure calculation - now focusing on structural components and their ratings\ndefine "Measure Population":\n true\n\ndefine "Measure Observation":\n "Structural Readiness Score"</code></pre></td></tr>\n </table>\n </td>\n </tr>\n \n \n \n </table>\n</div>\n</div>"^^rdf:XMLLiteral ] ; # fhir:url [ fhir:v "http://example.org/fhir/Library/HRDMeasureLibrary"^^xsd:anyURI] ; # fhir:identifier ( [ fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ; fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.53.28.3" ] ] ) ; # fhir:version [ fhir:v "1.0.0-ballot"] ; # fhir:name [ fhir:v "HRDMeasureLibrary"] ; # fhir:title [ fhir:v "Library - HRD Measure Example"] ; # fhir:status [ fhir:v "active"] ; # fhir:experimental [ fhir:v false] ; # fhir:type [ ( fhir:coding [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "logic-library" ] ] ) ] ; # fhir:date [ fhir:v "2025-03-13"^^xsd:date] ; # fhir:publisher [ fhir:v "HL7 International / Public Health"] ; # fhir:contact ( [ fhir:name [ fhir:v "HL7 International / Public Health" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/pher" ] ] ) ] ) ; # fhir:description [ fhir:v "This library contains CQL logic for evaluating structural measures related to hospital respiratory disease reporting capabilities"] ; # fhir:useContext ( [ fhir:code [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "focus" ] ] ; fhir:value [ a fhir:CodeableConcept ; ( fhir:coding [ a sct:64572001 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ; fhir:code [ fhir:v "64572001" ] ; fhir:display [ fhir:v "Disease" ] ] ) ] ] ) ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ; fhir:code [ fhir:v "US" ] ; fhir:display [ fhir:v "United States of America" ] ] ) ] ) ; # fhir:relatedArtifact ( [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "FHIR Helpers" ] ; fhir:resource [ fhir:v "http://fhir.org/guides/cqf/common/Library/FHIRHelpers"^^xsd:anyURI ; fhir:link <http://fhir.org/guides/cqf/common/Library/FHIRHelpers> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "COVID-19 Tests ValueSet" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1123"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1123> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Influenza Tests ValueSet" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1012"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1012> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "RSV Tests ValueSet" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1124|20240123"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1124|20240123> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Respiratory Specimen Collection Devices ValueSet" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1125"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1125> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "ICU Location Types ValueSet" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Ventilator Device Types ValueSet" ] ; fhir:resource [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.5.1001"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.5.1001> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "DocumentReference Type ValueSet" ] ; fhir:resource [ fhir:v "http://loinc.org|11516-2"^^xsd:anyURI ; fhir:link <http://loinc.org|11516-2> ] ] [ fhir:type [ fhir:v "depends-on" ] ; fhir:display [ fhir:v "Notification Communication Category" ] ; fhir:resource [ fhir:v "http://hl7.org/fhir/ValueSet/communication-category"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/communication-category> ] ] ) ; # fhir:parameter ( [ fhir:name [ fhir:v "Measurement Period" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v 1 ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Period" ] ] ) ; # fhir:dataRequirement ( [ fhir:type [ fhir:v "Device" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Device> ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "type" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1123"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1123> ] ] ) ] [ fhir:type [ fhir:v "Device" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Device> ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "type" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1012"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.102.12.1012> ] ] ) ] [ fhir:type [ fhir:v "Device" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Device> ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "type" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1124|20240123"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1124|20240123> ] ] ) ] [ fhir:type [ fhir:v "Device" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Device> ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "type" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1125"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1125> ] ] ) ] [ fhir:type [ fhir:v "Device" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Device> ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "type" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.5.1001"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.5.1001> ] ] ) ] [ fhir:type [ fhir:v "Location" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Location> ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "type" ] ; fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87"^^xsd:anyURI ; fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87> ] ] ) ] [ fhir:type [ fhir:v "Location" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Location> ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "physicalType.coding.code" ] ; ( fhir:code [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/location-physical-type"^^xsd:anyURI ] ; fhir:version [ fhir:v "2.0.1" ] ; fhir:code [ fhir:v "bd" ] ] ) ] ) ] [ fhir:type [ fhir:v "DocumentReference" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/DocumentReference"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/DocumentReference> ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "type.coding.code" ] ; ( fhir:code [ a loinc:11516-2 ; fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ; fhir:code [ fhir:v "11516-2" ] ] ) ] ) ] [ fhir:type [ fhir:v "Communication" ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/Communication"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Communication> ] ) ; ( fhir:codeFilter [ fhir:path [ fhir:v "category.coding.code" ] ; ( fhir:code [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/communication-category"^^xsd:anyURI ] ; fhir:code [ fhir:v "notification" ] ] ) ] ) ; ( fhir:dateFilter [ fhir:searchParam [ fhir:v "date" ] ] ) ] ) ; # fhir:content ( [ fhir:contentType [ fhir:v "text/cql" ] ; fhir:data [ fhir:v "bGlicmFyeSBIUkRNZWFzdXJlU3RydWN0dXJlTGlicmFyeSB2ZXJzaW9uICcxLjAuMCcKCnVzaW5nIEZISVIgdmVyc2lvbiAnNC4wLjEnCgppbmNsdWRlIEZISVJIZWxwZXJzIHZlcnNpb24gJzQuMC4xJyBjYWxsZWQgRkhJUkhlbHBlcnMKCi8vIFRlcm1pbm9sb2d5IGRlZmluaXRpb25zCmNvZGVzeXN0ZW0gIkxPSU5DIjogJ2h0dHA6Ly9sb2luYy5vcmcnCmNvZGVzeXN0ZW0gIlNOT01FRCBDVCI6ICdodHRwOi8vc25vbWVkLmluZm8vc2N0Jgpjb2Rlc3lzdGVtICJJQ0QtMTAtQ00iOiAnaHR0cDovL2hsNy5vcmcvZmhpci9zaWQvaWNkLTEwLWNtJwoKLy8gVmFsd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CBtZWFzdXJlIGFzc2Vzc21lbnQKZGVmaW5lICJTdHJ1Y3R1cmFsIFJlYWRpbmVzcyBTY29yZSI6CiAgKCJIYXMgQ09WSUQtMTkgVGVzdGluZyBDYXBhYmlsaXR5IiBhcyBJbnRlZ2VyICsKICAgIkhhcyBJbmZsdWVuemEgVGVzdGluZyBDYXBhYmlsaXR5IiBhcyBJbnRlZ2VyICsKICAgIkhhcyBSU1YgVGVzdGluZyBDYXBhYmlsaXR5IiBhcyBJbnRlZ2VyICsKICAgIkhhcyBTcGVjaW1lbiBDb2xsZWN0aW9uIENhcGFiaWxpdGllcyIgYXMgSW50ZWdlciArCiAgICJIYXMgSUNVIExvY2F0aW9ucyIgYXMgSW50ZWdlciArCiAgICJIYXMgVmVudGlsYXRvciBSZXNvdXJjZXMiIGFzIEludGVnZXIgKwogICAgIkhhcyBIUkQgUmVwb3J0aW5nIFByb3RvY29sIiBhcyBJbnRlZ2VyKSAvIDcuMCAqIDEwMC4wCgovLyBNYWluIG1lYXN1cmUgY2FsY3VsYXRpb24gLSBub3cgZm9jdXNpbmcgb24gc3RydWN0dXJhbCBjb21wb25lbnRzIGFuZCB0aGVpciByYXRpbmdzCmRlZmluZSAiTWVhc3VyZSBQb3B1bGF0aW9uIjoKICB0cnVlCgpkZWZpbmUgIk1lYXN1cmUgT2JzZXJ2YXRpb24iOgogICJTdHJ1Y3R1cmFsIFJlYWRpbmVzcyBTY29yZSI="^^xsd:base64Binary ] ] ) . #
IG © 2025+ HL7 International / Public Health. Package hl7.fhir.us.safr#1.0.0-ballot based on FHIR 4.0.1. Generated 2025-03-28
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change