diff --git a/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_2_0/5812-fix-incorrect-resource-version.yaml b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_2_0/5812-fix-incorrect-resource-version.yaml new file mode 100644 index 00000000000..a2b12aa1118 --- /dev/null +++ b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_2_0/5812-fix-incorrect-resource-version.yaml @@ -0,0 +1,4 @@ +--- +type: fix +issue: 5812 +title: "Previously, the 'planDefinition' resource parameter for the Dstu3 version of PlanDefinition/$apply was incorrectly defined as an R4 resource. This issue has been fixed." diff --git a/hapi-fhir-jpaserver-test-utilities/src/main/java/ca/uhn/fhir/jpa/test/config/TestDstu3Config.java b/hapi-fhir-jpaserver-test-utilities/src/main/java/ca/uhn/fhir/jpa/test/config/TestDstu3Config.java index 05a7a223779..a903603d3b9 100644 --- a/hapi-fhir-jpaserver-test-utilities/src/main/java/ca/uhn/fhir/jpa/test/config/TestDstu3Config.java +++ b/hapi-fhir-jpaserver-test-utilities/src/main/java/ca/uhn/fhir/jpa/test/config/TestDstu3Config.java @@ -175,13 +175,6 @@ public class TestDstu3Config { return dataSource; } - @Bean - public IEmailSender emailSender() { - final MailConfig mailConfig = new MailConfig().setSmtpHostname("localhost").setSmtpPort(3025); - final IMailSvc mailSvc = new MailSvc(mailConfig); - return new EmailSenderImpl(mailSvc); - } - @Bean public LocalContainerEntityManagerFactoryBean entityManagerFactory(ConfigurableListableBeanFactory theConfigurableListableBeanFactory, FhirContext theFhirContext, JpaStorageSettings theStorageSettings) { LocalContainerEntityManagerFactoryBean retVal = HapiEntityManagerFactoryUtil.newEntityManagerFactory(theConfigurableListableBeanFactory, theFhirContext, theStorageSettings); diff --git a/hapi-fhir-storage-cr/src/main/java/ca/uhn/fhir/cr/dstu3/plandefinition/PlanDefinitionApplyProvider.java b/hapi-fhir-storage-cr/src/main/java/ca/uhn/fhir/cr/dstu3/plandefinition/PlanDefinitionApplyProvider.java index e0224ba828e..972a79535b6 100644 --- a/hapi-fhir-storage-cr/src/main/java/ca/uhn/fhir/cr/dstu3/plandefinition/PlanDefinitionApplyProvider.java +++ b/hapi-fhir-storage-cr/src/main/java/ca/uhn/fhir/cr/dstu3/plandefinition/PlanDefinitionApplyProvider.java @@ -88,7 +88,7 @@ public class PlanDefinitionApplyProvider { @Operation(name = ProviderConstants.CR_OPERATION_APPLY, idempotent = true, type = PlanDefinition.class) public IBaseResource apply( @IdParam IdType theId, - @OperationParam(name = "planDefinition") org.hl7.fhir.r4.model.PlanDefinition thePlanDefinition, + @OperationParam(name = "planDefinition") PlanDefinition thePlanDefinition, @OperationParam(name = "canonical") String theCanonical, @OperationParam(name = "url") String theUrl, @OperationParam(name = "version") String theVersion, @@ -134,7 +134,7 @@ public class PlanDefinitionApplyProvider { @Operation(name = ProviderConstants.CR_OPERATION_APPLY, idempotent = true, type = PlanDefinition.class) public IBaseResource apply( - @OperationParam(name = "planDefinition") org.hl7.fhir.r4.model.PlanDefinition thePlanDefinition, + @OperationParam(name = "planDefinition") PlanDefinition thePlanDefinition, @OperationParam(name = "canonical") String theCanonical, @OperationParam(name = "url") String theUrl, @OperationParam(name = "version") String theVersion, diff --git a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/ActivityDefinitionOperationsProviderTest.java b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/ActivityDefinitionOperationsProviderTest.java new file mode 100644 index 00000000000..71692e2fac1 --- /dev/null +++ b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/ActivityDefinitionOperationsProviderTest.java @@ -0,0 +1,46 @@ +package ca.uhn.fhir.cr.dstu3; + + +import ca.uhn.fhir.cr.dstu3.activitydefinition.ActivityDefinitionApplyProvider; +import org.hl7.fhir.dstu3.model.BooleanType; +import org.hl7.fhir.dstu3.model.IdType; +import org.hl7.fhir.dstu3.model.ProcedureRequest; +import org.junit.jupiter.api.Test; +import org.springframework.beans.factory.annotation.Autowired; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class ActivityDefinitionOperationsProviderTest extends BaseCrDstu3TestServer { + + + @Autowired + ActivityDefinitionApplyProvider myActivityDefinitionApplyProvider; + @Test + void testActivityDefinitionApply() { + loadBundle("ca/uhn/fhir/cr/dstu3/Bundle-ActivityDefinitionTest.json"); + var requestDetails = setupRequestDetails(); + var result = myActivityDefinitionApplyProvider.apply( + new IdType("activityDefinition-test"), + null, + null, + "patient-1", + null, + null, + null, + null, + null, + null, + null, + null, + null, + new BooleanType(true), + null, + null, + null, + null, + requestDetails); + assertTrue(result instanceof ProcedureRequest); + ProcedureRequest request = (ProcedureRequest) result; + assertTrue(request.getDoNotPerform()); + } +} diff --git a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/BaseCrDstu3TestServer.java b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/BaseCrDstu3TestServer.java index de10ff63f25..617aba9223a 100644 --- a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/BaseCrDstu3TestServer.java +++ b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/BaseCrDstu3TestServer.java @@ -2,7 +2,7 @@ package ca.uhn.fhir.cr.dstu3; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.cr.IResourceLoader; -import ca.uhn.fhir.cr.dstu3.TestCrDstu3Config; +import ca.uhn.fhir.cr.config.dstu3.ApplyOperationConfig; import ca.uhn.fhir.jpa.api.config.JpaStorageSettings; import ca.uhn.fhir.jpa.api.dao.DaoRegistry; import ca.uhn.fhir.jpa.search.DatabaseBackedPagingProvider; @@ -18,22 +18,20 @@ import ca.uhn.fhir.test.utilities.JettyUtil; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClientBuilder; import org.apache.http.impl.conn.PoolingHttpClientConnectionManager; -import org.eclipse.jetty.server.Server; import org.eclipse.jetty.ee10.servlet.ServletContextHandler; import org.eclipse.jetty.ee10.servlet.ServletHolder; +import org.eclipse.jetty.server.Server; import org.hl7.fhir.dstu3.model.Bundle; import org.hl7.fhir.dstu3.model.Resource; -import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.ApplicationContext; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.test.context.ContextConfiguration; import java.util.List; import java.util.concurrent.TimeUnit; -@ContextConfiguration(classes = {TestCrDstu3Config.class}) +@ContextConfiguration(classes = {TestCrDstu3Config.class, ApplyOperationConfig.class}) public abstract class BaseCrDstu3TestServer extends BaseJpaDstu3Test implements IResourceLoader { public static IGenericClient ourClient; @@ -46,22 +44,12 @@ public abstract class BaseCrDstu3TestServer extends BaseJpaDstu3Test implements @Autowired protected DaoRegistry myDaoRegistry; - @Autowired - ApplicationContext myApplicationContext; private SimpleRequestHeaderInterceptor mySimpleHeaderInterceptor; - - @SuppressWarnings("deprecation") - @AfterEach - public void after() { - ourClient.unregisterInterceptor(mySimpleHeaderInterceptor); - myStorageSettings.setIndexMissingFields(new JpaStorageSettings().getIndexMissingFields()); - } @Autowired RestfulServer ourRestfulServer; @BeforeEach public void beforeStartServer() throws Exception { - ourServer = new Server(0); ServletContextHandler proxyHandler = new ServletContextHandler(); @@ -97,7 +85,6 @@ public abstract class BaseCrDstu3TestServer extends BaseJpaDstu3Test implements mySimpleHeaderInterceptor = new SimpleRequestHeaderInterceptor(); ourClient.registerInterceptor(mySimpleHeaderInterceptor); myStorageSettings.setIndexMissingFields(JpaStorageSettings.IndexEnabledEnum.DISABLED); - } @Override @@ -114,7 +101,6 @@ public abstract class BaseCrDstu3TestServer extends BaseJpaDstu3Test implements return loadBundle(Bundle.class, theLocation); } - public Bundle makeBundle(List theResources) { return makeBundle(theResources.toArray(new Resource[theResources.size()])); } diff --git a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/CrDstu3MeasureOperationProviderIT.java b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/MeasureOperationProviderTest.java similarity index 96% rename from hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/CrDstu3MeasureOperationProviderIT.java rename to hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/MeasureOperationProviderTest.java index 6232949ded8..45d9161dfca 100644 --- a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/CrDstu3MeasureOperationProviderIT.java +++ b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/MeasureOperationProviderTest.java @@ -28,8 +28,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; @ContextConfiguration(classes = {TestCrDstu3Config.class}) -public class CrDstu3MeasureOperationProviderIT extends BaseCrDstu3TestServer { - private static final Logger ourLog = LoggerFactory.getLogger(CrDstu3MeasureOperationProviderIT.class); +public class MeasureOperationProviderTest extends BaseCrDstu3TestServer { + private static final Logger ourLog = LoggerFactory.getLogger(MeasureOperationProviderTest.class); @Autowired MeasureOperationsProvider myMeasureOperationsProvider; diff --git a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/PlanDefinitionOperationsProviderTest.java b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/PlanDefinitionOperationsProviderTest.java new file mode 100644 index 00000000000..c8b493b57ad --- /dev/null +++ b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/PlanDefinitionOperationsProviderTest.java @@ -0,0 +1,41 @@ +package ca.uhn.fhir.cr.dstu3; + +import ca.uhn.fhir.cr.dstu3.plandefinition.PlanDefinitionApplyProvider; +import org.hl7.fhir.dstu3.model.BooleanType; +import org.hl7.fhir.dstu3.model.CarePlan; +import org.hl7.fhir.dstu3.model.IdType; +import org.hl7.fhir.dstu3.model.PlanDefinition; +import org.hl7.fhir.dstu3.model.RequestGroup; +import org.junit.jupiter.api.Test; +import org.springframework.beans.factory.annotation.Autowired; + +import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; + +public class PlanDefinitionOperationsProviderTest extends BaseCrDstu3TestServer { + @Autowired + PlanDefinitionApplyProvider myPlanDefinitionApplyProvider; + + @Test + void testApply() { + loadBundle("ca/uhn/fhir/cr/dstu3/hello-world/hello-world-patient-view-bundle.json"); + loadBundle("ca/uhn/fhir/cr/dstu3/hello-world/hello-world-patient-data.json"); + var planDefinition = (PlanDefinition) read(new IdType("PlanDefinition", "hello-world-patient-view")); + + var requestDetails = setupRequestDetails(); + var patientId = "Patient/helloworld-patient-1"; + var result = (CarePlan) myPlanDefinitionApplyProvider.apply(null, planDefinition, null, null, null, patientId, + null, null, null, null, null, + null, null, null, null, new BooleanType(true), null, + null, null, null, + requestDetails); + + assertNotNull(result); + assertEquals(patientId, result.getSubject().getReference()); + assertEquals(1, result.getContained().size()); + var requestGroup = (RequestGroup) result.getContained().get(0); + assertEquals(1, requestGroup.getAction().size()); + var action = requestGroup.getAction().get(0); + assertEquals("Hello World!", action.getTitle()); + } +} diff --git a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/TestCrDstu3Config.java b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/TestCrDstu3Config.java index 67a8c1a6f82..c42317903b6 100644 --- a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/TestCrDstu3Config.java +++ b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/dstu3/TestCrDstu3Config.java @@ -6,7 +6,6 @@ import ca.uhn.fhir.cr.TestCrConfig; import ca.uhn.fhir.cr.config.dstu3.CrDstu3Config; - import org.cqframework.cql.cql2elm.CqlCompilerOptions; import org.cqframework.cql.cql2elm.model.CompiledLibrary; import org.cqframework.cql.cql2elm.model.Model; @@ -30,9 +29,11 @@ import java.util.List; import java.util.Map; import java.util.Set; - @Configuration -@Import({TestCrConfig.class, CrDstu3Config.class}) +@Import({ + TestCrConfig.class, + CrDstu3Config.class +}) public class TestCrDstu3Config { @Bean diff --git a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/CareGapsProviderIT.java b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/CareGapsProviderTest.java similarity index 98% rename from hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/CareGapsProviderIT.java rename to hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/CareGapsProviderTest.java index 295e05758e1..b6911e35ae8 100644 --- a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/CareGapsProviderIT.java +++ b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/CareGapsProviderTest.java @@ -38,7 +38,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; * 6. Provider submits additional Patient data * 7. Provider invokes care-gaps (and discovers issues are closed). */ -class CareGapsProviderIT extends BaseCrR4TestServer +class CareGapsProviderTest extends BaseCrR4TestServer { diff --git a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/R4MeasureOperationProviderIT.java b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/MeasureOperationProviderTest.java similarity index 99% rename from hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/R4MeasureOperationProviderIT.java rename to hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/MeasureOperationProviderTest.java index 6cca834e17f..1b4e9aa7a71 100644 --- a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/R4MeasureOperationProviderIT.java +++ b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/MeasureOperationProviderTest.java @@ -20,7 +20,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; @ExtendWith(SpringExtension.class) -class R4MeasureOperationProviderIT extends BaseCrR4TestServer { +class MeasureOperationProviderTest extends BaseCrR4TestServer { public MeasureReport runEvaluateMeasure(String periodStart, String periodEnd, String subject, String measureId, String reportType, String practitioner){ @@ -160,6 +160,4 @@ class R4MeasureOperationProviderIT extends BaseCrR4TestServer { String.format("expected count for population \"%s\" did not match", populationName) ); } - - } diff --git a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/TestCrR4Config.java b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/TestCrR4Config.java index e142b5e7c7d..09071d6ca64 100644 --- a/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/TestCrR4Config.java +++ b/hapi-fhir-storage-cr/src/test/java/ca/uhn/fhir/cr/r4/TestCrR4Config.java @@ -160,6 +160,4 @@ public class TestCrR4Config { evaluationSettings.setValueSetCache(theGlobalValueSetCache); return evaluationSettings; } - - } diff --git a/hapi-fhir-storage-cr/src/test/resources/Exm104FhirR4MeasureBundle.json b/hapi-fhir-storage-cr/src/test/resources/Exm104FhirR4MeasureBundle.json index 96f35977412..cf4f743af30 100644 --- a/hapi-fhir-storage-cr/src/test/resources/Exm104FhirR4MeasureBundle.json +++ b/hapi-fhir-storage-cr/src/test/resources/Exm104FhirR4MeasureBundle.json @@ -261,6 +261,7 @@ ], "supplementalData": [ { + "id": "sde-ethnicity", "code": { "text": "sde-ethnicity" }, @@ -280,6 +281,7 @@ } }, { + "id": "sde-payer", "code": { "text": "sde-payer" }, @@ -299,6 +301,7 @@ } }, { + "id": "sde-race", "code": { "text": "sde-race" }, @@ -318,6 +321,7 @@ } }, { + "id": "sde-sex", "code": { "text": "sde-sex" }, @@ -357,7 +361,7 @@ ], "url": "http://localhost:8080/fhir/Library/EXM104", "version": "8.2.000", - "name": "library-EXM104", + "name": "EXM104", "status": "active", "experimental": true, "type": { diff --git a/hapi-fhir-storage-cr/src/test/resources/Exm105Fhir3Measure.json b/hapi-fhir-storage-cr/src/test/resources/Exm105Fhir3Measure.json index cc0cd100d6c..5cbb2deec54 100644 --- a/hapi-fhir-storage-cr/src/test/resources/Exm105Fhir3Measure.json +++ b/hapi-fhir-storage-cr/src/test/resources/Exm105Fhir3Measure.json @@ -12,10 +12,6 @@ "lastUpdated": "2019-12-04T17:52:12.092-07:00", "profile": [ "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm" ] }, - "text": { - "status": "generated", - "div": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
eCQM Title

Discharged on Statin Medication

eCQM Identifier (Measure Authoring Tool)105eCQM Version number8.1.000
NQF NumberNot ApplicableGUID1f503318-bb8d-4b91-af63-223ae0a2328e
Measurement PeriodJanuary 1, 20XX through December 31, 20XX
Measure StewardThe Joint Commission
Measure DeveloperThe Joint Commission
Endorsed ByNone
Description\r\n
\r\n
Ischemic stroke patients who are prescribed or continuing to take statin medication at hospital discharge
\r\n
Copyright\r\n
\r\n
LOINC(R) copyright 2004-2018 Regenstrief Institute, Inc. \r\n                This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2018 International Health Terminology Standards Development Organisation. All Rights Reserved.\r\n                \r\n                Measure specifications are in the Public Domain.
\r\n
Disclaimer\r\n
\r\n
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.
\r\n
Measure ScoringProportion
Measure TypeProcess
Stratification\r\n
\r\n
None
\r\n
Risk Adjustment\r\n
\r\n
None
\r\n
Rate Aggregation\r\n
\r\n
None
\r\n
Rationale\r\n
\r\n
There is an extensive and consistent body of evidence supporting the use of statins for secondary prevention in patients with clinically evident atherosclerotic cardiovascular disease (ASCVD), which includes individuals with ischemic stroke due to large artery atherosclerosis, individuals with ischemic stroke due to intrinsic small vessel disease, and individuals with ischemic stroke not directly due to atherosclerosis but with clinically evident atherosclerotic disease in an uninvolved cerebral or noncerebral bed.  Both women and men with clinical ASCVD are at increased risk for recurrent ASCVD and ASCVD death.  High-intensity statin therapy should be initiated or continued as first-line therapy in women and men less than or equal to 75 years of age who have clinical ASCVD, unless contraindicated. In patients with clinical ASCVD and a contraindication to high-intensity statin therapy, moderate-intensity therapy should be considered as an alternative if it can be tolerated.  In individuals greater than 75 years of age, the potential for ASCVD risk reduction benefits, adverse effects, drug-drug interactions, and patient preferences should be considered, and statin therapy individualized based on these considerations (Stone, 2013).
\r\n
Clinical Recommendation Statement\r\n
\r\n
For patients with stroke of atherosclerotic origin, intensive lipid lowering therapy with statins should be initiated
\r\n
Improvement Notation\r\n
\r\n
Improvement noted as an increase in rate
\r\n
Reference\r\n
\r\n
Amarenco, P., Bogousslavsky, J., Callahan, A., III, et al. (2006, August 10). High-dose atorvastatin after stroke or transient ischemic attack. New England Journal of Medicine, 355(6), 549-559. 
\r\n
Reference\r\n
\r\n
Biffi, A., Devan, W. J., Anderson, C. D., et al. (2011, May). Statin treatment and functional outcome after ischemic stroke: Case-control and meta-analysis. Stroke, 42(5), 1314-1319. 
\r\n
Reference\r\n
\r\n
Centers for Disease Control and Prevention. (2009, May 1). Prevalence and most common causes of disability among adults—United States, 2005. Morbidity and Mortality Weekly Report, 58(16), 421-426. 
\r\n
Reference\r\n
\r\n
Chan, P. S., Nallamothu, B. K., Gurm, H. S., et al. (2007, May 8). Incremental benefit and cost-effectiveness of high-dose statin therapy in high-risk patients with coronary artery disease. Circulation, 115(18), 2398-2409. 
\r\n
Reference\r\n
\r\n
Culver, A. L., Ockene, I. S., Balasubramanian, R., et al. (2012, January 23). Statin use and risk of diabetes mellitus in postmenopausal women in the Women's Health Initiative. Archives of Internal Medicine, 172(2),  144-152. 
\r\n
Reference\r\n
\r\n
Feher, A., Pusch, G., Koltai, K., et al. (2011, April 14). Statin therapy in the primary and the secondary prevention of ischaemic cerebrovascular diseases. International Journal of Cardiology, 148(2), 131-138. 
\r\n
Reference\r\n
\r\n
Grundy, S. M., Cleeman, J. I., Merz, C. N., et al. (2004, July 13). Implications of recent clinical trials for the National Cholesterol Education Program Adult Treatment Panel III Guidelines. Circulation, 110(2), 227-239. 
\r\n
Reference\r\n
\r\n
Kernan, W. N., Ovbiagele, B., Black, H. R., et al. (2014, May). Guidelines for the prevention of stroke in patients with stroke and transient ischemic attack: A guideline for health care professionals from the American Heart Association/American Stroke Association. Stroke, 45(7), 2160-2223. 
\r\n
Reference\r\n
\r\n
Kostis, W. J., Cheng, J. Q., Dobrzynski, J. M., et al. (2012, February 7). Meta-analysis of statin effects in women versus men. Journal of the American College of Cardiology, 59(6), 572-582.
\r\n
Reference\r\n
\r\n
Lazar, L. D., Pletcher, M. J., Coxson, P. G., et al. (2011, July 12). Cost-effectiveness of statin therapy for primary prevention in a low-cost statin era. Circulation, 124(2), 146-153.
\r\n
Reference\r\n
\r\n
Mitka, M. (2012, March 7). Some question use of statins to reduce cardiovascular risks in healthy women. JAMA, 307(9), 893-894. 
\r\n
Reference\r\n
\r\n
National Cholesterol Education Program Expert Panel on Detection, Evaluation, and Adults Treatment of High Blood Cholesterol in Adults. (2002, December 17). Third report of the National Cholesterol Education Program (NCEP) Expert Panel on Detection, Evaluation, and Treatment of High Blood Cholesterol in Adults (Adult Treatment Panel III)—Final report. Circulation, 106(25), 3143-3421. 
\r\n
Reference\r\n
\r\n
Powers, W. J., Rabinstein, A. A., Ackerson, T., et al. (2018, January). 2018 guidelines for the early management of patients with acute ischemic stroke: A guideline for health care professionals from the American Heart Association/American Stroke Association. Stroke, 49, e44-e47. 
\r\n
Reference\r\n
\r\n
Rodriguez-Yanez, M., Agulla, J., Rodriguez-Gonzalez, R., et al. (2008, June). Statins and stroke. Therapeutic Advances in Cardiovascular Disease, 2(3), 157-166. 
\r\n
Reference\r\n
\r\n
Roger, V. L., Go, A. S., Lloyd-Jones, D. M., et al. (2012, January 3). Heart disease and stroke statistics—2012 update: A report from the American Heart Association. Circulation, 125(1), e2-e220. 
\r\n
Reference\r\n
\r\n
Schellinger, P. D., Bryan, R. N., Caplan, L. R., et al. (2010, July 13). Evidence-based guideline: The role of diffusion and perfusion MRI for the diagnosis of acute ischemic stroke: Report of the Therapeutics and Technology Assessment Subcommittee of the American Academy of Neurology.  Neurology, 75(2), 177-185.
\r\n
Reference\r\n
\r\n
Squizzato, A., Romualdi, E., Dentali, F., et al. (2011). Statins for acute ischemic stroke. Cochrane Database of Systematic Reviews, 8, CD007551. 
\r\n
Reference\r\n
\r\n
Stone, N. J., Robinson, J., Lichtenstein, A. H., et al. (2013, November). Guideline on the treatment of blood cholesterol to reduce atherosclerotic cardiovascular disease in adults: A report of the American College of Cardiology/American Heart Association Task Force on Practice Guidelines. Circulation, 11, 1-84. 
\r\n
Reference\r\n
\r\n
Van Dis, F. J., Keilson, L. M., Rundell, C. A., et al. (1996, June). Direct measurement of serum low-density lipoprotein cholesterol in patients with acute myocardial infarction on admission to the emergency room. American Journal of Cardiology, 77(14), 1232-1234. 
\r\n
Reference\r\n
\r\n
Weiss, R., Harder, M., %26amp; Rowe, J. (2003, May). The relationship between nonfasting and fasting lipid measurements in patients with or without type 2 diabetes mellitus receiving treatment with 3-hydroxy-3-methylglutaryl-coenzyme a reductase inhibitors. Clinical Therapeutics, 25(5), 1490-1497. 
\r\n
Definition\r\n
\r\n
None
\r\n
Guidance\r\n
\r\n
The "Non-elective Inpatient Encounter" value set intends to capture all non-scheduled hospitalizations. This value set is a subset of the "Inpatient Encounter" value set, excluding concepts that specifically refer to elective hospital admissions. Non-elective Inpatient Encounters include emergency, urgent, and unplanned admissions.\r\n                \r\n                The "Medication, Discharge" datatype refers to the discharge medication list and is intended to express medications ordered for post-discharge use.
\r\n
Transmission Format\r\n
\r\n
TBD
\r\n
Initial Population\r\n
\r\n
Inpatient hospitalizations for patients age 18 and older, discharged from inpatient care (non-elective admissions) with a principal diagnosis of ischemic or hemorrhagic stroke and a length of stay less than or equal to 120 days that ends during measurement period
\r\n
Denominator\r\n
\r\n
Inpatient hospitalizations for patients with a principal diagnosis of ischemic stroke
\r\n
Denominator Exclusions\r\n
\r\n
Inpatient hospitalizations for patients admitted for elective carotid intervention. This exclusion is implicitly modeled by only including non-elective hospitalizations.\r\n                Inpatient hospitalizations for patients discharged to another hospital\r\n                Inpatient hospitalizations for patients who left against medical advice\r\n                Inpatient hospitalizations for patients who expired\r\n                Inpatient hospitalizations for patients discharged to home for hospice care\r\n                Inpatient hospitalizations for patients discharged to a health care facility for hospice care\r\n                Inpatient hospitalizations for patients with comfort measures documented
\r\n
Numerator\r\n
\r\n
Inpatient hospitalizations for patients prescribed or continuing to take statin medication at hospital discharge
\r\n
Numerator Exclusions\r\n
\r\n
Not Applicable
\r\n
Denominator Exceptions\r\n
\r\n
Inpatient hospitalizations for patients with a reason for not prescribing statin medication at discharge\r\n                Inpatient hospitalizations for patients with a maximum LDL-c result of  less than 70 mg/dL %26lt;= 30 days prior to arrival or any time during the hospital stay\r\n                Inpatient hospitalizations for patients with a statin allergy.
\r\n
Supplemental Data Elements\r\n
\r\n
For every patient evaluated by this measure also identify payer, race, ethnicity and sex
\r\n
\r\n

Table of Contents

\r\n \r\n
\r\n

Population Criteria

\r\n
\r\n
    \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Encounter with Principal Diagnosis and Age"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounter"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounters with Discharge Disposition"\r\n                union TJC."Comfort Measures during Hospitalization"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                with "Statin at Discharge" DischargeStatin\r\n                    such that DischargeStatin.authorDatetime during IschemicStrokeEncounter.relevantPeriod
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n None\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ( TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                    with "Statin Not Given at Discharge" NoDischargeStatin\r\n                    such that NoDischargeStatin.authorDatetime during IschemicStrokeEncounter.relevantPeriod\r\n                )\r\n                union ( TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                    with "Statin Allergy" StatinAllergy\r\n                        such that StatinAllergy.prevalencePeriod starts on or before end of IschemicStrokeEncounter.relevantPeriod\r\n                )\r\n                union "Encounter with Max LDL less than 70 mg per dL"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n None\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
\r\n
\r\n

Definitions

\r\n
\r\n
    \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounter"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ( TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                    with "Statin Not Given at Discharge" NoDischargeStatin\r\n                    such that NoDischargeStatin.authorDatetime during IschemicStrokeEncounter.relevantPeriod\r\n                )\r\n                union ( TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                    with "Statin Allergy" StatinAllergy\r\n                        such that StatinAllergy.prevalencePeriod starts on or before end of IschemicStrokeEncounter.relevantPeriod\r\n                )\r\n                union "Encounter with Max LDL less than 70 mg per dL"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounters with Discharge Disposition"\r\n                union TJC."Comfort Measures during Hospitalization"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                where Max(["Laboratory Test, Performed": "LDL-c"] Ldl\r\n                    where Ldl.resultDatetime during Interval[Global."ToDate"(start of IschemicStrokeEncounter.relevantPeriod - 30 days), end of IschemicStrokeEncounter.relevantPeriod]\r\n                    return Ldl.result as Quantity\r\n                )%26lt; 70 'mg/dL'
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Encounter with Principal Diagnosis and Age"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                with "Statin at Discharge" DischargeStatin\r\n                    such that DischargeStatin.authorDatetime during IschemicStrokeEncounter.relevantPeriod
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Patient Characteristic Ethnicity": "Ethnicity"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Patient Characteristic Payer": "Payer"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Patient Characteristic Race": "Race"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Patient Characteristic Sex": "ONC Administrative Sex"] 
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Allergy/Intolerance": "Statin Allergen"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Medication, Discharge": "Statin Grouper"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Medication, Not Discharged": "Statin Grouper"] NoStatinDischarge\r\n                where NoStatinDischarge.negationRationale in "Medical Reason"\r\n                    or NoStatinDischarge.negationRationale in "Patient Refusal"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          "Non Elective Inpatient Encounter" NonElectiveEncounter\r\n                where NonElectiveEncounter.principalDiagnosis in "Hemorrhagic Stroke"\r\n                    or NonElectiveEncounter.principalDiagnosis in "Ischemic Stroke"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          "Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                with "Intervention Comfort Measures" ComfortMeasure\r\n                    such that Coalesce(start of ComfortMeasure.relevantPeriod, ComfortMeasure.authorDatetime)during Global."HospitalizationWithObservation"(IschemicStrokeEncounter)
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          "All Stroke Encounter" AllStrokeEncounter\r\n                with ["Patient Characteristic Birthdate": "Birth date"] BirthDate\r\n                    such that Global."CalendarAgeInYearsAt"(BirthDate.birthDatetime, start of AllStrokeEncounter.relevantPeriod)%26gt;= 18
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Intervention, Order": "Comfort Measures"]\r\n                union ["Intervention, Performed": "Comfort Measures"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          "Encounter with Principal Diagnosis and Age" EncounterWithAge\r\n                where EncounterWithAge.principalDiagnosis in "Ischemic Stroke"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ( ( "Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                    where IschemicStrokeEncounter.dischargeDisposition in "Discharge To Acute Care Facility"\r\n                        or IschemicStrokeEncounter.dischargeDisposition in "Left Against Medical Advice"\r\n                        or IschemicStrokeEncounter.dischargeDisposition in "Patient Expired"\r\n                        or IschemicStrokeEncounter.dischargeDisposition in "Discharged to Home for Hospice Care"\r\n                        or IschemicStrokeEncounter.dischargeDisposition in "Discharged to Health Care Facility for Hospice Care"\r\n                )\r\n                )
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Encounter, Performed": "Non-Elective Inpatient Encounter"] NonElectiveEncounter\r\n                where Global."LengthInDays"(NonElectiveEncounter.relevantPeriod)%26lt;= 120\r\n                    and NonElectiveEncounter.relevantPeriod ends during "Measurement Period"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
  • \r\n
\r\n
\r\n

Functions

\r\n
\r\n
    \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          years between ToDate(BirthDateTime)and ToDate(AsOf)
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          Encounter Visit\r\n                let ObsVisit: Last(["Encounter, Performed": "Observation Services"] LastObs\r\n                    where LastObs.relevantPeriod ends 1 hour or less on or before start of Visit.relevantPeriod\r\n                    sort by \r\n                    end of relevantPeriod\r\n                ),\r\n                VisitStart: Coalesce(start of ObsVisit.relevantPeriod, start of Visit.relevantPeriod),\r\n                EDVisit: Last(["Encounter, Performed": "Emergency Department Visit"] LastED\r\n                    where LastED.relevantPeriod ends 1 hour or less on or before VisitStart\r\n                    sort by \r\n                    end of relevantPeriod\r\n                )\r\n                return Interval[Coalesce(start of EDVisit.relevantPeriod, VisitStart), \r\n                end of Visit.relevantPeriod]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          difference in days between start of Value and end of Value
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          DateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezone from Value)
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
  • \r\n
\r\n
\r\n

Terminology

\r\n
\r\n
    \r\n
  • code "Birth date" ("LOINC Code (21112-8)")
  • \r\n
  • valueset "Comfort Measures" (1.3.6.1.4.1.33895.1.3.0.45)
  • \r\n
  • valueset "Discharge To Acute Care Facility" (2.16.840.1.113883.3.117.1.7.1.87)
  • \r\n
  • valueset "Discharged to Health Care Facility for Hospice Care" (2.16.840.1.113883.3.117.1.7.1.207)
  • \r\n
  • valueset "Discharged to Home for Hospice Care" (2.16.840.1.113883.3.117.1.7.1.209)
  • \r\n
  • valueset "Emergency Department Visit" (2.16.840.1.113883.3.117.1.7.1.292)
  • \r\n
  • valueset "Ethnicity" (2.16.840.1.114222.4.11.837)
  • \r\n
  • valueset "Hemorrhagic Stroke" (2.16.840.1.113883.3.117.1.7.1.212)
  • \r\n
  • valueset "Ischemic Stroke" (2.16.840.1.113883.3.117.1.7.1.247)
  • \r\n
  • valueset "LDL-c" (2.16.840.1.113883.3.117.1.7.1.215)
  • \r\n
  • valueset "Left Against Medical Advice" (2.16.840.1.113883.3.117.1.7.1.308)
  • \r\n
  • valueset "Medical Reason" (2.16.840.1.113883.3.117.1.7.1.473)
  • \r\n
  • valueset "Non-Elective Inpatient Encounter" (2.16.840.1.113883.3.117.1.7.1.424)
  • \r\n
  • valueset "Observation Services" (2.16.840.1.113762.1.4.1111.143)
  • \r\n
  • valueset "ONC Administrative Sex" (2.16.840.1.113762.1.4.1)
  • \r\n
  • valueset "Patient Expired" (2.16.840.1.113883.3.117.1.7.1.309)
  • \r\n
  • valueset "Patient Refusal" (2.16.840.1.113883.3.117.1.7.1.93)
  • \r\n
  • valueset "Payer" (2.16.840.1.114222.4.11.3591)
  • \r\n
  • valueset "Race" (2.16.840.1.114222.4.11.836)
  • \r\n
  • valueset "Statin Allergen" (2.16.840.1.113762.1.4.1110.42)
  • \r\n
  • valueset "Statin Grouper" (2.16.840.1.113762.1.4.1110.19)
  • \r\n
\r\n
\r\n

Data Criteria (QDM Data Elements)

\r\n \r\n

Supplemental Data Elements

\r\n
\r\n
    \r\n
  • \r\n
    \r\n \r\n \r\n
      \r\n
    • \r\n
      \r\n
        \r\n
      • \r\n
        \r\n
        ["Patient Characteristic Ethnicity": "Ethnicity"]
        \r\n
      • \r\n
      %26nbsp;\r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n \r\n \r\n
      \r\n
    • \r\n
      \r\n
        \r\n
      • \r\n
        \r\n
        ["Patient Characteristic Payer": "Payer"]
        \r\n
      • \r\n
      %26nbsp;\r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n \r\n \r\n
      \r\n
    • \r\n
      \r\n
        \r\n
      • \r\n
        \r\n
        ["Patient Characteristic Race": "Race"]
        \r\n
      • \r\n
      %26nbsp;\r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n \r\n \r\n
      \r\n
    • \r\n
      \r\n
        \r\n
      • \r\n
        \r\n
        ["Patient Characteristic Sex": "ONC Administrative Sex"] 
        \r\n
      • \r\n
      %26nbsp;\r\n
    • \r\n
    \r\n
  • \r\n
\r\n
\r\n

Risk Adjustment Variables

\r\n
\r\n
    \r\n
  • None
  • \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Measure Set\r\n
\r\n
eMeasure Stroke (eSTK)
\r\n
" - }, "extension": [ { "url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis", "valueCode": "Encounter" @@ -184,13 +180,9 @@ "improvementNotation": "increase", "guidance": "The \"Non-elective Inpatient Encounter\" value set intends to capture all non-scheduled hospitalizations. This value set is a subset of the \"Inpatient encounter\" value set, excluding concepts that specifically refer to elective hospital admissions. Non-elective admissions include emergency, urgent and unplanned admissions.\n\nThe \"Medication, Discharge\" datatype refers to the discharge medication list and is intended to express medications ordered for post-discharge use.", "group": [ { - "identifier": { - "value": "group-1" - }, + "id":"group-1", "population": [ { - "identifier": { - "value": "initial-population" - }, + "id": "initial-population", "code": { "coding": [ { "code": "initial-population" @@ -198,9 +190,7 @@ }, "criteria": "Initial Population" }, { - "identifier": { - "value": "numerator" - }, + "id": "numerator", "code": { "coding": [ { "code": "numerator" @@ -208,9 +198,7 @@ }, "criteria": "Numerator" }, { - "identifier": { - "value": "denominator" - }, + "id": "denominator", "code": { "coding": [ { "code": "denominator" @@ -218,9 +206,7 @@ }, "criteria": "Denominator" }, { - "identifier": { - "value": "denominator-exclusion" - }, + "id": "denominator-exclusion", "code": { "coding": [ { "code": "denominator-exclusion" diff --git a/hapi-fhir-storage-cr/src/test/resources/Exm105FhirR3MeasurePartBundle.json b/hapi-fhir-storage-cr/src/test/resources/Exm105FhirR3MeasurePartBundle.json index 78623883206..14216d59953 100644 --- a/hapi-fhir-storage-cr/src/test/resources/Exm105FhirR3MeasurePartBundle.json +++ b/hapi-fhir-storage-cr/src/test/resources/Exm105FhirR3MeasurePartBundle.json @@ -14,10 +14,6 @@ "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm" ] }, - "text": { - "status": "generated", - "div": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
eCQM Title

Discharged on Statin Medication

eCQM Identifier (Measure Authoring Tool)105eCQM Version number8.1.000
NQF NumberNot ApplicableGUID1f503318-bb8d-4b91-af63-223ae0a2328e
Measurement PeriodJanuary 1, 20XX through December 31, 20XX
Measure StewardThe Joint Commission
Measure DeveloperThe Joint Commission
Endorsed ByNone
Description\r\n
\r\n
Ischemic stroke patients who are prescribed or continuing to take statin medication at hospital discharge
\r\n
Copyright\r\n
\r\n
LOINC(R) copyright 2004-2018 Regenstrief Institute, Inc. \r\n                This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2018 International Health Terminology Standards Development Organisation. All Rights Reserved.\r\n                \r\n                Measure specifications are in the Public Domain.
\r\n
Disclaimer\r\n
\r\n
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.
\r\n
Measure ScoringProportion
Measure TypeProcess
Stratification\r\n
\r\n
None
\r\n
Risk Adjustment\r\n
\r\n
None
\r\n
Rate Aggregation\r\n
\r\n
None
\r\n
Rationale\r\n
\r\n
There is an extensive and consistent body of evidence supporting the use of statins for secondary prevention in patients with clinically evident atherosclerotic cardiovascular disease (ASCVD), which includes individuals with ischemic stroke due to large artery atherosclerosis, individuals with ischemic stroke due to intrinsic small vessel disease, and individuals with ischemic stroke not directly due to atherosclerosis but with clinically evident atherosclerotic disease in an uninvolved cerebral or noncerebral bed.  Both women and men with clinical ASCVD are at increased risk for recurrent ASCVD and ASCVD death.  High-intensity statin therapy should be initiated or continued as first-line therapy in women and men less than or equal to 75 years of age who have clinical ASCVD, unless contraindicated. In patients with clinical ASCVD and a contraindication to high-intensity statin therapy, moderate-intensity therapy should be considered as an alternative if it can be tolerated.  In individuals greater than 75 years of age, the potential for ASCVD risk reduction benefits, adverse effects, drug-drug interactions, and patient preferences should be considered, and statin therapy individualized based on these considerations (Stone, 2013).
\r\n
Clinical Recommendation Statement\r\n
\r\n
For patients with stroke of atherosclerotic origin, intensive lipid lowering therapy with statins should be initiated
\r\n
Improvement Notation\r\n
\r\n
Improvement noted as an increase in rate
\r\n
Reference\r\n
\r\n
Amarenco, P., Bogousslavsky, J., Callahan, A., III, et al. (2006, August 10). High-dose atorvastatin after stroke or transient ischemic attack. New England Journal of Medicine, 355(6), 549-559. 
\r\n
Reference\r\n
\r\n
Biffi, A., Devan, W. J., Anderson, C. D., et al. (2011, May). Statin treatment and functional outcome after ischemic stroke: Case-control and meta-analysis. Stroke, 42(5), 1314-1319. 
\r\n
Reference\r\n
\r\n
Centers for Disease Control and Prevention. (2009, May 1). Prevalence and most common causes of disability among adults—United States, 2005. Morbidity and Mortality Weekly Report, 58(16), 421-426. 
\r\n
Reference\r\n
\r\n
Chan, P. S., Nallamothu, B. K., Gurm, H. S., et al. (2007, May 8). Incremental benefit and cost-effectiveness of high-dose statin therapy in high-risk patients with coronary artery disease. Circulation, 115(18), 2398-2409. 
\r\n
Reference\r\n
\r\n
Culver, A. L., Ockene, I. S., Balasubramanian, R., et al. (2012, January 23). Statin use and risk of diabetes mellitus in postmenopausal women in the Women's Health Initiative. Archives of Internal Medicine, 172(2),  144-152. 
\r\n
Reference\r\n
\r\n
Feher, A., Pusch, G., Koltai, K., et al. (2011, April 14). Statin therapy in the primary and the secondary prevention of ischaemic cerebrovascular diseases. International Journal of Cardiology, 148(2), 131-138. 
\r\n
Reference\r\n
\r\n
Grundy, S. M., Cleeman, J. I., Merz, C. N., et al. (2004, July 13). Implications of recent clinical trials for the National Cholesterol Education Program Adult Treatment Panel III Guidelines. Circulation, 110(2), 227-239. 
\r\n
Reference\r\n
\r\n
Kernan, W. N., Ovbiagele, B., Black, H. R., et al. (2014, May). Guidelines for the prevention of stroke in patients with stroke and transient ischemic attack: A guideline for health care professionals from the American Heart Association/American Stroke Association. Stroke, 45(7), 2160-2223. 
\r\n
Reference\r\n
\r\n
Kostis, W. J., Cheng, J. Q., Dobrzynski, J. M., et al. (2012, February 7). Meta-analysis of statin effects in women versus men. Journal of the American College of Cardiology, 59(6), 572-582.
\r\n
Reference\r\n
\r\n
Lazar, L. D., Pletcher, M. J., Coxson, P. G., et al. (2011, July 12). Cost-effectiveness of statin therapy for primary prevention in a low-cost statin era. Circulation, 124(2), 146-153.
\r\n
Reference\r\n
\r\n
Mitka, M. (2012, March 7). Some question use of statins to reduce cardiovascular risks in healthy women. JAMA, 307(9), 893-894. 
\r\n
Reference\r\n
\r\n
National Cholesterol Education Program Expert Panel on Detection, Evaluation, and Adults Treatment of High Blood Cholesterol in Adults. (2002, December 17). Third report of the National Cholesterol Education Program (NCEP) Expert Panel on Detection, Evaluation, and Treatment of High Blood Cholesterol in Adults (Adult Treatment Panel III)—Final report. Circulation, 106(25), 3143-3421. 
\r\n
Reference\r\n
\r\n
Powers, W. J., Rabinstein, A. A., Ackerson, T., et al. (2018, January). 2018 guidelines for the early management of patients with acute ischemic stroke: A guideline for health care professionals from the American Heart Association/American Stroke Association. Stroke, 49, e44-e47. 
\r\n
Reference\r\n
\r\n
Rodriguez-Yanez, M., Agulla, J., Rodriguez-Gonzalez, R., et al. (2008, June). Statins and stroke. Therapeutic Advances in Cardiovascular Disease, 2(3), 157-166. 
\r\n
Reference\r\n
\r\n
Roger, V. L., Go, A. S., Lloyd-Jones, D. M., et al. (2012, January 3). Heart disease and stroke statistics—2012 update: A report from the American Heart Association. Circulation, 125(1), e2-e220. 
\r\n
Reference\r\n
\r\n
Schellinger, P. D., Bryan, R. N., Caplan, L. R., et al. (2010, July 13). Evidence-based guideline: The role of diffusion and perfusion MRI for the diagnosis of acute ischemic stroke: Report of the Therapeutics and Technology Assessment Subcommittee of the American Academy of Neurology.  Neurology, 75(2), 177-185.
\r\n
Reference\r\n
\r\n
Squizzato, A., Romualdi, E., Dentali, F., et al. (2011). Statins for acute ischemic stroke. Cochrane Database of Systematic Reviews, 8, CD007551. 
\r\n
Reference\r\n
\r\n
Stone, N. J., Robinson, J., Lichtenstein, A. H., et al. (2013, November). Guideline on the treatment of blood cholesterol to reduce atherosclerotic cardiovascular disease in adults: A report of the American College of Cardiology/American Heart Association Task Force on Practice Guidelines. Circulation, 11, 1-84. 
\r\n
Reference\r\n
\r\n
Van Dis, F. J., Keilson, L. M., Rundell, C. A., et al. (1996, June). Direct measurement of serum low-density lipoprotein cholesterol in patients with acute myocardial infarction on admission to the emergency room. American Journal of Cardiology, 77(14), 1232-1234. 
\r\n
Reference\r\n
\r\n
Weiss, R., Harder, M., %26amp; Rowe, J. (2003, May). The relationship between nonfasting and fasting lipid measurements in patients with or without type 2 diabetes mellitus receiving treatment with 3-hydroxy-3-methylglutaryl-coenzyme a reductase inhibitors. Clinical Therapeutics, 25(5), 1490-1497. 
\r\n
Definition\r\n
\r\n
None
\r\n
Guidance\r\n
\r\n
The "Non-elective Inpatient Encounter" value set intends to capture all non-scheduled hospitalizations. This value set is a subset of the "Inpatient Encounter" value set, excluding concepts that specifically refer to elective hospital admissions. Non-elective Inpatient Encounters include emergency, urgent, and unplanned admissions.\r\n                \r\n                The "Medication, Discharge" datatype refers to the discharge medication list and is intended to express medications ordered for post-discharge use.
\r\n
Transmission Format\r\n
\r\n
TBD
\r\n
Initial Population\r\n
\r\n
Inpatient hospitalizations for patients age 18 and older, discharged from inpatient care (non-elective admissions) with a principal diagnosis of ischemic or hemorrhagic stroke and a length of stay less than or equal to 120 days that ends during measurement period
\r\n
Denominator\r\n
\r\n
Inpatient hospitalizations for patients with a principal diagnosis of ischemic stroke
\r\n
Denominator Exclusions\r\n
\r\n
Inpatient hospitalizations for patients admitted for elective carotid intervention. This exclusion is implicitly modeled by only including non-elective hospitalizations.\r\n                Inpatient hospitalizations for patients discharged to another hospital\r\n                Inpatient hospitalizations for patients who left against medical advice\r\n                Inpatient hospitalizations for patients who expired\r\n                Inpatient hospitalizations for patients discharged to home for hospice care\r\n                Inpatient hospitalizations for patients discharged to a health care facility for hospice care\r\n                Inpatient hospitalizations for patients with comfort measures documented
\r\n
Numerator\r\n
\r\n
Inpatient hospitalizations for patients prescribed or continuing to take statin medication at hospital discharge
\r\n
Numerator Exclusions\r\n
\r\n
Not Applicable
\r\n
Denominator Exceptions\r\n
\r\n
Inpatient hospitalizations for patients with a reason for not prescribing statin medication at discharge\r\n                Inpatient hospitalizations for patients with a maximum LDL-c result of  less than 70 mg/dL %26lt;= 30 days prior to arrival or any time during the hospital stay\r\n                Inpatient hospitalizations for patients with a statin allergy.
\r\n
Supplemental Data Elements\r\n
\r\n
For every patient evaluated by this measure also identify payer, race, ethnicity and sex
\r\n
\r\n

Table of Contents

\r\n \r\n
\r\n

Population Criteria

\r\n
\r\n
    \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Encounter with Principal Diagnosis and Age"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounter"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounters with Discharge Disposition"\r\n                union TJC."Comfort Measures during Hospitalization"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                with "Statin at Discharge" DischargeStatin\r\n                    such that DischargeStatin.authorDatetime during IschemicStrokeEncounter.relevantPeriod
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n None\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ( TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                    with "Statin Not Given at Discharge" NoDischargeStatin\r\n                    such that NoDischargeStatin.authorDatetime during IschemicStrokeEncounter.relevantPeriod\r\n                )\r\n                union ( TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                    with "Statin Allergy" StatinAllergy\r\n                        such that StatinAllergy.prevalencePeriod starts on or before end of IschemicStrokeEncounter.relevantPeriod\r\n                )\r\n                union "Encounter with Max LDL less than 70 mg per dL"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
        \r\n
      • \r\n
        \r\n None\r\n
      • \r\n
    • \r\n
    \r\n
  • \r\n
\r\n
\r\n

Definitions

\r\n
\r\n
    \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounter"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ( TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                    with "Statin Not Given at Discharge" NoDischargeStatin\r\n                    such that NoDischargeStatin.authorDatetime during IschemicStrokeEncounter.relevantPeriod\r\n                )\r\n                union ( TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                    with "Statin Allergy" StatinAllergy\r\n                        such that StatinAllergy.prevalencePeriod starts on or before end of IschemicStrokeEncounter.relevantPeriod\r\n                )\r\n                union "Encounter with Max LDL less than 70 mg per dL"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounters with Discharge Disposition"\r\n                union TJC."Comfort Measures during Hospitalization"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                where Max(["Laboratory Test, Performed": "LDL-c"] Ldl\r\n                    where Ldl.resultDatetime during Interval[Global."ToDate"(start of IschemicStrokeEncounter.relevantPeriod - 30 days), end of IschemicStrokeEncounter.relevantPeriod]\r\n                    return Ldl.result as Quantity\r\n                )%26lt; 70 'mg/dL'
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Encounter with Principal Diagnosis and Age"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                with "Statin at Discharge" DischargeStatin\r\n                    such that DischargeStatin.authorDatetime during IschemicStrokeEncounter.relevantPeriod
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Patient Characteristic Ethnicity": "Ethnicity"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Patient Characteristic Payer": "Payer"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Patient Characteristic Race": "Race"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Patient Characteristic Sex": "ONC Administrative Sex"] 
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Allergy/Intolerance": "Statin Allergen"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Medication, Discharge": "Statin Grouper"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Medication, Not Discharged": "Statin Grouper"] NoStatinDischarge\r\n                where NoStatinDischarge.negationRationale in "Medical Reason"\r\n                    or NoStatinDischarge.negationRationale in "Patient Refusal"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          "Non Elective Inpatient Encounter" NonElectiveEncounter\r\n                where NonElectiveEncounter.principalDiagnosis in "Hemorrhagic Stroke"\r\n                    or NonElectiveEncounter.principalDiagnosis in "Ischemic Stroke"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          "Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                with "Intervention Comfort Measures" ComfortMeasure\r\n                    such that Coalesce(start of ComfortMeasure.relevantPeriod, ComfortMeasure.authorDatetime)during Global."HospitalizationWithObservation"(IschemicStrokeEncounter)
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          "All Stroke Encounter" AllStrokeEncounter\r\n                with ["Patient Characteristic Birthdate": "Birth date"] BirthDate\r\n                    such that Global."CalendarAgeInYearsAt"(BirthDate.birthDatetime, start of AllStrokeEncounter.relevantPeriod)%26gt;= 18
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Intervention, Order": "Comfort Measures"]\r\n                union ["Intervention, Performed": "Comfort Measures"]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          "Encounter with Principal Diagnosis and Age" EncounterWithAge\r\n                where EncounterWithAge.principalDiagnosis in "Ischemic Stroke"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ( ( "Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n                    where IschemicStrokeEncounter.dischargeDisposition in "Discharge To Acute Care Facility"\r\n                        or IschemicStrokeEncounter.dischargeDisposition in "Left Against Medical Advice"\r\n                        or IschemicStrokeEncounter.dischargeDisposition in "Patient Expired"\r\n                        or IschemicStrokeEncounter.dischargeDisposition in "Discharged to Home for Hospice Care"\r\n                        or IschemicStrokeEncounter.dischargeDisposition in "Discharged to Health Care Facility for Hospice Care"\r\n                )\r\n                )
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          ["Encounter, Performed": "Non-Elective Inpatient Encounter"] NonElectiveEncounter\r\n                where Global."LengthInDays"(NonElectiveEncounter.relevantPeriod)%26lt;= 120\r\n                    and NonElectiveEncounter.relevantPeriod ends during "Measurement Period"
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
  • \r\n
\r\n
\r\n

Functions

\r\n
\r\n
    \r\n
  • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          years between ToDate(BirthDateTime)and ToDate(AsOf)
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          Encounter Visit\r\n                let ObsVisit: Last(["Encounter, Performed": "Observation Services"] LastObs\r\n                    where LastObs.relevantPeriod ends 1 hour or less on or before start of Visit.relevantPeriod\r\n                    sort by \r\n                    end of relevantPeriod\r\n                ),\r\n                VisitStart: Coalesce(start of ObsVisit.relevantPeriod, start of Visit.relevantPeriod),\r\n                EDVisit: Last(["Encounter, Performed": "Emergency Department Visit"] LastED\r\n                    where LastED.relevantPeriod ends 1 hour or less on or before VisitStart\r\n                    sort by \r\n                    end of relevantPeriod\r\n                )\r\n                return Interval[Coalesce(start of EDVisit.relevantPeriod, VisitStart), \r\n                end of Visit.relevantPeriod]
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          difference in days between start of Value and end of Value
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
      \r\n
    • \r\n
      \r\n \r\n \r\n
        \r\n
      • \r\n
        \r\n
          \r\n
        • \r\n
          \r\n
          DateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezone from Value)
          \r\n
        • \r\n
        %26nbsp;\r\n
      • \r\n
      \r\n
    • \r\n
    \r\n
  • \r\n
\r\n
\r\n

Terminology

\r\n
\r\n
    \r\n
  • code "Birth date" ("LOINC Code (21112-8)")
  • \r\n
  • valueset "Comfort Measures" (1.3.6.1.4.1.33895.1.3.0.45)
  • \r\n
  • valueset "Discharge To Acute Care Facility" (2.16.840.1.113883.3.117.1.7.1.87)
  • \r\n
  • valueset "Discharged to Health Care Facility for Hospice Care" (2.16.840.1.113883.3.117.1.7.1.207)
  • \r\n
  • valueset "Discharged to Home for Hospice Care" (2.16.840.1.113883.3.117.1.7.1.209)
  • \r\n
  • valueset "Emergency Department Visit" (2.16.840.1.113883.3.117.1.7.1.292)
  • \r\n
  • valueset "Ethnicity" (2.16.840.1.114222.4.11.837)
  • \r\n
  • valueset "Hemorrhagic Stroke" (2.16.840.1.113883.3.117.1.7.1.212)
  • \r\n
  • valueset "Ischemic Stroke" (2.16.840.1.113883.3.117.1.7.1.247)
  • \r\n
  • valueset "LDL-c" (2.16.840.1.113883.3.117.1.7.1.215)
  • \r\n
  • valueset "Left Against Medical Advice" (2.16.840.1.113883.3.117.1.7.1.308)
  • \r\n
  • valueset "Medical Reason" (2.16.840.1.113883.3.117.1.7.1.473)
  • \r\n
  • valueset "Non-Elective Inpatient Encounter" (2.16.840.1.113883.3.117.1.7.1.424)
  • \r\n
  • valueset "Observation Services" (2.16.840.1.113762.1.4.1111.143)
  • \r\n
  • valueset "ONC Administrative Sex" (2.16.840.1.113762.1.4.1)
  • \r\n
  • valueset "Patient Expired" (2.16.840.1.113883.3.117.1.7.1.309)
  • \r\n
  • valueset "Patient Refusal" (2.16.840.1.113883.3.117.1.7.1.93)
  • \r\n
  • valueset "Payer" (2.16.840.1.114222.4.11.3591)
  • \r\n
  • valueset "Race" (2.16.840.1.114222.4.11.836)
  • \r\n
  • valueset "Statin Allergen" (2.16.840.1.113762.1.4.1110.42)
  • \r\n
  • valueset "Statin Grouper" (2.16.840.1.113762.1.4.1110.19)
  • \r\n
\r\n
\r\n

Data Criteria (QDM Data Elements)

\r\n
    \r\n
  • "Allergy/Intolerance: Statin Allergen" using "Statin Allergen (2.16.840.1.113762.1.4.1110.42)"
  • \r\n
  • "Encounter, Performed: Emergency Department Visit" using "Emergency Department Visit (2.16.840.1.113883.3.117.1.7.1.292)"
  • \r\n
  • "Encounter, Performed: Non-Elective Inpatient Encounter" using "Non-Elective Inpatient Encounter (2.16.840.1.113883.3.117.1.7.1.424)"
  • \r\n
  • "Encounter, Performed: Observation Services" using "Observation Services (2.16.840.1.113762.1.4.1111.143)"
  • \r\n
  • "Intervention, Order: Comfort Measures" using "Comfort Measures (1.3.6.1.4.1.33895.1.3.0.45)"
  • \r\n
  • "Intervention, Performed: Comfort Measures" using "Comfort Measures (1.3.6.1.4.1.33895.1.3.0.45)"
  • \r\n
  • "Laboratory Test, Performed: LDL-c" using "LDL-c (2.16.840.1.113883.3.117.1.7.1.215)"
  • \r\n
  • "Medication, Discharge: Statin Grouper" using "Statin Grouper (2.16.840.1.113762.1.4.1110.19)"
  • \r\n
  • "Medication, Not Discharged: Statin Grouper" using "Statin Grouper (2.16.840.1.113762.1.4.1110.19)"
  • \r\n
  • "Patient Characteristic Ethnicity: Ethnicity" using "Ethnicity (2.16.840.1.114222.4.11.837)"
  • \r\n
  • "Patient Characteristic Payer: Payer" using "Payer (2.16.840.1.114222.4.11.3591)"
  • \r\n
  • "Patient Characteristic Race: Race" using "Race (2.16.840.1.114222.4.11.836)"
  • \r\n
  • "Patient Characteristic Sex: ONC Administrative Sex" using "ONC Administrative Sex (2.16.840.1.113762.1.4.1)"
  • \r\n
  • "Patient Characteristic Birthdate: Birth date" using "Birth date (LOINC Code 21112-8)"
  • \r\n
\r\n

Supplemental Data Elements

\r\n
\r\n
    \r\n
  • \r\n
    \r\n \r\n \r\n
      \r\n
    • \r\n
      \r\n
        \r\n
      • \r\n
        \r\n
        ["Patient Characteristic Ethnicity": "Ethnicity"]
        \r\n
      • \r\n
      %26nbsp;\r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n \r\n \r\n
      \r\n
    • \r\n
      \r\n
        \r\n
      • \r\n
        \r\n
        ["Patient Characteristic Payer": "Payer"]
        \r\n
      • \r\n
      %26nbsp;\r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n \r\n \r\n
      \r\n
    • \r\n
      \r\n
        \r\n
      • \r\n
        \r\n
        ["Patient Characteristic Race": "Race"]
        \r\n
      • \r\n
      %26nbsp;\r\n
    • \r\n
    \r\n
  • \r\n
  • \r\n
    \r\n \r\n \r\n
      \r\n
    • \r\n
      \r\n
        \r\n
      • \r\n
        \r\n
        ["Patient Characteristic Sex": "ONC Administrative Sex"] 
        \r\n
      • \r\n
      %26nbsp;\r\n
    • \r\n
    \r\n
  • \r\n
\r\n
\r\n

Risk Adjustment Variables

\r\n
\r\n
    \r\n
  • None
  • \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Measure Set\r\n
\r\n
eMeasure Stroke (eSTK)
\r\n
" - }, "extension": [ { "url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis", @@ -243,14 +239,10 @@ "guidance": "The \"Non-elective Inpatient Encounter\" value set intends to capture all non-scheduled hospitalizations. This value set is a subset of the \"Inpatient encounter\" value set, excluding concepts that specifically refer to elective hospital admissions. Non-elective admissions include emergency, urgent and unplanned admissions.\n\nThe \"Medication, Discharge\" datatype refers to the discharge medication list and is intended to express medications ordered for post-discharge use.", "group": [ { - "identifier": { - "value": "group-1" - }, + "id": "group-1", "population": [ { - "identifier": { - "value": "initial-population" - }, + "id": "initial-population", "code": { "coding": [ { @@ -261,9 +253,7 @@ "criteria": "Initial Population" }, { - "identifier": { - "value": "numerator" - }, + "id": "numerator", "code": { "coding": [ { @@ -274,9 +264,7 @@ "criteria": "Numerator" }, { - "identifier": { - "value": "denominator" - }, + "id": "denominator", "code": { "coding": [ { @@ -287,9 +275,7 @@ "criteria": "Denominator" }, { - "identifier": { - "value": "denominator-exclusion" - }, + "id": "denominator-exclusion", "code": { "coding": [ { diff --git a/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/Bundle-ActivityDefinitionTest.json b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/Bundle-ActivityDefinitionTest.json new file mode 100644 index 00000000000..5c3ab84d667 --- /dev/null +++ b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/Bundle-ActivityDefinitionTest.json @@ -0,0 +1,78 @@ +{ + "resourceType": "Bundle", + "id": "bundle-test", + "type": "transaction", + "entry" : [{ + "resource": { + "resourceType": "ActivityDefinition", + "id": "activityDefinition-test", + "name": "ActivityDefinition_CreateAProcedure", + "title": "CreateProcedure", + "status": "draft", + "description": "Create the procedure.", + "library": [ + { + "reference": "http://test/fhir/Library/TestActivityDefinition|1.0.0" + } + ], + "kind": "ProcedureRequest", + "code": { + "coding": [ + { + "system": "http://test/fhir/System", + "code": "code" + } + ] + }, + "dynamicValue": [ + { + "path": "doNotPerform", + "language": "text/cql.name", + "expression": "ActiveProcedureStatus" + } + ] + }, + "request": { + "method": "PUT", + "url": "ActivityDefinition/activityDefinition-test" + } + }, + { + "resource": { + "resourceType": "Library", + "id": "TestActivityDefinition", + "url": "http://test/fhir/Library/TestActivityDefinition|1.0.0", + "version": "1.0.0", + "name": "TestActivityDefinition", + "parameter": [ + { + "name": "ActiveProcedureStatus", + "use": "out", + "min": 0, + "max": "1", + "type": "boolean" + } + ], + "content": [ + { + "contentType": "text/cql", + "data": "bGlicmFyeSBUZXN0QWN0aXZpdHlEZWZpbml0aW9uIHZlcnNpb24gJzEuMC4wJwoKZGVmaW5lICJBY3RpdmVQcm9jZWR1cmVTdGF0dXMiOgogIHRydWU=" + } + ] + }, + "request": { + "method": "PUT", + "url": "Library/TestActivityDefinition" + } + }, + { + "resource": { + "resourceType": "Patient", + "id": "patient-1" + }, + "request": { + "method": "PUT", + "url": "Patient/patient-1" + } + }] +} diff --git a/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/connectathon/EXM104-FHIR3-8.1.000-bundle.json b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/connectathon/EXM104-FHIR3-8.1.000-bundle.json index e49e6e481d3..83e1937ff63 100644 --- a/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/connectathon/EXM104-FHIR3-8.1.000-bundle.json +++ b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/connectathon/EXM104-FHIR3-8.1.000-bundle.json @@ -701,10 +701,6 @@ "lastUpdated": "2019-09-13T20:33:19.546+00:00", "profile": [ "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm" ] }, - "text": { - "status": "generated", - "div": "
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Measure Title

Discharged on Antithrombotic Therapy

Measure ID

EXM104

Description

Ischemic stroke patients prescribed or continuing to take antithrombotic therapy at hospital discharge

\n
\n
\n
Measurement PeriodJanuary 1 - December 31
Copyright and Disclaimer Notice\n
\n
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.
\n
\n
HEDIS%26reg; is a registered trademark of the National Committee for Quality Assurance (NCQA). The HEDIS measures and specifications are owned by NCQA. NCQA holds a copyright in the HEDIS measures and specifications and may rescind or alter these measures and specifications at any time. Users of the HEDIS measures and specifications shall not have the right to alter, enhance or otherwise modify the HEDIS measures and specifications, and shall not disassemble, recompile or reverse engineer the HEDIS measures and specifications. Anyone desiring to use or reproduce the materials, subject to licensed user restrictions, without modification for an internal, non-commercial purpose may do so without obtaining any approval from NCQA. Use of the Rules for Allowable Adjustments of HEDIS to make permitted adjustments of the materials does not constitute a modification. All other uses, including a commercial use, or any external reproduction, distribution and publication must be approved by NCQA and are subject to a license at the discretion of NCQA.\n\nHEDIS measures and specifications are not clinical guidelines, do not establish a standard of medical care and have not been tested for all potential applications. The measures and specifications are provided “as is” without warranty of any kind. NCQA makes no representations, warranties or endorsements about the quality of any product, test or protocol identified as numerator compliant or otherwise identified as meeting the requirements of a HEDIS measure or specification. NCQA also makes no representations, warranties or endorsements about the quality of any organization or clinician who uses or reports performance measures. NCQA has no liability to anyone who relies on HEDIS measures and specifications or data reflective of performance under such measures and specifications.\n\nCalculated measure results, based on unadjusted HEDIS specifications, may not be termed “Health Plan HEDIS rates” until the logic used to produce the measure results has been certified by NCQA and has been audited and designated reportable by an NCQA-Certified Auditor. Such results should be referred to as “Uncertified, Unaudited Health Plan HEDIS Rates.”\n\nCalculated measure results, based on adjusted HEDIS specifications, may not be termed “Adjusted HEDIS rates” until the logic used to produce the measure results has been certified by NCQA and has been audited and designated reportable by an NCQA-Certified Auditor. Such results should be referred to as “Adjusted, Uncertified, Unaudited HEDIS Rates.”\n\nLimited proprietary coding is contained in the measure specifications for convenience. Users of the proprietary code sets should obtain all necessary licenses from the owners of these code sets. NCQA disclaims all liability for use or accuracy of any coding contained in the specifications.\n\nThe American Medical Association holds a copyright to the CPT%26reg; codes contained in the measures specifications.\n\nThe American Hospital Association holds a copyright to the Uniform Bill Codes (UB) contained in the measure specifications. The UB Codes in the HEDIS specifications are included with the permission of the AHA. The UB Codes contained in the HEDIS specifications may be used by health plans and other health care delivery organizations for the purpose of calculating and reporting HEDIS measure results or using HEDIS measure results for their internal quality improvement purposes. All other uses of the UB Codes require a license from the AHA. Anyone desiring to use the UB Codes in a commercial Product(s) to generate HEDIS results, or for any other commercial use, must obtain a commercial use license directly from the AHA. To inquire about licensing, contact ub04@healthforum.com.\n\nSome measure specifications contain coding from LOINC%26reg; (http://loinc.org). The LOINC table, LOINC codes, LOINC panels and form file, LOINC linguistic variants file, LOINC/RSNA Radiology Playbook, and LOINC/IEEE Medical Device Code Mapping Table are copyright %26copy; 1995-2019, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/terms-of-use.\n\n"SNOMED” and “SNOMED CT” are registered trademarks of the International Health Terminology Standards Development Organization (IHTSDO).\n\n“HL7” is the registered trademark of Health Level Seven International.\n\n%26copy; 2019 by the National Committee for Quality Assurance, all rights reserved.
\n
\n
Clinical Recommendation Statement\n

Clinical trial results suggest that antithrombotic therapy should be prescribed at discharge following acute ischemic stroke to reduce stroke mortality and morbidity as long as no contraindications exist

\n
\n
References\n
\n
Adams HP, del Zoppo G, Alberts MJ, Bhatt DL, Brass L, Furlan A, Grubb RL, Higashida RT, Jauch EC, Kidwell C, Lyden PD, Morgenstern LB, Qureshi AI, Rosenwasser RH, Scott PA, Wijdicks E. Guidelines for the Early Management of Adults with Ischemic Stroke: A Guideline From the American Heart Association/American Stroke Association Stroke Council, Clinical CardiologyCouncil, Cardiovascular Radiology and Intervention Council, and the Atherosclerotic Peripheral Vascular Disease and Quality of Care Outcomes in Research Interdisciplinary Working Groups. Stroke. 2007;38:1655-1711.
\n
\n
\n
\n
Adams H, Adams R, Del Zoppo G, Goldstein LB. Guidelines for the Early Management of Patients With Ischemic Stroke: Guidelines Update A Scientific Statement From the Stroke Council of the American Heart Association/American Stroke Association. Stroke Vol. 36, 2005: 916:923.
\n
\n
\n
\n
Albers GW, Amarenco P, Easton JD, Sacco RL, Teal P. Antithrombotic and Thrombolytic Therapy for Ischemic Stroke. Chest Vol. 119, 2001: 300-320.
\n
\n
\n
\n
Brott TG, Clark WM, Grotta JC, et al. Stroke the first hours. Guidelines for acute treatment. Consensus Statement. National Stroke Association. 2000.
\n
\n
\n
\n
Chen ZM, Sandercock P, Pan HC, et al. Indications for early aspirin use in acute ischemic stroke: a combined analysis of 40,000 randomized patients from the Chinese acute stroke trial and the international stroke trial. On behalf of the CAST and IST collaborative groups, Stroke 2000;31:1240-1249.
\n
\n
\n
\n
Coull BM, Williams LS, Goldstein LB, et al. Anticoagulants and Antiplatelet Agents in Acute Ischemic Stroke. Report of the Joint Stroke Guideline Development Committee of the American Academy of Neurology and the American Stroke Association (a Division of the American Heart Association) Stroke. 2002;33:1934 - 1942.
\n
\n
\n
\n
Guideline on the Use of Aspirin as Secondary Prophylaxis for Vascular Disease in Primary Care, Centre for Health Services Research University of Newcastle upon Tyne, %26amp; Centre for Health Economics of York, 1998.
\n
\n
\n
\n
Kernan, W.N., B. Ovbiagele, H. R. Black, D. M. Bravata, M. I. Chimowitz, M. D. Ezekowitz, M. C. Fang, M. Fisher, K. L. Furie, D. V. Heck, S. C. Johnston, S. E. Kasner, S. J. Kittner, P. H. Mitchell, M. W. Rich, D. Richardson, L. H. Schwamm, J. A. Wilson. "Guidelines for the Prevention of Stroke in Patients with Stroke and Transient Ischemic Attack: A Guideline for Healthcare Professionals from the American Heart Association/American Stroke Association." [in eng.]  Stroke 45, no. 7 (May 2014): 2160-223. 
\n
\n
Characteristics
ScoringProportion
TypeProcess
Improvement NotationA higher rate indicates better performance.
Guidance\n

The "Non-elective Inpatient Encounter" value set intends to capture all non-scheduled hospitalizations. This value set is a subset of the "Inpatient encounter" value set, excluding concepts that specifically refer to elective hospital admissions. Non-elective admissions include emergency, urgent and unplanned admissions.

\n

The "Medication, Discharge" datatype refers to the discharge medication list and is intended to express medications ordered for post-discharge use.

\n
\n
Definitions
\n \n \n
\n \n \n \n \n
\n

Table of Contents

\n \n
\n \n

Definitions

\n \n

Functions

\n \n

Terminology

\n
\n
    \n \n
\n
\n

Data Criteria (QDM Data Elements)

\n
\n
    \n \n
\n
\n

Supplemental Data Elements

\n \n
\n
    \n
  • None
  • \n
\n
\n

Risk Adjustment Variables

\n
\n
    \n
  • None
  • \n
\n
\n
\n \n \n \n
\n
" - }, "extension": [ { "url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis", "valueCode": "boolean" @@ -818,9 +814,7 @@ "value": "group-1" }, "population": [ { - "identifier": { - "value": "initial-population-identifier" - }, + "id": "initial-population-identifier", "code": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-population", @@ -830,9 +824,7 @@ }, "criteria": "Initial Population" }, { - "identifier": { - "value": "numerator-identifier" - }, + "id": "numerator-identifier", "code": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-population", @@ -842,9 +834,7 @@ }, "criteria": "Numerator" }, { - "identifier": { - "value": "denominator-identifier" - }, + "id": "denominator-identifier", "code": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-population", @@ -854,9 +844,7 @@ }, "criteria": "Denominator" }, { - "identifier": { - "value": "denominator-exclusions-identifier" - }, + "id": "denominator-exclusions-identifier", "code": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/measure-population", diff --git a/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/connectathon/EXM124-FHIR3-7.2.000-bundle.json b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/connectathon/EXM124-FHIR3-7.2.000-bundle.json index 43eb6060da1..09f3b660dff 100644 --- a/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/connectathon/EXM124-FHIR3-7.2.000-bundle.json +++ b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/connectathon/EXM124-FHIR3-7.2.000-bundle.json @@ -3340,10 +3340,6 @@ "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm" ] }, - "text": { - "status": "generated", - "div": "
Id: Measure/exm124-FHIR3
Type:
system: http://hl7.org/fhir/measure-type
code: process
Identifier: system: http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/cms
value: 130
system: http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/nqf
value: 0034
Title: Cervical Cancer Screening
Status: active
Description: Percentage of women 21-64 years of age who were screened for cervical cancer using either of the following criteria: <br> * Women age 21-64 who had cervical cytology performed every 3 years <br.* Women age 30-64 who had cervical cytology/human papillomavirus (HPV) co-testing performed every 5 years
Purpose: Women 23-64 years of age with a visit during the measurement period
Use Context:

code: program

value:
text: eligible-provider

Topic:
system: http://loinc.org
code: 57024-2
display: Health Quality Measure Document
Contributor: author: National Committee for Quality Assurance
Related:

type: citation

citation:
Howlader, N., Noone, A.M., Krapcho, M., Miller, D., Bishop, K., Altekruse, S.F., Kosary, C.L., Yu, M., Ruhl, J., Tatalovich, Z., Mariotto, A., Lewis, D.R., Chen, H.S., Feuer, E.J., and Cronin, K.A. 2016. "SEER Cancer Statistics Review, 1975-2013." National Cancer Institute. (December 5, 2016) http://seer.cancer.gov/csr/1975_2013/

type: citation

citation:
National Business Group on Health. 2011. "Pathways to Managing Cancer in the Workplace." (May 8, 2012). http://www.tcyh.org/employers/downloads/Pathways_Managing_Cancer_2011.pdf

type: citation

citation:
Feig S. 2011. Comparison of Costs and Benefits of Breast Cancer Screening with Mammography, Ultrasonagraphy, and MRI. Obstetrics and Gynecology Clinics of North America. 38(1):179-96.

type: citation

citation:
U.S. Preventive Services Task Force (USPSTF). 2016. "Screening for Breast Cancer: U.S. Preventive Services Task Force Recommendation Statement." Ann Intern Med. 164(4):279-296. doi:10.7326/M15-2886.

Library:

reference: Library/exm124-FHIR3

Disclaimer: The performance Measure is not a clinical guideline and does not establish a standard of medical care, and has not been tested for all potential applications. THE MEASURE AND SPECIFICATIONS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. <br> Due to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].
Scoring:
system: http://hl7.org/fhir/measure-scoring
code: proportion
Rationale: Breast cancer is one of the most common types of cancers, accounting for 15 percent of all new cancer diagnoses in the U.S. (Howlader et al, 2016). In 2013, over 3 million women were estimated to be living with breast cancer in the U.S. and it is estimated that 12 percent of women will be diagnosed with breast cancer at some point during their lifetime (Howlader et al, 2016). <br> While there are other factors that affect a woman's risk of developing breast cancer, advancing age is a primary risk factor. Breast cancer is most frequently diagnosed among women ages 55-64; the median age at diagnosis is 62 years (Howlader et al, 2016). The chance of a woman being diagnosed with breast cancer in a given year increases with age. By age 40, the chances are 1 in 235; by age 50 it becomes 1 in 54; by age 60, it is 1 in 25 (National Business Group on Health, 2011). <br> In the U.S., costs associated with a diagnosis of breast cancer range from $451 to $2,520, factoring in continued testing, multiple office visits and procedures. The total costs related to breast cancer add up to nearly $7 billion per year in the U.S., including $2 billion spent on late-stage treatment (National Business Group on Health, 2011). If breast cancer is detected through mammography screening and diagnosed in its earliest stages, treatment may be less expensive (Feig, 2011).
Clinical Recommendation: The U.S. Preventive Services Task Force (USPSTF) recommends biennial screening mammography for women aged 50-74 years (B recommendation). <br> The decision to start screening mammography in women prior to age 50 years should be an individual one. Women who place a higher value on the potential benefit than the potential harms may choose to begin biennial screening between the ages of 40 and 49 years (C recommendation). (USPSTF, 2016) <br> The USPSTF concludes that the current evidence is insufficient to assess the balance of benefits and harms of screening mammography in women aged 75 years or older (I statement). (USPSTF, 2016) <br> The USPSTF concludes that the current evidence is insufficient to assess the benefits and harms of digital breast tomosynthesis (DBT) as a primary screening method for breast cancer (I Statement). (USPSTF, 2016) <br> The USPSTF concludes that the current evidence is insufficient to assess the balance of benefits and harms of adjunctive screening for breast cancer using breast ultrasonography, magnetic resonance imaging, DBT, or other methods in women identified to have dense breasts on an otherwise negative screening mammogram (I statement). (USPSTF, 2016)
Guidance: To ensure the measure is only looking for a cervical cytology test only after a woman turns 21 years of age, the youngest age in the initial population is 23. <br> Patient self-report for procedures as well as diagnostic studies should be recorded in 'Procedure, Performed' template or 'Diagnostic Study, Performed' template in QRDA-1. <br> Include only cytology and HPV "co-testing"; in co-testing, both cytology and HPV tests are performed (i.e., the samples are collected and both tests are ordered, regardless of the cytology result) on the same date of service. Do not include reflex testing. In addition, if the medical record indicates the HPV test was performed only after determining the cytology result, this is considered reflex testing and does not meet criteria for the measure.
Group:

Identifier:
value: group-1

Population:

Identifier:
value: initial-population-identifier

criteria: Initial Population

Identifier:
value: numerator-identifier

criteria: Numerator

Identifier:
value: denominator-identifier

criteria: Denominator

Identifier:
value: denominator-exclusions-identifier

criteria: Denominator Exclusion

Supplemental Data:

Identifier:
value: sde-ethnicity

usage:
system: http://hl7.org/fhir/measure-data-usage
code: supplemental-data

criteria: SDE Ethnicity

Identifier:
value: sde-payer

usage:
system: http://hl7.org/fhir/measure-data-usage
code: supplemental-data

criteria: SDE Payer

Identifier:
value: sde-race

usage:
system: http://hl7.org/fhir/measure-data-usage
code: supplemental-data

criteria: SDE Race

Identifier:
value: sde-sex

usage:
system: http://hl7.org/fhir/measure-data-usage
code: supplemental-data

criteria: SDE Sex

" - }, "extension": [ { "url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis", @@ -3486,9 +3482,7 @@ }, "population": [ { - "identifier": { - "value": "initial-population-identifier" - }, + "id": "initial-population-identifier", "code": { "coding": [ { @@ -3501,9 +3495,7 @@ "criteria": "Initial Population" }, { - "identifier": { - "value": "numerator-identifier" - }, + "id": "numerator-identifier", "code": { "coding": [ { @@ -3516,9 +3508,7 @@ "criteria": "Numerator" }, { - "identifier": { - "value": "denominator-identifier" - }, + "id": "denominator-identifier", "code": { "coding": [ { @@ -3531,9 +3521,7 @@ "criteria": "Denominator" }, { - "identifier": { - "value": "denominator-exclusions-identifier" - }, + "id": "denominator-exclusions-identifier", "code": { "coding": [ { diff --git a/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/hello-world/hello-world-careplan.json b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/hello-world/hello-world-careplan.json new file mode 100644 index 00000000000..61149ee278a --- /dev/null +++ b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/hello-world/hello-world-careplan.json @@ -0,0 +1,55 @@ +{ + "resourceType": "CarePlan", + "id": "hello-world-patient-view", + "contained": [ + { + "resourceType": "RequestGroup", + "id": "hello-world-patient-view", + "definition": [ + { + "reference": "http://fhir.org/guides/cdc/opioid-cds/PlanDefinition/hello-world-patient-view|1.0.0" + } + ], + "status": "draft", + "intent": "proposal", + "subject": { + "reference": "Patient/helloworld-patient-1" + }, + "context": { + "reference": "Encounter/helloworld-patient-1-encounter-1" + }, + "action": [ + { + "title": "Hello World!", + "description": "The CDS Service is alive and communicating successfully!", + "condition": [ + { + "kind": "start", + "expression": "Main Action Condition Expression Is True" + } + ] + } + ] + } + ], + "definition": [ + { + "reference": "http://fhir.org/guides/cdc/opioid-cds/PlanDefinition/hello-world-patient-view|1.0.0" + } + ], + "status": "draft", + "intent": "proposal", + "subject": { + "reference": "Patient/helloworld-patient-1" + }, + "context": { + "reference": "Encounter/helloworld-patient-1-encounter-1" + }, + "activity": [ + { + "reference": { + "reference": "#RequestGroup/hello-world-patient-view" + } + } + ] +} diff --git a/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/hello-world/hello-world-patient-data.json b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/hello-world/hello-world-patient-data.json new file mode 100644 index 00000000000..d8c5f285036 --- /dev/null +++ b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/hello-world/hello-world-patient-data.json @@ -0,0 +1,459 @@ +{ + "resourceType": "Bundle", + "id": "hello-world-patient-data", + "type": "transaction", + "entry": [ + { + "resource": { + "resourceType": "Encounter", + "id": "helloworld-patient-1-encounter-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB", + "display": "ambulatory" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "version": "2020-09", + "code": "185463005", + "display": "Visit out of hours (procedure)" + } + ] + } + ], + "subject": { + "reference": "Patient/helloworld-patient-1" + }, + "period": { + "start": "2020-01-01T10:00:00-07:00", + "end": "2020-01-01T11:00:00-07:00" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/helloworld-patient-1-encounter-1" + } + }, + { + "resource": { + "resourceType": "Patient", + "id": "helloworld-patient-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient" + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/PHRaceAndEthnicityCDC", + "code": "2106-3", + "display": "White" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/PHRaceAndEthnicityCDC", + "code": "1002-5", + "display": "American Indian or Alaska Native" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/PHRaceAndEthnicityCDC", + "code": "2028-9", + "display": "Asian" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/PHRaceAndEthnicityCDC", + "code": "1586-7", + "display": "Shoshone" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/PHRaceAndEthnicityCDC", + "code": "2036-2", + "display": "Filipino" + } + }, + { + "url": "text", + "valueString": "Mixed" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/PHRaceAndEthnicityCDC", + "code": "2135-2", + "display": "Hispanic or Latino" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/PHRaceAndEthnicityCDC", + "code": "2184-0", + "display": "Dominican" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/PHRaceAndEthnicityCDC", + "code": "2148-5", + "display": "Mexican" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "valueCode": "M" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR" + } + ] + }, + "system": "urn:oid:1.2.36.146.595.217.0.1", + "value": "12345", + "period": { + "start": "2001-05-06" + }, + "assigner": { + "display": "Acme Healthcare" + } + } + ], + "active": true, + "name": [ + { + "use": "official", + "family": "Doe", + "given": [ + "John" + ] + } + ], + "gender": "male", + "birthDate": "1991-01-01", + "deceasedBoolean": false + }, + "request": { + "method": "PUT", + "url": "Patient/helloworld-patient-1" + } + }, + { + "resource": { + "resourceType": "MeasureReport", + "id": "measurereport-helloworld-patient-1", + "contained": [ + { + "resourceType": "Observation", + "id": "256ebb02-c5d6-4b37-ae5f-66b027e67c53", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo", + "extension": [ + { + "url": "measure", + "valueUri": "http://content.alphora.com/fhir/dqm/Measure/helloworld" + }, + { + "url": "populationId", + "valueString": "sde-race" + } + ] + } + ], + "status": "final", + "code": { + "text": "sde-race" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/PHRaceAndEthnicityCDC", + "code": "2106-3", + "display": "White" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "54f1aa42-627e-45df-a655-18a88c5f5d6c", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo", + "extension": [ + { + "url": "measure", + "valueUri": "http://content.alphora.com/fhir/dqm/Measure/helloworld" + }, + { + "url": "populationId", + "valueString": "sde-payer" + } + ] + } + ], + "status": "final", + "code": { + "text": "sde-payer" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "https://nahdo.org/sopt", + "code": "31", + "display": "Department of Defense" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "2499fe18-2a97-4ad8-8d5f-154d94f5f4e9", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo", + "extension": [ + { + "url": "measure", + "valueUri": "http://content.alphora.com/fhir/dqm/Measure/helloworld" + }, + { + "url": "populationId", + "valueString": "sde-ethnicity" + } + ] + } + ], + "status": "final", + "code": { + "text": "sde-ethnicity" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/PHRaceAndEthnicityCDC", + "code": "2135-2", + "display": "Hispanic or Latino" + } + ] + } + }, + { + "resourceType": "Observation", + "id": "6f2b2210-564c-4614-bbe7-0fe5de354b99", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo", + "extension": [ + { + "url": "measure", + "valueUri": "http://content.alphora.com/fhir/dqm/Measure/helloworld" + }, + { + "url": "populationId", + "valueString": "sde-sex" + } + ] + } + ], + "status": "final", + "code": { + "text": "sde-sex" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "M" + } + ] + } + } + ], + "status": "complete", + "type": "individual", + "measure": { + "reference": "http://content.alphora.com/fhir/dqm/Measure/helloworld" + }, + "patient": { + "reference": "Patient/helloworld-patient-1" + }, + "period": { + "start": "2020-01-01T00:00:00-07:00", + "end": "2020-12-31T00:00:00-07:00" + }, + "group": [ + { + "id": "group-1", + "population": [ + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/measure-population", + "code": "initial-population", + "display": "Initial Population" + } + ] + }, + "count": 0 + }, + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/measure-population", + "code": "numerator", + "display": "Numerator" + } + ] + }, + "count": 0 + }, + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/measure-population", + "code": "denominator", + "display": "Denominator" + } + ] + }, + "count": 0 + } + ] + }, + { + "id": "group-2", + "population": [ + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/measure-population", + "code": "initial-population", + "display": "Initial Population" + } + ] + }, + "count": 0 + }, + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/measure-population", + "code": "numerator", + "display": "Numerator" + } + ] + }, + "count": 0 + }, + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/measure-population", + "code": "denominator", + "display": "Denominator" + } + ] + }, + "count": 0 + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "MeasureReport/measurereport-helloworld-patient-1" + } + }, + { + "resource": { + "resourceType": "Coverage", + "id": "helloworld-patient-1-coverage-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage" + ] + }, + "status": "active", + "type": { + "coding": [ + { + "system": "https://nahdo.org/sopt", + "version": "9.2", + "code": "31", + "display": "Department of Defense" + } + ] + }, + "policyHolder": { + "reference": "Patient/helloworld-patient-1" + }, + "beneficiary": { + "reference": "Patient/helloworld-patient-1" + }, + "period": { + "start": "2020-01-01T00:00:00-07:00", + "end": "2021-01-01T00:00:00-07:00" + }, + "payor": [ + { + "reference": "Patient/helloworld-patient-1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Coverage/helloworld-patient-1-coverage-1" + } + } + ] +} diff --git a/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/hello-world/hello-world-patient-view-bundle.json b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/hello-world/hello-world-patient-view-bundle.json new file mode 100644 index 00000000000..0847f32fa59 --- /dev/null +++ b/hapi-fhir-storage-cr/src/test/resources/ca/uhn/fhir/cr/dstu3/hello-world/hello-world-patient-view-bundle.json @@ -0,0 +1,214 @@ +{ + "resourceType": "Bundle", + "id": "hello-world-patient-view-bundle", + "type": "transaction", + "entry": [ + { + "resource": { + "resourceType": "PlanDefinition", + "id": "hello-world-patient-view", + "meta": { + "profile": [ + "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recommendationdefinition" + ] + }, + "url": "http://fhir.org/guides/cdc/opioid-cds/PlanDefinition/hello-world-patient-view", + "identifier": [ + { + "use": "official", + "value": "helloworld-patient-view-sample" + } + ], + "version": "1.0.0", + "name": "HelloWorldPatientView", + "title": "Hello World (patient-view)", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/plan-definition-type", + "code": "eca-rule", + "display": "ECA Rule" + } + ] + }, + "status": "draft", + "experimental": true, + "date": "2021-05-26T00:00:00-08:00", + "publisher": "Alphora", + "description": "This PlanDefinition defines a simple Hello World recommendation that triggers on patient-view.", + "useContext": [ + { + "code": { + "system": "http://terminology.hl7.org/CodeSystem/usage-context-type", + "version": "3.2.0", + "code": "focus", + "display": "Clinical Focus" + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/ValueSet/iso3166-1-3", + "version": "3.2.0", + "code": "USA", + "display": "United States of America" + } + ] + } + ], + "purpose": "The purpose of this is to test the system to make sure we have complete end-to-end functionality", + "usage": "This is to be used in conjunction with a patient-facing FHIR application.", + "copyright": "© CDC 2016+.", + "library": [ + { + "reference": "http://fhir.org/guides/cdc/opioid-cds/Library/HelloWorld" + } + ], + "action": [ + { + "title": "Hello World!", + "description": "A simple Hello World (patient-view) recommendation", + "triggerDefinition": [ + { + "type": "named-event", + "eventName": "patient-view" + } + ], + "condition": [ + { + "kind": "start", + "description": "Whether or not a Hello World! card should be returned", + "language": "text/cql.identifier", + "expression": "Main Action Condition Expression Is True" + } + ], + "dynamicValue": [ + { + "path": "action.title", + "language": "text/cql.identifier", + "expression": "Get Title" + }, + { + "path": "action.description", + "language": "text/cql.identifier", + "expression": "Get Description" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "PlanDefinition/hello-world-patient-view" + } + }, + { + "resource": { + "resourceType": "Library", + "id": "HelloWorld", + "extension": [ + { + "url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem", + "valueReference": { + "reference": "Device/cqf-tooling" + } + } + ], + "url": "http://fhir.org/guides/cdc/opioid-cds/Library/HelloWorld", + "version": "1.0.0", + "name": "HelloWorld", + "relatedArtifact": [ + { + "type": "depends-on", + "display": "FHIR model information", + "resource": { + "reference": "http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|3.2.0" + } + } + ], + "parameter": [ + { + "name": "Patient", + "use": "out", + "min": 0, + "max": "1", + "type": "Patient" + }, + { + "name": "Info", + "use": "out", + "min": 0, + "max": "1", + "type": "string" + }, + { + "name": "Warning", + "use": "out", + "min": 0, + "max": "1", + "type": "string" + }, + { + "name": "Critical", + "use": "out", + "min": 0, + "max": "1", + "type": "string" + }, + { + "name": "Main Action Condition Expression Is True", + "use": "out", + "min": 0, + "max": "1", + "type": "boolean" + }, + { + "name": "Get Title", + "use": "out", + "min": 0, + "max": "1", + "type": "string" + }, + { + "name": "Get Description", + "use": "out", + "min": 0, + "max": "1", + "type": "string" + }, + { + "name": "Get Indicator", + "use": "out", + "min": 0, + "max": "1", + "type": "string" + } + ], + "dataRequirement": [ + { + "type": "Patient", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/Patient" + ] + } + ], + "content": [ + { + "contentType": "text/cql", + "data": "bGlicmFyeSBIZWxsb1dvcmxkIHZlcnNpb24gJzEuMC4wJwoKdXNpbmcgRkhJUiB2ZXJzaW9uICczLjIuMCcKCi8qIGluY2x1ZGUgRkhJUkhlbHBlcnMgdmVyc2lvbiAnMy4yLjAnKi8KCmNvbnRleHQgUGF0aWVudAoKZGVmaW5lICJJbmZvIjoKICAnaW5mbycKCmRlZmluZSAiV2FybmluZyI6CiAgJ3dhcm5pbmcnCgpkZWZpbmUgIkNyaXRpY2FsIjoKICAnY3JpdGljYWwnCgpkZWZpbmUgIk1haW4gQWN0aW9uIENvbmRpdGlvbiBFeHByZXNzaW9uIElzIFRydWUiOgogIHRydWUKCmRlZmluZSAiR2V0IFRpdGxlIjoKICAnSGVsbG8gV29ybGQhJwoKZGVmaW5lICJHZXQgRGVzY3JpcHRpb24iOgogICdUaGUgQ0RTIFNlcnZpY2UgaXMgYWxpdmUgYW5kIGNvbW11bmljYXRpbmcgc3VjY2Vzc2Z1bGx5IScKCmRlZmluZSAiR2V0IEluZGljYXRvciI6CiAgJ2luZm8nCg==" + }, + { + "contentType": "application/elm+xml", + "data": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGxpYnJhcnkgeG1sbnM9InVybjpobDctb3JnOmVsbTpyMSIgeG1sbnM6dD0idXJuOmhsNy1vcmc6ZWxtLXR5cGVzOnIxIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxuczp4c2Q9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxuczpmaGlyPSJodHRwOi8vaGw3Lm9yZy9maGlyIiB4bWxuczpxZG00Mz0idXJuOmhlYWx0aGl0LWdvdjpxZG06djRfMyIgeG1sbnM6cWRtNTM9InVybjpoZWFsdGhpdC1nb3Y6cWRtOnY1XzMiIHhtbG5zOmE9InVybjpobDctb3JnOmNxbC1hbm5vdGF0aW9uczpyMSI+CiAgIDxhbm5vdGF0aW9uIHRyYW5zbGF0b3JWZXJzaW9uPSIyLjIuMC1TTkFQU0hPVCIgdHJhbnNsYXRvck9wdGlvbnM9IiIgeHNpOnR5cGU9ImE6Q3FsVG9FbG1JbmZvIi8+CiAgIDxpZGVudGlmaWVyIGlkPSJIZWxsb1dvcmxkIiB2ZXJzaW9uPSIxLjAuMCIvPgogICA8c2NoZW1hSWRlbnRpZmllciBpZD0idXJuOmhsNy1vcmc6ZWxtIiB2ZXJzaW9uPSJyMSIvPgogICA8dXNpbmdzPgogICAgICA8ZGVmIGxvY2FsSWRlbnRpZmllcj0iU3lzdGVtIiB1cmk9InVybjpobDctb3JnOmVsbS10eXBlczpyMSIvPgogICAgICA8ZGVmIGxvY2FsSWRlbnRpZmllcj0iRkhJUiIgdXJpPSJodHRwOi8vaGw3Lm9yZy9maGlyIiB2ZXJzaW9uPSIzLjIuMCIvPgogICA8L3VzaW5ncz4KICAgPGNvbnRleHRzPgogICAgICA8ZGVmIG5hbWU9IlBhdGllbnQiLz4KICAgPC9jb250ZXh0cz4KICAgPHN0YXRlbWVudHM+CiAgICAgIDxkZWYgbmFtZT0iUGF0aWVudCIgY29udGV4dD0iUGF0aWVudCI+CiAgICAgICAgIDxleHByZXNzaW9uIHhzaTp0eXBlPSJTaW5nbGV0b25Gcm9tIj4KICAgICAgICAgICAgPG9wZXJhbmQgZGF0YVR5cGU9ImZoaXI6UGF0aWVudCIgeHNpOnR5cGU9IlJldHJpZXZlIi8+CiAgICAgICAgIDwvZXhwcmVzc2lvbj4KICAgICAgPC9kZWY+CiAgICAgIDxkZWYgbmFtZT0iSW5mbyIgY29udGV4dD0iUGF0aWVudCIgYWNjZXNzTGV2ZWw9IlB1YmxpYyI+CiAgICAgICAgIDxleHByZXNzaW9uIHZhbHVlVHlwZT0idDpTdHJpbmciIHZhbHVlPSJpbmZvIiB4c2k6dHlwZT0iTGl0ZXJhbCIvPgogICAgICA8L2RlZj4KICAgICAgPGRlZiBuYW1lPSJXYXJuaW5nIiBjb250ZXh0PSJQYXRpZW50IiBhY2Nlc3NMZXZlbD0iUHVibGljIj4KICAgICAgICAgPGV4cHJlc3Npb24gdmFsdWVUeXBlPSJ0OlN0cmluZyIgdmFsdWU9Indhcm5pbmciIHhzaTp0eXBlPSJMaXRlcmFsIi8+CiAgICAgIDwvZGVmPgogICAgICA8ZGVmIG5hbWU9IkNyaXRpY2FsIiBjb250ZXh0PSJQYXRpZW50IiBhY2Nlc3NMZXZlbD0iUHVibGljIj4KICAgICAgICAgPGV4cHJlc3Npb24gdmFsdWVUeXBlPSJ0OlN0cmluZyIgdmFsdWU9ImNyaXRpY2FsIiB4c2k6dHlwZT0iTGl0ZXJhbCIvPgogICAgICA8L2RlZj4KICAgICAgPGRlZiBuYW1lPSJNYWluIEFjdGlvbiBDb25kaXRpb24gRXhwcmVzc2lvbiBJcyBUcnVlIiBjb250ZXh0PSJQYXRpZW50IiBhY2Nlc3NMZXZlbD0iUHVibGljIj4KICAgICAgICAgPGV4cHJlc3Npb24gdmFsdWVUeXBlPSJ0OkJvb2xlYW4iIHZhbHVlPSJ0cnVlIiB4c2k6dHlwZT0iTGl0ZXJhbCIvPgogICAgICA8L2RlZj4KICAgICAgPGRlZiBuYW1lPSJHZXQgVGl0bGUiIGNvbnRleHQ9IlBhdGllbnQiIGFjY2Vzc0xldmVsPSJQdWJsaWMiPgogICAgICAgICA8ZXhwcmVzc2lvbiB2YWx1ZVR5cGU9InQ6U3RyaW5nIiB2YWx1ZT0iSGVsbG8gV29ybGQhIiB4c2k6dHlwZT0iTGl0ZXJhbCIvPgogICAgICA8L2RlZj4KICAgICAgPGRlZiBuYW1lPSJHZXQgRGVzY3JpcHRpb24iIGNvbnRleHQ9IlBhdGllbnQiIGFjY2Vzc0xldmVsPSJQdWJsaWMiPgogICAgICAgICA8ZXhwcmVzc2lvbiB2YWx1ZVR5cGU9InQ6U3RyaW5nIiB2YWx1ZT0iVGhlIENEUyBTZXJ2aWNlIGlzIGFsaXZlIGFuZCBjb21tdW5pY2F0aW5nIHN1Y2Nlc3NmdWxseSEiIHhzaTp0eXBlPSJMaXRlcmFsIi8+CiAgICAgIDwvZGVmPgogICAgICA8ZGVmIG5hbWU9IkdldCBJbmRpY2F0b3IiIGNvbnRleHQ9IlBhdGllbnQiIGFjY2Vzc0xldmVsPSJQdWJsaWMiPgogICAgICAgICA8ZXhwcmVzc2lvbiB2YWx1ZVR5cGU9InQ6U3RyaW5nIiB2YWx1ZT0iaW5mbyIgeHNpOnR5cGU9IkxpdGVyYWwiLz4KICAgICAgPC9kZWY+CiAgIDwvc3RhdGVtZW50cz4KPC9saWJyYXJ5Pg==" + } + ] + }, + "request": { + "method": "PUT", + "url": "Library/HelloWorld" + } + } + ] +} diff --git a/pom.xml b/pom.xml index 2ce4f6d190a..a9efbc6be4a 100644 --- a/pom.xml +++ b/pom.xml @@ -1006,7 +1006,7 @@ 1.0.8 - 3.2.0 + 3.3.1 5.4.1