Package | example.fhir.uv.mycontentig |
Type | Measure |
Id | Id |
FHIR Version | R4 |
Source | http://somewhere.org/fhir/uv/mycontentig/https://build.fhir.org/ig/cqframework/sample-content-ig/Measure-QuestionnaireMeasureExample.html |
Url | http://somewhere.org/fhir/uv/mycontentig/Measure/QuestionnaireMeasureExample |
Version | 0.4.4 |
Status | draft |
Date | 2024-05-05T18:40:05-07:00 |
Name | QuestionnaireMeasureExample |
Title | Questionnaire Measure Example |
Experimental | True |
Realm | uv |
Authority | hl7 |
Description | Example measure illustrating a continuous variable measure calculating scores from multiple questionnaires |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Title: | Questionnaire Measure Example | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Id: | QuestionnaireMeasureExample | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Version: | 0.4.4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Url: | Questionnaire Measure Example | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Status: | draft | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Experimental: | true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Publisher: | HL7 International - [Some] Work Group | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description: | Example measure illustrating a continuous variable measure calculating scores from multiple questionnaires |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Jurisdiction: | 001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Scoring: |
Continuous Variable |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Type: |
process |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Improvement Notation: |
increase |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Libraries: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Terminology and Other Dependencies: |
http://hl7.org/fhir/Library/FHIRHelpers|4.0.1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Parameters: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DataRequirements: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Direct Reference Codes: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Logic Definitions: |
|
{
"resourceType" : "Measure",
"id" : "QuestionnaireMeasureExample",
"meta" : {
"profile" : [
"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"
]
},
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table class=\"grid dict\">\n \n <tr>\n <th scope=\"row\"><b>Title: </b></th>\n <td style=\"padding-left: 4px;\">Questionnaire Measure Example</td>\n </tr>\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Id: </b></th>\n <td style=\"padding-left: 4px;\">QuestionnaireMeasureExample</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Version: </b></th>\n <td style=\"padding-left: 4px;\">0.4.4</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Url: </b></th>\n <td style=\"padding-left: 4px;\"><a href=\"Measure-QuestionnaireMeasureExample.html\">Questionnaire Measure Example</a></td>\n </tr>\n \n\n \n\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>Experimental: </b></th>\n <td style=\"padding-left: 4px;\">true</td>\n </tr>\n \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 \n <tr>\n <th scope=\"row\"><b>Description: </b></th>\n <td style=\"padding-left: 4px;\"><div><p>Example measure illustrating a continuous variable measure calculating scores from multiple questionnaires</p>\n</div></td>\n </tr>\n \n\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Jurisdiction: </b></th>\n <td style=\"padding-left: 4px;\">001</td>\n </tr>\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Scoring: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n <p style=\"margin-bottom: 5px;\">\n <span>Continuous Variable </span>\n </p>\n \n \n \n </td>\n </tr>\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Type: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n <p style=\"margin-bottom: 5px;\">\n <span>process </span>\n </p>\n \n \n \n </td>\n </tr>\n \n\n \n\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Improvement Notation: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n <p style=\"margin-bottom: 5px;\">\n <span>increase </span>\n </p>\n \n \n \n </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>Libraries: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n \n <tr>\n <td><a href=\"Library-QuestionnaireMeasureExample.html\">Measure calculating scores from multiple questionnaires example</a></td>\n </tr>\n \n </table>\n </td>\n </tr>\n \n\n \n\n \n \n <tr>\n <th scope=\"row\"><b>Terminology and Other Dependencies: </b></th>\n <td style=\"padding-left: 4px;\">\n \n <li><a href=\"Library-PHQ9LogicExample.html\">PHQ-9 Depression Scoring Logic Example</a></li>\n \n <li><code>http://hl7.org/fhir/Library/FHIRHelpers|4.0.1</code></li>\n \n <li><a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-v3-loinc.html\">Logical Observation Identifiers, Names and Codes (LOINC)</a></li>\n \n </td>\n </tr>\n <tr>\n <th scope=\"row\"><b>Parameters:</b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr>\n <th><b>name</b></th>\n <th><b>use</b></th>\n <th><b>min</b></th>\n <th><b>max</b></th>\n <th><b>type</b></th>\n </tr>\n \n <tr>\n <td>Measurement Period</td>\n <td>In</td>\n <td>0</td>\n <td>1</td>\n <td>Period</td>\n </tr>\n \n <tr>\n <td>Initial Population</td>\n <td>Out</td>\n <td>0</td>\n <td>1</td>\n <td>boolean</td>\n </tr>\n \n <tr>\n <td>Measure Population</td>\n <td>Out</td>\n <td>0</td>\n <td>1</td>\n <td>boolean</td>\n </tr>\n \n </table>\n </td>\n </tr>\n\n <tr>\n <th scope=\"row\"><b>DataRequirements:</b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr>\n <th><b>Resource Type</b></th>\n <th><b>Resource Elements</b></th>\n <th><b>Valueset Name</b></th>\n <th><b>Valueset</b></th>\n </tr>\n \n <tr>\n <td>Patient(<a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a>)</td>\n <td>\n \n </td>\n <td>\n \n </td>\n <td/>\n </tr>\n \n </table>\n </td>\n </tr>\n\n \n <tr>\n <th scope=\"row\"><b>Direct Reference Codes:</b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr>\n <th><b>display</b></th>\n <th><b>code</b></th>\n <th><b>system</b></th>\n </tr>\n \n <tr>\n <td/>\n <td>LA6568-5</td>\n <td><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v3-loinc.html\">http://loinc.org</a></td>\n </tr>\n \n <tr>\n <td/>\n <td>LA6569-3</td>\n <td><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v3-loinc.html\">http://loinc.org</a></td>\n </tr>\n \n <tr>\n <td/>\n <td>LA6570-1</td>\n <td><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v3-loinc.html\">http://loinc.org</a></td>\n </tr>\n \n <tr>\n <td/>\n <td>LA6571-9</td>\n <td><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v3-loinc.html\">http://loinc.org</a></td>\n </tr>\n \n </table>\n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Logic Definitions:</b></th>\n <td style=\"padding-left: 4px;\">\n \n <table class=\"grid-dict\">\n <tr>\n <th><b>Group</b></th>\n <th><b>Scoring</b></th>\n <th><b>Population Criteria</b></th>\n <th><b>Expression</b></th>\n </tr>\n <tr>\n \n <td> group-1 </td>\n <td colspan=\"3\" style=\"padding-left: 4px;\">\n \n\n \n\n \n <b>Measure scoring:</b>\n \n <p style=\"margin-bottom: 5px;\">\n <span>Continuous Variable</span>\n </p>\n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n </td>\n \n <tr>\n <td/>\n <td/>\n <td>Initial Population</td>\n <td>\n \n <pre><code class=\"language-cql\">define "Initial Population":\n AgeInYearsAt(start of "Measurement Period") >= 18</code></pre>\n \n </td>\n </tr>\n \n <tr>\n <td/>\n <td/>\n <td>Measure Population</td>\n <td>\n \n <pre><code class=\"language-cql\">// Likely some condition or other relevant characteristic such as a depression diagnosis\ndefine "Measure Population":\n true</code></pre>\n \n </td>\n </tr>\n \n <tr>\n <td/>\n <td/>\n <td>Measure Observation</td>\n <td>\n \n <pre><code class=\"language-cql\">/*\nMeasure observation is a function defined in terms of the types of members of the measure\npopulation, Patient in this case. In a population evaluation scenario, the measure\nobservation is evaluated for every member of the population.\n\nIn an individual report scenario, however, the measure observation is evaluated for\nthe current patient. Note that the patient context is flowing through the call here\n*/\ndefine function "MeasureObservation"(patient Patient):\n PHQ9Logic.CalculateTotalScore</code></pre>\n \n </td>\n </tr>\n \n \n \n </tr>\n </table>\n \n\n <table class=\"grid-dict\">\n \n <tr>\n <th><b>Library Name</b></th>\n <th><b>Name</b></th>\n </tr>\n <tr>\n \n <td>PHQ9LogicExample</td>\n \n \n <td>QuestionnaireResponse</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">// Use the QuestionnaireResponse provided as a parameter if available\n// Otherwise look it up from the record\ndefine "QuestionnaireResponse":\n if response is not null then\n response\n else\n Last(\n [QuestionnaireResponse] QR\n where QR.questionnaire = 'http://somewhere.org/fhir/uv/mycontentig/Questionnaire/phq-9-questionnaire'\n sort by (authored as FHIR.dateTime) desc\n )</code></pre>\n </td>\n \n </tr>\n \n <tr>\n <th><b>Library Name</b></th>\n <th><b>Name</b></th>\n </tr>\n <tr>\n \n <td>PHQ9LogicExample</td>\n \n \n <td>Responses</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">// NOTE: This ties this logic directly to this particular rendering of the Questionnaire.\n// Ideally the items would be filtered based on Code of the Item, rather than the LinkId,\n// but that would require pulling in the Questionnaire because the QuestionnaireResponse\n// only has the LinkId.\ndefine "Responses":\n "QuestionnaireResponse" QR\n return QR.item I where I.linkId in {\n 'LittleInterest',\n 'FeelingDown',\n 'TroubleSleeping',\n 'FeelingTired',\n 'BadApetite',\n 'FeelingBadAboutSelf',\n 'TroubleConcetrating',\n 'MovingSpeaking'\n }</code></pre>\n </td>\n \n </tr>\n \n <tr>\n <th><b>Library Name</b></th>\n <th><b>Name</b></th>\n </tr>\n <tr>\n \n <td>PHQ9LogicExample</td>\n \n \n <td>CalculateTotalScore</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define "CalculateTotalScore":\n Sum("Responses" R return all AnswerCardinality(First(R.answer.value)))</code></pre>\n </td>\n \n </tr>\n \n <tr>\n <th><b>Library Name</b></th>\n <th><b>Name</b></th>\n </tr>\n <tr>\n \n <td>QuestionnaireMeasureExample</td>\n \n \n <td>Initial Population</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Initial Population":\n AgeInYearsAt(start of "Measurement Period") >= 18</code></pre>\n </td>\n \n </tr>\n \n <tr>\n <th><b>Library Name</b></th>\n <th><b>Name</b></th>\n </tr>\n <tr>\n \n <td>QuestionnaireMeasureExample</td>\n \n \n <td>Measure Population</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">// Likely some condition or other relevant characteristic such as a depression diagnosis\ndefine "Measure Population":\n true</code></pre>\n </td>\n \n </tr>\n \n <tr>\n <th><b>Library Name</b></th>\n <th><b>Name</b></th>\n </tr>\n <tr>\n \n <td>QuestionnaireMeasureExample</td>\n \n \n <td>MeasureObservation</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\nMeasure observation is a function defined in terms of the types of members of the measure\npopulation, Patient in this case. In a population evaluation scenario, the measure\nobservation is evaluated for every member of the population.\n\nIn an individual report scenario, however, the measure observation is evaluated for\nthe current patient. Note that the patient context is flowing through the call here\n*/\ndefine function "MeasureObservation"(patient Patient):\n PHQ9Logic.CalculateTotalScore</code></pre>\n </td>\n \n </tr>\n \n <tr>\n <th><b>Library Name</b></th>\n <th><b>Name</b></th>\n </tr>\n <tr>\n \n <td>FHIRHelpers</td>\n \n \n <td>ToString</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define function ToString(value string): value.value</code></pre>\n </td>\n \n </tr>\n \n <tr>\n <th><b>Library Name</b></th>\n <th><b>Name</b></th>\n </tr>\n <tr>\n \n <td>PHQ9LogicExample</td>\n \n \n <td>AnswerCardinality</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@source: https://www.med.umich.edu/1info/FHP/practiceguides/depress/score.pdf\n*/\ndefine function "AnswerCardinality"(answer Coding):\n case\n when answer ~ "Not at all" then 0\n when answer ~ "Several days" then 1\n when answer ~ "More than half the days" then 2\n when answer ~ "Nearly every day" then 3\n else null\n end</code></pre>\n </td>\n \n </tr>\n \n <tr>\n <th><b>Library Name</b></th>\n <th><b>Name</b></th>\n </tr>\n <tr>\n \n <td>FHIRHelpers</td>\n \n \n <td>ToCode</td>\n \n </tr>\n <tr>\n \n <td/>\n <td>\n <pre class=\"highlight language-cql\"><code class=\"language-cql\">define function ToCode(coding FHIR.Coding):\n if coding is null then\n null\n else\n System.Code {\n code: coding.code.value,\n system: coding.system.value,\n version: coding.version.value,\n display: coding.display.value\n }</code></pre>\n </td>\n \n </tr>\n \n </table>\n </td>\n </tr>\n \n \n \n\n </table>\n</div>"
},
"contained" : [
{
"resourceType" : "Library",
"id" : "effective-data-requirements",
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://loinc.org",
"code" : "LA6568-5"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://loinc.org",
"code" : "LA6569-3"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://loinc.org",
"code" : "LA6570-1"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://loinc.org",
"code" : "LA6571-9"
}
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "PHQ9LogicExample"
},
{
"url" : "name",
"valueString" : "QuestionnaireResponse"
},
{
"url" : "statement",
"valueString" : "// Use the QuestionnaireResponse provided as a parameter if available\n// Otherwise look it up from the record\ndefine \"QuestionnaireResponse\":\n if response is not null then\n response\n else\n Last(\n [QuestionnaireResponse] QR\n where QR.questionnaire = 'http://somewhere.org/fhir/uv/mycontentig/Questionnaire/phq-9-questionnaire'\n sort by (authored as FHIR.dateTime) desc\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 0
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "PHQ9LogicExample"
},
{
"url" : "name",
"valueString" : "Responses"
},
{
"url" : "statement",
"valueString" : "// NOTE: This ties this logic directly to this particular rendering of the Questionnaire.\n// Ideally the items would be filtered based on Code of the Item, rather than the LinkId,\n// but that would require pulling in the Questionnaire because the QuestionnaireResponse\n// only has the LinkId.\ndefine \"Responses\":\n \"QuestionnaireResponse\" QR\n return QR.item I where I.linkId in {\n 'LittleInterest',\n 'FeelingDown',\n 'TroubleSleeping',\n 'FeelingTired',\n 'BadApetite',\n 'FeelingBadAboutSelf',\n 'TroubleConcetrating',\n 'MovingSpeaking'\n }"
},
{
"url" : "displaySequence",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "PHQ9LogicExample"
},
{
"url" : "name",
"valueString" : "CalculateTotalScore"
},
{
"url" : "statement",
"valueString" : "define \"CalculateTotalScore\":\n Sum(\"Responses\" R return all AnswerCardinality(First(R.answer.value)))"
},
{
"url" : "displaySequence",
"valueInteger" : 2
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "QuestionnaireMeasureExample"
},
{
"url" : "name",
"valueString" : "Initial Population"
},
{
"url" : "statement",
"valueString" : "define \"Initial Population\":\n AgeInYearsAt(start of \"Measurement Period\") >= 18"
},
{
"url" : "displaySequence",
"valueInteger" : 3
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "QuestionnaireMeasureExample"
},
{
"url" : "name",
"valueString" : "Measure Population"
},
{
"url" : "statement",
"valueString" : "// Likely some condition or other relevant characteristic such as a depression diagnosis\ndefine \"Measure Population\":\n true"
},
{
"url" : "displaySequence",
"valueInteger" : 4
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "QuestionnaireMeasureExample"
},
{
"url" : "name",
"valueString" : "MeasureObservation"
},
{
"url" : "statement",
"valueString" : "/*\nMeasure observation is a function defined in terms of the types of members of the measure\npopulation, Patient in this case. In a population evaluation scenario, the measure\nobservation is evaluated for every member of the population.\n\nIn an individual report scenario, however, the measure observation is evaluated for\nthe current patient. Note that the patient context is flowing through the call here\n*/\ndefine function \"MeasureObservation\"(patient Patient):\n PHQ9Logic.CalculateTotalScore"
},
{
"url" : "displaySequence",
"valueInteger" : 5
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToString"
},
{
"url" : "statement",
"valueString" : "define function ToString(value string): value.value"
},
{
"url" : "displaySequence",
"valueInteger" : 6
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "PHQ9LogicExample"
},
{
"url" : "name",
"valueString" : "AnswerCardinality"
},
{
"url" : "statement",
"valueString" : "/*\n@source: https://www.med.umich.edu/1info/FHP/practiceguides/depress/score.pdf\n*/\ndefine function \"AnswerCardinality\"(answer Coding):\n case\n when answer ~ \"Not at all\" then 0\n when answer ~ \"Several days\" then 1\n when answer ~ \"More than half the days\" then 2\n when answer ~ \"Nearly every day\" then 3\n else null\n end"
},
{
"url" : "displaySequence",
"valueInteger" : 7
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToCode"
},
{
"url" : "statement",
"valueString" : "define function ToCode(coding FHIR.Coding):\n if coding is null then\n null\n else\n System.Code {\n code: coding.code.value,\n system: coding.system.value,\n version: coding.version.value,\n display: coding.display.value\n }"
},
{
"url" : "displaySequence",
"valueInteger" : 8
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
}
],
"name" : "EffectiveDataRequirements",
"status" : "active",
"type" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/library-type",
"code" : "module-definition"
}
]
},
"relatedArtifact" : [
{
"type" : "depends-on",
"display" : "Library PHQ9Logic",
"resource" : "http://somewhere.org/fhir/uv/mycontentig/Library/PHQ9LogicExample"
},
{
"type" : "depends-on",
"display" : "Library FHIRHelpers",
"resource" : "http://hl7.org/fhir/Library/FHIRHelpers|4.0.1"
},
{
"type" : "depends-on",
"display" : "Code system LOINC",
"resource" : "http://loinc.org"
}
],
"parameter" : [
{
"name" : "Measurement Period",
"use" : "in",
"min" : 0,
"max" : "1",
"type" : "Period"
},
{
"name" : "Initial Population",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "boolean"
},
{
"name" : "Measure Population",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "boolean"
}
],
"dataRequirement" : [
{
"type" : "Patient",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Patient"
]
}
]
}
],
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem",
"valueReference" : {
"reference" : "Device/cqf-tooling"
}
},
{
"id" : "effective-data-requirements",
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements",
"valueReference" : {
"reference" : "#effective-data-requirements"
}
}
],
"url" : "http://somewhere.org/fhir/uv/mycontentig/Measure/QuestionnaireMeasureExample",
"version" : "0.4.4",
"name" : "QuestionnaireMeasureExample",
"title" : "Questionnaire Measure Example",
"status" : "draft",
"experimental" : true,
"date" : "2024-05-05T18:40:05-07:00",
"publisher" : "HL7 International - [Some] Work Group",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://hl7.org/Special/committees/[something]"
}
]
}
],
"description" : "Example measure illustrating a continuous variable measure calculating scores from multiple questionnaires",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"library" : [
"http://somewhere.org/fhir/uv/mycontentig/Library/QuestionnaireMeasureExample"
],
"scoring" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code" : "continuous-variable",
"display" : "Continuous Variable"
}
]
},
"type" : [
{
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-type",
"code" : "process"
}
]
}
],
"improvementNotation" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code" : "increase"
}
]
},
"group" : [
{
"id" : "group-1",
"population" : [
{
"id" : "8A48538B-80BB-4E8B-9716-559C657278FD",
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "initial-population",
"display" : "Initial Population"
}
]
},
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Initial Population"
}
},
{
"id" : "8FBD6CFA-99E4-4108-B083-91067C55170E",
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-population",
"display" : "Measure Population"
}
]
},
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Measure Population"
}
},
{
"id" : "8B71AD15-47EB-4939-8318-1DF60CABCFD6",
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod",
"valueCode" : "average"
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference",
"valueString" : "8FBD6CFA-99E4-4108-B083-91067C55170E"
}
],
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-observation",
"display" : "Measure Observation"
}
]
},
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "MeasureObservation"
}
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.