You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+30-30
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Build:
8
8
9
9
Execute via the command line:
10
10
11
-
java -jar target/cqlTranslationServer-2.4.0.jar
11
+
java -jar target/cqlTranslationServer-2.5.0.jar
12
12
13
13
_NOTE: The cqlTranslationServer jar assumes that all dependency jars are located in a `libs` directory relative to the jar's location. If you move the jar from the `target` directory, you will need to move the `target/libs` directory as well. This project no longer produces an "uber-jar", as the CQL-to-ELM classes do not function properly when repackaged into a single jar file._
14
14
@@ -17,7 +17,8 @@ _NOTE: The cqlTranslationServer jar assumes that all dependency jars are located
17
17
CQL Translation Service versions prior to version 2.0.0 always mirrored the CQL Tools (CQL-to-ELM translator) version they exposed. Starting with version 2.0.0, semantic versioning is now used. As a result, the version of the CQL Translation Service differs from the version of the CQL Tools that it exposes. The following table shows the relationship between [CQL Translation Service releases](https://github.com/cqframework/cql-translation-service/releases) and [CQL Tools releases](https://github.com/cqframework/clinical_quality_language/releases). Note that prior releases from the [MITRE repo](https://github.com/mitre/cql-translation-service/releases) are not included here.
The CQL-to-ELM translator supports many options to control the output. These options can be passed to the service as query parameters when you post CQL to the service (e.g., `POST http://localhost:8080/cql/translator?annotations=true&result-types=true`). These query parameters are supported for both simple requests and multipart requests. See the table below for the available options:
171
-
172
-
|Option|Values|Default|
173
-
|----|----|----|
174
-
|date-range-optimization|true\|false|false|
175
-
|annotations|true\|false|false|
176
-
|locators|true\|false|false|
177
-
|result-types|true\|false|false|
178
-
|signatures|None\|Differing\|Overloads\|All|None|
179
-
|detailed-errors|true\|false|false|
180
-
|disable-list-traversal|true\|false|false|
181
-
|disable-list-demotion|true\|false|false|
182
-
|disable-list-promotion|true\|false|false|
183
-
|enable-interval-demotion|true\|false|false|
184
-
|enable-interval-promotion|true\|false|false|
185
-
|disable-method-invocation|true\|false|false|
186
-
|require-from-keyword|true\|false|false|
187
-
|strict|true\|false|false|
188
-
|debug|true\|false|false|
189
-
|validate-units|true\|false|false|
171
+
The CQL-to-ELM translator supports many options to control the output. These options can be passed to the service as query parameters when you post CQL to the service (e.g., `POST http://localhost:8080/cql/translator?annotations=true&result-types=true`). These query parameters are supported for both simple requests and multipart requests. See the table below for the available options:
For more information on each of these options, see the [CQL-to-ELM Overview](https://github.com/cqframework/clinical_quality_language/blob/master/Src/java/cql-to-elm/OVERVIEW.md#usage).
192
193
193
194
_**NOTE:**_
194
-
*_Previous versions of the CQL-to-ELM Translation Service defaulted **annotations** to true. To align better with the CQL-to-ELM console client, the translation service now defaults annotations to false._
195
-
*_Previous versions of the CQL-to-ELM Translation Service allowed list-promotion to be disabled via an extra multipart form field named **disablePromotion**. This is no longer supported, as it was ambiguous and inconsistent with the CQL-to-ELM console client. The **disable-list-promotion** query parameter should be used instead._
195
+
196
+
-_Previous versions of the CQL-to-ELM Translation Service defaulted **annotations** to true. To align better with the CQL-to-ELM console client, the translation service now defaults annotations to false._
197
+
-_Previous versions of the CQL-to-ELM Translation Service allowed list-promotion to be disabled via an extra multipart form field named **disablePromotion**. This is no longer supported, as it was ambiguous and inconsistent with the CQL-to-ELM console client. The **disable-list-promotion** query parameter should be used instead._
196
198
197
199
## Formatter Endpoint
198
200
@@ -231,7 +233,6 @@ formatted part for each CQL part in the submitted package.
You may deploy pre-built Docker images into your existing hosting environment with:
291
291
292
-
docker run -d -p 8080:8080 --restart unless-stopped cqframework/cql-translation-service:latest # or any official tag
292
+
docker run -d -p 8080:8080 --restart unless-stopped cqframework/cql-translation-service:latest # or any official tag
293
293
294
294
And you're done. No environment variables or further configuration are needed. Jedis may use your existing Kubernetes, Open Shift etc installations as you see fit. :)
295
295
296
296
To build your own image for your current architecture:
297
297
298
-
docker build -t cqframework/cql-translation-service:latest . # but use your your own repo and tag strings!
298
+
docker build -t cqframework/cql-translation-service:latest . # but use your your own repo and tag strings!
299
299
300
300
To build your own image for multiple architectures (e.g., Intel and Mac M1):
301
301
302
-
docker buildx build --platform linux/amd64,linux/arm64 -t cqframework/cql-translation-service:latest . # but use your your own repo and tag strings!
302
+
docker buildx build --platform linux/amd64,linux/arm64 -t cqframework/cql-translation-service:latest . # but use your your own repo and tag strings!
303
303
304
304
Note that Docker doesn't support loading multi-platform builds locally, so the above multi-platform build commmand is only helpful when used with `--push`. See: [https://github.com/docker/buildx/issues/59](https://github.com/docker/buildx/issues/59).
305
305
@@ -315,7 +315,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
315
315
you may not use this file except in compliance with the License.
316
316
You may obtain a copy of the License at
317
317
318
-
http://www.apache.org/licenses/LICENSE-2.0
318
+
http://www.apache.org/licenses/LICENSE-2.0
319
319
320
320
Unless required by applicable law or agreed to in writing, software
321
321
distributed under the License is distributed on an "AS IS" BASIS,
0 commit comments