CMS FHIR Prototype Measure Calculation Tool IG
0.1.0 - CI Build United States of America flag

CMS FHIR Prototype Measure Calculation Tool IG, published by HL7 International - [Some] Work Group. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/mct-ig/ and changes regularly. See the Directory of published versions

: QiCore Profile Validation - TTL Representation

Draft as of 2024-06-26

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@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:Library ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "QiCoreProfileValidation"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir: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;\">QiCoreProfileValidation</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"Library-QiCoreProfileValidation.html\">QiCore Profile Validation</a></td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">0.1.0</td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Name: </b></th>\n            <td style=\"padding-left: 4px;\">QiCoreProfileValidation</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">QiCore Profile Validation</td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Status: </b></th>\n            <td style=\"padding-left: 4px;\">draft</td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span><a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-library-type.html\">LibraryType</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        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2024-06-26 17:57:59+0000</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">HL7 International - [Some] Work Group</td>\n        </tr>\n        \n        \n        \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        <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 QiCoreProfileValidation version '1.0.0'\r\n\r\nusing FHIR version '4.0.1'\r\n\r\ninclude FHIRHelpers version '4.0.1'\r\ninclude QiCoreProfilePatterns version '1.0.0' called Profiles\r\n\r\ncontext Patient\r\n\r\ndefine &amp;quot;Initial Population&amp;quot;: true\r\n\r\ndefine &amp;quot;SDE AdverseEvent&amp;quot;:\r\n    Profiles.AdverseEvent\r\n\r\ndefine &amp;quot;SDE AllergyIntolerance&amp;quot;:\r\n    Profiles.AllergyIntolerance\r\n\r\ndefine &amp;quot;SDE BodyStructure&amp;quot;:\r\n    Profiles.BodyStructure\r\n\r\ndefine &amp;quot;SDE CarePlan&amp;quot;:\r\n    Profiles.CarePlan\r\n\r\ndefine &amp;quot;SDE CareTeam&amp;quot;:\r\n    Profiles.CareTeam\r\n\r\ndefine &amp;quot;SDE Claim&amp;quot;:\r\n    Profiles.Claim\r\n\r\ndefine &amp;quot;SDE Communication&amp;quot;:\r\n    Profiles.Communication\r\n\r\ndefine &amp;quot;SDE CommunicationNotDone&amp;quot;:\r\n    Profiles.CommunicationNotDone\r\n\r\ndefine &amp;quot;SDE CommunicationRequest&amp;quot;:\r\n    Profiles.CommunicationRequest\r\n\r\ndefine &amp;quot;SDE Condition&amp;quot;:\r\n    Profiles.Condition\r\n\r\ndefine &amp;quot;SDE Coverage&amp;quot;:\r\n    Profiles.Coverage\r\n\r\ndefine &amp;quot;SDE Device&amp;quot;:\r\n    Profiles.Device\r\n\r\ndefine &amp;quot;SDE DeviceNotRequested&amp;quot;:\r\n    Profiles.DeviceNotRequested\r\n\r\ndefine &amp;quot;SDE DeviceRequest&amp;quot;:\r\n    Profiles.DeviceRequest\r\n\r\ndefine &amp;quot;SDE DeviceUseStatement&amp;quot;:\r\n    Profiles.DeviceUseStatement\r\n\r\ndefine &amp;quot;SDE DiagnosticReportLab&amp;quot;:\r\n    Profiles.DiagnosticReportLab\r\n\r\ndefine &amp;quot;SDE DiagnosticReportNote&amp;quot;:\r\n    Profiles.DiagnosticReportNote\r\n\r\ndefine &amp;quot;SDE Encounter&amp;quot;:\r\n    Profiles.Encounter\r\n\r\ndefine &amp;quot;SDE EncounterPerformed&amp;quot;:\r\n    Profiles.EncounterPerformed\r\n\r\ndefine &amp;quot;SDE FamilyMemberHistory&amp;quot;:\r\n    Profiles.FamilyMemberHistory\r\n\r\ndefine &amp;quot;SDE Flag&amp;quot;:\r\n    Profiles.Flag\r\n\r\ndefine &amp;quot;SDE Goal&amp;quot;:\r\n    Profiles.Goal\r\n\r\ndefine &amp;quot;SDE ImagingStudy&amp;quot;:\r\n    Profiles.ImagingStudy\r\n\r\ndefine &amp;quot;SDE Immunization&amp;quot;:\r\n    Profiles.Immunization\r\n\r\ndefine &amp;quot;SDE ImmunizationEvaluation&amp;quot;:\r\n    Profiles.ImmunizationEvaluation\r\n\r\ndefine &amp;quot;SDE ImmunizationNotDone&amp;quot;:\r\n    Profiles.ImmunizationNotDone\r\n\r\ndefine &amp;quot;SDE ImmunizationRecommendation&amp;quot;:\r\n    Profiles.ImmunizationRecommendation\r\n\r\ndefine &amp;quot;SDE ImplantableDevice&amp;quot;:\r\n    Profiles.ImplantableDevice\r\n\r\ndefine &amp;quot;SDE Location&amp;quot;:\r\n    Profiles.Location\r\n\r\ndefine &amp;quot;SDE Medication&amp;quot;:\r\n    Profiles.Medication\r\n\r\ndefine &amp;quot;SDE MedicationAdministration&amp;quot;:\r\n    Profiles.MedicationAdministration\r\n\r\ndefine &amp;quot;SDE MedicationAdministrationNotDone&amp;quot;:\r\n    Profiles.MedicationAdministrationNotDone\r\n\r\ndefine &amp;quot;SDE MedicationDispense&amp;quot;:\r\n    Profiles.MedicationDispense\r\n\r\ndefine &amp;quot;SDE MedicationDispenseDeclined&amp;quot;:\r\n    Profiles.MedicationDispenseDeclined\r\n\r\ndefine &amp;quot;SDE MedicationNotRequested&amp;quot;:\r\n    Profiles.MedicationNotRequested\r\n\r\ndefine &amp;quot;SDE MedicationRequest&amp;quot;:\r\n    Profiles.MedicationRequest\r\n\r\ndefine &amp;quot;SDE MedicationStatement&amp;quot;:\r\n    Profiles.MedicationStatement\r\n\r\ndefine &amp;quot;SDE NutritionOrder&amp;quot;:\r\n    Profiles.NutritionOrder\r\n\r\ndefine &amp;quot;SDE Observation&amp;quot;:\r\n    Profiles.Observation\r\n\r\ndefine &amp;quot;SDE ObservationCancelled&amp;quot;:\r\n    Profiles.ObservationCancelled\r\n\r\ndefine &amp;quot;SDE Organization&amp;quot;:\r\n    Profiles.Organization\r\n\r\ndefine &amp;quot;SDE Patient&amp;quot;:\r\n    Profiles.Patient\r\n\r\ndefine &amp;quot;SDE Practitioner&amp;quot;:\r\n    Profiles.Practitioner\r\n\r\ndefine &amp;quot;SDE PractitionerRole&amp;quot;:\r\n    Profiles.PractitionerRole\r\n\r\ndefine &amp;quot;SDE Procedure&amp;quot;:\r\n    Profiles.Procedure\r\n\r\ndefine &amp;quot;SDE ProcedurePerformed&amp;quot;:\r\n    Profiles.ProcedurePerformed\r\n\r\ndefine &amp;quot;SDE ProcedureNotDone&amp;quot;:\r\n    Profiles.ProcedureNotDone\r\n\r\ndefine &amp;quot;SDE RelatedPerson&amp;quot;:\r\n    Profiles.RelatedPerson\r\n\r\ndefine &amp;quot;SDE ServiceNotRequested&amp;quot;:\r\n    Profiles.ServiceNotRequested\r\n\r\ndefine &amp;quot;SDE ServiceRequest&amp;quot;:\r\n    Profiles.ServiceRequest\r\n\r\ndefine &amp;quot;SDE Specimen&amp;quot;:\r\n    Profiles.Specimen\r\n\r\ndefine &amp;quot;SDE Substance&amp;quot;:\r\n    Profiles.Substance\r\n\r\ndefine &amp;quot;SDE Task&amp;quot;:\r\n    Profiles.Task\r\n\r\ndefine &amp;quot;SDE TaskRejected&amp;quot;:\r\n    Profiles.TaskRejected</code></pre></td></tr>\n            </table>\n          </td>\n        </tr>\n        \n        \n        \n    </table>\n</div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Device/cqf-tooling" ]     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://cms.gov/fhir/mct/Library/QiCoreProfileValidation"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "QiCoreProfileValidation"] ; # 
  fhir:title [ fhir:v "QiCore Profile Validation"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  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 "2024-06-26T17:57:59+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International - [Some] Work Group"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://hl7.org/Special/committees/[something]" ]     ] )
  ] ) ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "US" ]     ] )
  ] ) ; # 
  fhir:content ( [
fhir:contentType [ fhir:v "text/cql" ] ;
fhir:data [ fhir:v "bGlicmFyeSBRaUNvcmVQcm9maWxlVmFsaWRhdGlvbiB2ZXJzaW9uICcxLjAuMCcNCg0KdXNpbmcgRkhJUiB2ZXJzaW9uICc0LjAuMScNCg0KaW5jbHVkZSBGSElSSGVscGVycyB2ZXJzaW9uICc0LjAuMScNCmluY2x1ZGUgUWlDb3JlUHJvZmlsZVBhdHRlcm5zIHZlcnNpb24gJzEuMC4wJyBjYWxsZWQgUHJvZmlsZXMNCg0KY29udGV4dCBQYXRpZW50DQoNCmRlZmluZSAiSW5pdGlhbCBQb3B1bGF0aW9uIjogdHJ1ZQ0KDQpkZWZpbmUgIlNERSBBZHZlcnNlRXZlbnQiOg0KICAgIFByb2ZpbGVzLkFkdmVyc2VFdmVudA0KDQpkZWZpbmUgIlNERSBBbGxlcmd5SW50b2xlcmFuY2UiOg0KICAgIFByb2ZpbGVzLkFsbGVyZ3lJbnRvbGVyYW5jZQ0KDQpkZWZpbmUgIlNERSBCb2R5U3RydWN0dXJlIjoNCiAgICBQcm9maWxlcy5Cb2R5U3RydWN0dXJlDQoNCmRlZmluZSAiU0RFIENhcmVQbGFuIjoNCiAgICBQcm9maWxlcy5DYXJlUGxhbg0KDQpkZWZpbmUgIlNERSBDYXJlVGVhbSI6DQogICAgUHJvZmlsZXMuQ2FyZVRlYW0NCg0KZGVmaW5lICJTREUgQ2xhaW0iOg0KICAgIFByb2ZpbGVzLkNsYWltDQoNCmRlZmluZSAiU0RFIENvbW11bmljYXRpb24iOg0KICAgIFByb2ZpbGVz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