32 | default Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0)
33 |
34 | context Patient
35 |
36 | define "SDE Ethnicity":
37 | SDE."SDE Ethnicity"
38 |
39 | define "SDE Payer":
40 | SDE."SDE Payer"
41 |
42 | define "SDE Race":
43 | SDE."SDE Race"
44 |
45 | define "SDE Sex":
46 | SDE."SDE Sex"
47 |
48 | define "Initial Population":
49 | Patient.gender = 'female'
50 | and Global."CalendarAgeInYearsAt"(FHIRHelpers.ToDate(Patient.birthDate), start of "Measurement Period") in Interval[23, 64]
51 | and exists AdultOutpatientEncounters."Qualifying Encounters"
52 |
53 | define "Denominator":
54 | "Initial Population"
55 |
56 | define "Denominator Exclusion":
57 | Hospice."Has Hospice"
58 | or exists "Absence of Cervix"
59 |
60 | define "Absence of Cervix":
61 | ([Procedure: "Hysterectomy with No Residual Cervix"] NoCervixProcedure
62 | where Global."Normalize Interval"(NoCervixProcedure.performed) ends on or before end of "Measurement Period"
63 | and NoCervixProcedure.status = 'completed'
64 | )
65 | union [Condition : "Congenital absence of cervix (disorder)"] NoCervixBirth
66 | where Global."Normalize Interval"(NoCervixBirth.onset) starts on or before end of "Measurement Period"
67 | // and NoCervixBirth.clinicalStatus ~ ToConcept(Global."active") because this is an excluion, all statuses are acceptable
68 |
69 | define "Numerator":
70 | exists "Cervical Cytology Within 3 Years"
71 | or exists "HPV Test Within 5 Years for Women Age 30 and Older"
72 |
73 | define "Cervical Cytology Within 3 Years":
74 | [Observation: "Pap Test"] CervicalCytology
75 | where CervicalCytology.value is not null
76 | and CervicalCytology.status in { 'final', 'amended', 'corrected', 'preliminary' }
77 | and Global."Normalize Interval"(CervicalCytology.effective) ends 3 years or less on or before end of "Measurement Period"
78 |
79 | define "HPV Test Within 5 Years for Women Age 30 and Older":
80 | [Observation: "HPV Test"] HPVTest
81 | where HPVTest.value is not null
82 | and HPVTest.status in { 'final', 'amended', 'corrected', 'preliminary' }
83 | and Global."CalendarAgeInYearsAt"(FHIRHelpers.ToDate(Patient.birthDate), start of Global."Normalize Interval"(HPVTest.effective))>= 30
84 | and Global."Normalize Interval"(HPVTest.effective) ends 5 years or less on or before end of "Measurement Period"
85 |
--------------------------------------------------------------------------------
/instance-template-base.html:
--------------------------------------------------------------------------------
1 | ---
2 | # jekyll header
3 | ---
4 |
5 | {% include header.html %}
6 |
7 | {% include container-start.html %}
8 |
9 | {{[type]}}-{{[id]}}
10 |
11 |
12 | Formats: XML, JSON, Turtle
13 |
14 |
15 | {% include {{[type]}}-{{[name]}}.xhtml %}
16 |
17 | {% include container-end.html %}
18 |
19 | {% include footer.html %}
--------------------------------------------------------------------------------
/instance-template-example.html:
--------------------------------------------------------------------------------
1 | ---
2 | # jekyll header
3 | ---
4 |
5 | {% include header.html %}
6 |
7 | {% include container-start.html %}
8 |
9 | Example: {{[type]}}-{{[id]}}
10 |
11 |
12 | Formats: XML, JSON, Turtle
13 |
14 |
15 | {% include {{[type]}}-{{[name]}}.xhtml %}
16 |
17 | {% include container-end.html %}
18 |
19 | {% include footer.html %}
--------------------------------------------------------------------------------
/instance-template-format.html:
--------------------------------------------------------------------------------
1 | ---
2 | # jekyll header
3 | ---
4 |
5 | {% include header.html %}
6 |
7 | {% include container-start.html %}
8 |
9 | {{[title]}}
10 |
11 | {% include {{[type]}}-{{[name]}}.xhtml %}
12 |
13 | {% include container-end.html %}
14 |
15 | {% include footer.html %}
--------------------------------------------------------------------------------
/instance-template-sd-definitions.html:
--------------------------------------------------------------------------------
1 | ---
2 | # jekyll header
3 | ---
4 |
5 | {% include header.html %}
6 |
7 | {% include container-start.html %}
8 |
9 |
17 |
18 |
19 | D.4.1.4 StructureDefinition: {{[id]}} - Detailed Descriptions
20 |
21 |
22 |
23 |
24 |
25 | Definitions for the {{[type]}}-{{[id]}} Profile.
26 |
27 | {% include {{[type]}}-{{[id]}}-dict.xhtml %}
28 |
29 | {% include container-end.html %}
30 |
31 | {% include footer.html %}
--------------------------------------------------------------------------------
/instance-template-sd-mappings.html:
--------------------------------------------------------------------------------
1 | ---
2 | # jekyll header
3 | ---
4 |
5 | {% include header.html %}
6 |
7 | {% include container-start.html %}
8 |
9 |
17 |
18 |
19 | D.4.1.4 StructureDefinition: {{[id]}} - Mappings
20 |
21 |
22 |
23 |
24 |
25 | Mappings for the {{[type]}}-{{[id]}} Profile.
26 |
27 | {% include {{[type]}}-{{[id]}}-maps.xhtml %}
28 |
29 | {% include container-end.html %}
30 |
31 | {% include footer.html %}
--------------------------------------------------------------------------------
/instance-template-valueset.html:
--------------------------------------------------------------------------------
1 | ---
2 | # jekyll header
3 | ---
4 |
5 | {% include header.html %}
6 |
7 | {% include container-start.html %}
8 |
9 | Valueset: {{[id]}}
10 |
11 | {% include {{[type]}}-{{[id]}}-summary.xhtml %}
12 |
13 | This value set is used by:
14 |
15 | {% include {{[type]}}-{{[id]}}-xref.xhtml %}
16 |
17 | {% include {{[type]}}-{{[id]}}-cld.xhtml %}
18 |
19 | Expansion
20 |
21 | {% include {{[type]}}-{{[id]}}-expansion.xhtml %}
22 |
23 | {% include footer.html %}
--------------------------------------------------------------------------------
/org.hl7.fhir.publisher.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cqframework/draft-measures/b4c6829c0a91f48171964f09d587acb834c332b3/org.hl7.fhir.publisher.jar
--------------------------------------------------------------------------------
/package-list.json:
--------------------------------------------------------------------------------
1 | {
2 | "package-id": "hl7.fhir.us.draftmeasures",
3 | "title": "Clinical Quality Framework Draft Measure Content",
4 | "canonical": "http://hl7.org/fhir/us/draftmeasures",
5 | "introduction": "This implementation guide provides draft measure content. Measures in this implementation guide are examples and works in progress and should not be considered final specifications or recommendations for clinical guidance. These examples will help guide and direct the process of finding conventions and usage patterns that meet the needs of the various stakeholders in the measure development community.",
6 | "list": [
7 | {
8 | "version": "current",
9 | "desc": "Continuous Integration Build for FHIR STU3 (latest in version control)",
10 | "path": "http://build.fhir.org/ig/HL7/draftmeasures",
11 | "status": "ci-build",
12 | "current": true
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/pages/_includes/container-end.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/pages/_includes/container-start.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | - Draft Measures
6 | Publish Box goes here
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/pages/_includes/footer.html:
--------------------------------------------------------------------------------
1 |
20 |
21 |
22 |
23 |
24 |
28 |
29 |
30 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
41 |