Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit 984bd65

Browse files
committed
Prepare for 0.1.0 Release
2 parents 060fd53 + 6147651 commit 984bd65

6 files changed

Lines changed: 46 additions & 18 deletions

File tree

codex-process-feasibility/README.md

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ This describes the execute process in case `Structured Query` is specified as an
7474

7575
This process supports the following query types within the transferred Library resource:
7676

77-
|Type | Description | Mime Type |
78-
|-----|-------------|-----------|
79-
| CQL | Standardized query format. See https://cql.hl7.org/ for more information. | `text/cql` |
80-
| Structured Query | Internal query representation within the CODEX project based on the JSON format. | `application/sq+json` |
77+
| Type | Description | Mime Type |
78+
|-------------------|------------------------------------------------------------------------------------------------|----------------------------|
79+
| CQL | Standardized query format. See https://cql.hl7.org/ for more information. | `text/cql` |
80+
| Structured Query | Internal query representation within the CODEX project based on the JSON format. | `application/sq+json` |
8181
| FHIR Search Query | Standardized FHIR search query. See https://www.hl7.org/fhir/search.html for more information. | `application/x-fhir-query` |
8282

8383
**Note**: _Although a FHIR search query can be transferred to the process no result will be calculated!_
@@ -98,10 +98,38 @@ In the [Business Process Model and Notation][7] (BPMN) model of the `request` pr
9898

9999
The BPMN model of the `execute` process is straightforward and already explained in detail above.
100100

101+
## Configuration
102+
103+
Besides the [common DSF settings controlled by different environment variables][8], there are some additional ones specific to this process:
104+
105+
| EnvVar | Description | Default |
106+
|----------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|---------|
107+
| DE_NETZWERK_UNIVERSITAETSMEDIZIN_CODEX_PROCESSES_FEASIBILITY_FLARE_WEBSERVICE_BASEURL | Base URL to a Flare instance. Only required when evaluation strategy is set to `structured-query`. | |
108+
| DE_NETZWERK_UNIVERSITAETSMEDIZIN_CODEX_PROCESSES_FEASIBILITY_FLARE_WEBSERVICE_CONNECTTIMEOUT | Timeout in ms when trying to connect to a Flare instance. | `2000` |
109+
| DE_NETZWERK_UNIVERSITAETSMEDIZIN_CODEX_PROCESSES_FEASIBILITY_EVALUATION_STRATEGY | How the feasibility shall be evaluated. Possible values are `cql` and `structured-query`. When using the latter a Flare instance is required. | `cql` |
110+
| DE_NETZWERK_UNIVERSITAETSMEDIZIN_CODEX_PROCESSES_FEASIBILITY_EVALUATION_OBFUSCATE | Whether the feasibility results shall be obfuscated. | `true` |
111+
| DE_NETZWERK_UNIVERSITAETSMEDIZIN_CODEX_PROCESSES_FEASIBILITY_STORE_URL | Base URL to a FHIR store used for feasibility evaluation. Only required when evaluation strategy is set to `cql`. | `foo` |
112+
113+
## Compatibility
114+
115+
This version of the process is compatible with the following components:
116+
117+
| Component | Compatible Version(s) |
118+
|-----------|-----------------------|
119+
| DSF FHIR | `0.5.x` |
120+
| DSF BPE | `0.5.x` |
121+
| Blaze | `>= 0.12` |
122+
| Flare | `1.0` |
123+
124+
**Note:** Flare got rewritten. Only the [new project][9] is supported.
125+
126+
101127
[1]: <https://www.hl7.org/FHIR/task.html>
102128
[2]: <https://www.hl7.org/fhir/measure.html>
103129
[3]: <https://www.hl7.org/fhir/library.html>
104130
[4]: <https://www.hl7.org/fhir/bundle.html>
105131
[5]: <https://www.hl7.org/fhir/operation-measure-evaluate-measure.html>
106132
[6]: <https://www.hl7.org/fhir/measurereport.html>
107133
[7]: <https://en.wikipedia.org/wiki/Business_Process_Model_and_Notation>
134+
[8]: <https://github.com/highmed/highmed-dsf/wiki/DSF-0.5.4-Configuration-Parameters#dsf-bpe>
135+
[9]: <https://github.com/rwth-imi/flare-query>

codex-process-feasibility/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>org.highmed.dsf</groupId>
2020
<artifactId>dsf-bpe-process-base</artifactId>
21-
<version>0.5.2</version>
21+
<version>0.5.4</version>
2222
<scope>provided</scope>
2323
</dependency>
2424
<dependency>
@@ -45,7 +45,7 @@
4545
<dependency>
4646
<groupId>org.highmed.dsf</groupId>
4747
<artifactId>dsf-fhir-validation</artifactId>
48-
<version>0.5.2</version>
48+
<version>0.5.4</version>
4949
<scope>test</scope>
5050
</dependency>
5151
</dependencies>

codex-process-feasibility/src/main/java/de/netzwerk_universitaetsmedizin/codex/processes/feasibility/FlareWebserviceClientImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ public FlareWebserviceClientImpl(HttpClient httpClient, URI flareBaseUrl) {
2525
public int requestFeasibility(byte[] structuredQuery) throws IOException, InterruptedException {
2626
var req = HttpRequest.newBuilder()
2727
.POST(ofByteArray(structuredQuery))
28-
.setHeader("Content-Type", "codex/json")
29-
.setHeader("Accept", "internal/json")
30-
.uri(flareBaseUrl.resolve("query-sync"))
28+
.setHeader("Content-Type", "application/json")
29+
.setHeader("Accept-Encoding", "CSQ")
30+
.uri(flareBaseUrl.resolve("/query/execute"))
3131
.build();
3232

3333
var res = httpClient.send(req, ofString());

codex-processes-ap2-docker-test-setup/db/init-db.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -e
33

44
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL

codex-processes-ap2-docker-test-setup/docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ services:
6868

6969
# ---- ZARS - FHIR Inbox ----------------------------------------------------
7070
zars-fhir-app:
71-
image: ghcr.io/highmed/fhir:0.5.2
71+
image: ghcr.io/highmed/fhir:0.5.4
7272
restart: on-failure
7373
secrets:
7474
- db_liquibase.password
@@ -114,7 +114,7 @@ services:
114114

115115
# ---- ZARS - BPE -----------------------------------------------------------
116116
zars-bpe-app:
117-
image: ghcr.io/highmed/bpe:0.5.2
117+
image: ghcr.io/highmed/bpe:0.5.4
118118
restart: on-failure
119119
secrets:
120120
- db_liquibase.password
@@ -165,7 +165,7 @@ services:
165165

166166
# ---- DIC-1 - FHIR ---------------------------------------------------------
167167
dic-1-fhir-app:
168-
image: ghcr.io/highmed/fhir:0.5.2
168+
image: ghcr.io/highmed/fhir:0.5.4
169169
restart: on-failure
170170
secrets:
171171
- db_liquibase.password
@@ -211,7 +211,7 @@ services:
211211

212212
# ---- DIC-1 - BPE ----------------------------------------------------------
213213
dic-1-bpe-app:
214-
image: ghcr.io/highmed/bpe:0.5.2
214+
image: ghcr.io/highmed/bpe:0.5.4
215215
restart: on-failure
216216
secrets:
217217
- db_liquibase.password
@@ -314,7 +314,7 @@ services:
314314

315315
# ---- DIC-2 - FHIR ---------------------------------------------------------
316316
dic-2-fhir-app:
317-
image: ghcr.io/highmed/fhir:0.5.2
317+
image: ghcr.io/highmed/fhir:0.5.4
318318
restart: on-failure
319319
secrets:
320320
- db_liquibase.password
@@ -360,7 +360,7 @@ services:
360360

361361
# ---- DIC-2 - BPE ----------------------------------------------------------
362362
dic-2-bpe-app:
363-
image: ghcr.io/highmed/bpe:0.5.2
363+
image: ghcr.io/highmed/bpe:0.5.4
364364
restart: on-failure
365365
secrets:
366366
- db_liquibase.password

codex-processes-ap2-tools/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
<dependency>
3131
<groupId>org.highmed.dsf</groupId>
3232
<artifactId>dsf-fhir-rest-adapter</artifactId>
33-
<version>0.5.2</version>
33+
<version>0.5.4</version>
3434
</dependency>
3535
<dependency>
3636
<groupId>org.highmed.dsf</groupId>
3737
<artifactId>dsf-fhir-server</artifactId>
38-
<version>0.5.2</version>
38+
<version>0.5.4</version>
3939
</dependency>
4040

4141
</dependencies>

0 commit comments

Comments
 (0)