From dba4027b4ab8cbf82094ca0d8e376758c6b464da Mon Sep 17 00:00:00 2001 From: Anton Abushkevich Date: Thu, 22 Sep 2022 10:44:14 +0300 Subject: [PATCH] Typo - Export / Text View - Cohort Exit - suply OHDSI/Atlas#2750 --- .../cohortdefinition/printfriendly/endStrategyTypes.ftl | 2 +- .../circe/cohortdefinition/printfriendly/PrintFriendlyTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/resources/cohortdefinition/printfriendly/endStrategyTypes.ftl b/src/main/resources/resources/cohortdefinition/printfriendly/endStrategyTypes.ftl index 06e02cea..8f021d3d 100644 --- a/src/main/resources/resources/cohortdefinition/printfriendly/endStrategyTypes.ftl +++ b/src/main/resources/resources/cohortdefinition/printfriendly/endStrategyTypes.ftl @@ -30,5 +30,5 @@ The cohort end date will be offset from index event's ${utils.optionName(dateOff <#macro CustomEraStrategy s> The cohort end date will be based on a continuous exposure to ${utils.codesetName(s.drugCodesetId!"", "_invalid drug specified_")}: allowing ${s.gapDays} days between exposures, adding <@utils.formatValue s.offset "day"/> after exposure ends, and <#if -s.daysSupplyOverride??>forcing drug exposure days suply to: <@utils.formatValue s.daysSupplyOverride "day"/>.<#else>using days supply and exposure end date for exposure duration. +s.daysSupplyOverride??>forcing drug exposure days supply to: <@utils.formatValue s.daysSupplyOverride "day"/>.<#else>using days supply and exposure end date for exposure duration. diff --git a/src/test/java/org/ohdsi/circe/cohortdefinition/printfriendly/PrintFriendlyTest.java b/src/test/java/org/ohdsi/circe/cohortdefinition/printfriendly/PrintFriendlyTest.java index 261f462d..2a49a225 100644 --- a/src/test/java/org/ohdsi/circe/cohortdefinition/printfriendly/PrintFriendlyTest.java +++ b/src/test/java/org/ohdsi/circe/cohortdefinition/printfriendly/PrintFriendlyTest.java @@ -429,7 +429,7 @@ public void customEraExitTest() { String markdown = pf.renderCohort(expression); assertThat(markdown, stringContainsInOrder( "The cohort end date will be based on a continuous exposure to 'Concept Set 1':", - "allowing 14 days between exposures, adding 1 day after exposure ends, and forcing drug exposure days suply to: 7 days." + "allowing 14 days between exposures, adding 1 day after exposure ends, and forcing drug exposure days supply to: 7 days." )); }