diff --git a/.github/integration-test/basic-auth/docker-compose.yml b/.github/integration-test/basic-auth/docker-compose.yml
new file mode 100644
index 00000000..29d15251
--- /dev/null
+++ b/.github/integration-test/basic-auth/docker-compose.yml
@@ -0,0 +1,47 @@
+services:
+ data-store:
+ image: "samply/blaze:0.26.2"
+ healthcheck:
+ test: ["CMD-SHELL", "curl --fail -s http://localhost:8080/health"]
+ interval: "5s"
+ timeout: "5s"
+ retries: "3"
+ start_period: "60s"
+ environment:
+ BASE_URL: "http://data-store:8080"
+ JAVA_TOOL_OPTIONS: "-Xmx1g"
+ LOG_LEVEL: "debug"
+ ports:
+ - "8082:8080"
+ volumes:
+ - "data-store-data:/app/data"
+ flare:
+ image: "flare:latest"
+ healthcheck:
+ test: ["CMD-SHELL", "curl --fail -s http://localhost:8080/cache/stats"]
+ interval: "5s"
+ timeout: "5s"
+ retries: "3"
+ start_period: "60s"
+ environment:
+ JAVA_TOOL_OPTIONS: "-Xmx1g"
+ FLARE_FHIR_SERVER: "http://proxy:8080/fhir"
+ FLARE_FHIR_USER: "test"
+ FLARE_FHIR_PASSWORD: "bar"
+ LOG_LEVEL: "debug"
+ ports:
+ - "8080:8080"
+ volumes:
+ - "flare-cache:/app/cache"
+ - "../synthea-test-mapping:/app/ontology"
+ depends_on:
+ - data-store
+ proxy:
+ image: "nginx:1.27.0"
+ volumes:
+ - "./nginx.conf:/etc/nginx/nginx.conf"
+ - "./proxy.htpasswd:/etc/auth/.htpasswd"
+
+volumes:
+ data-store-data:
+ flare-cache:
diff --git a/.github/integration-test/basic-auth/load-data.sh b/.github/integration-test/basic-auth/load-data.sh
new file mode 100755
index 00000000..57e469aa
--- /dev/null
+++ b/.github/integration-test/basic-auth/load-data.sh
@@ -0,0 +1,5 @@
+#!/bin/bash -e
+
+SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
+
+blazectl --no-progress --server http://localhost:8082/fhir upload "$SCRIPT_DIR/../../test-data/synthea"
diff --git a/.github/integration-test/basic-auth/nginx.conf b/.github/integration-test/basic-auth/nginx.conf
new file mode 100644
index 00000000..944d346a
--- /dev/null
+++ b/.github/integration-test/basic-auth/nginx.conf
@@ -0,0 +1,37 @@
+user nginx;
+worker_processes 1;
+
+error_log /var/log/nginx/error.log debug;
+pid /var/run/nginx.pid;
+
+events {
+ worker_connections 1024;
+}
+
+http {
+ include /etc/nginx/mime.types;
+ log_format main '$remote_addr - $remote_user [$time_local] "$request" '
+ '$status $body_bytes_sent "$http_referer" '
+ '"$http_user_agent" "$http_x_forwarded_for"';
+ access_log /var/log/nginx/access.log main;
+ sendfile on;
+ keepalive_timeout 65;
+
+ server {
+ listen 8080;
+ listen [::]:8080;
+
+ location / {
+ root /usr/share/nginx/html;
+ index index.html;
+ }
+
+ location /fhir {
+ auth_basic "Test Area";
+ auth_basic_user_file /etc/auth/.htpasswd;
+
+ proxy_pass http://data-store:8080;
+ proxy_read_timeout 43200s;
+ }
+ }
+}
diff --git a/.github/integration-test/basic-auth/proxy.htpasswd b/.github/integration-test/basic-auth/proxy.htpasswd
new file mode 100644
index 00000000..ba294cf4
--- /dev/null
+++ b/.github/integration-test/basic-auth/proxy.htpasswd
@@ -0,0 +1 @@
+test:$apr1$4ihrtZR3$7fCQXazNsjIaSbt6CuWi/1
diff --git a/.github/integration-test/docker-compose.yml b/.github/integration-test/no-auth/docker-compose.yml
similarity index 55%
rename from .github/integration-test/docker-compose.yml
rename to .github/integration-test/no-auth/docker-compose.yml
index 8e24a876..7aaaf5a2 100644
--- a/.github/integration-test/docker-compose.yml
+++ b/.github/integration-test/no-auth/docker-compose.yml
@@ -1,6 +1,12 @@
services:
data-store:
- image: "samply/blaze:0.22"
+ image: "samply/blaze:0.26.2"
+ healthcheck:
+ test: ["CMD-SHELL", "curl --fail -s http://localhost:8080/health"]
+ interval: "5s"
+ timeout: "5s"
+ retries: "3"
+ start_period: "60s"
environment:
BASE_URL: "http://data-store:8080"
JAVA_TOOL_OPTIONS: "-Xmx1g"
@@ -11,6 +17,12 @@ services:
- "data-store-data:/app/data"
flare:
image: "flare:latest"
+ healthcheck:
+ test: ["CMD-SHELL", "curl --fail -s http://localhost:8080/cache/stats"]
+ interval: "5s"
+ timeout: "5s"
+ retries: "3"
+ start_period: "60s"
environment:
JAVA_TOOL_OPTIONS: "-Xmx1g"
FLARE_FHIR_SERVER: "http://data-store:8080/fhir"
@@ -19,7 +31,7 @@ services:
- "8080:8080"
volumes:
- "flare-cache:/app/cache"
- - "./synthea-test-mapping:/app/ontology"
+ - "../synthea-test-mapping:/app/ontology"
depends_on:
- data-store
volumes:
diff --git a/.github/integration-test/no-auth/load-data.sh b/.github/integration-test/no-auth/load-data.sh
new file mode 100755
index 00000000..57e469aa
--- /dev/null
+++ b/.github/integration-test/no-auth/load-data.sh
@@ -0,0 +1,5 @@
+#!/bin/bash -e
+
+SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
+
+blazectl --no-progress --server http://localhost:8082/fhir upload "$SCRIPT_DIR/../../test-data/synthea"
diff --git a/.github/integration-test/oauth/docker-compose.yml b/.github/integration-test/oauth/docker-compose.yml
new file mode 100644
index 00000000..0ff80aca
--- /dev/null
+++ b/.github/integration-test/oauth/docker-compose.yml
@@ -0,0 +1,140 @@
+services:
+ generate-cert:
+ image: alpine/openssl
+ networks:
+ test-oauth:
+ entrypoint: ["sh", "-c"]
+ command:
+ - openssl req -nodes -subj "/CN=proxy"
+ -addext "basicConstraints=CA:false"
+ -addext "subjectAltName = DNS:secure-data-store, DNS:secure-keycloak"
+ -x509 -newkey rsa:4096 -days 99999
+ -keyout /keys/key.pem -out /certs/cert.pem
+ volumes:
+ - "certs:/certs"
+ - "keys:/keys"
+ generate-trust-store:
+ image: eclipse-temurin:21
+ networks:
+ test-oauth:
+ entrypoint: ["bash", "-c"]
+ command:
+ - rm -rf "/trusts/trust-store.p12";
+ keytool -importcert -storetype PKCS12 -keystore "/trusts/trust-store.p12"
+ -storepass "insecure" -alias ca -file "/certs/cert.pem" -noprompt
+ volumes:
+ - "certs:/certs"
+ - "trusts:/trusts"
+ depends_on:
+ generate-cert:
+ condition: service_completed_successfully
+ keycloak:
+ image: "keycloak/keycloak:24.0.5"
+ command: ["start", "--import-realm"]
+ healthcheck:
+ test: ["CMD-SHELL", "exec 3<>/dev/tcp/127.0.0.1/8080;echo -e \"GET /health/ready HTTP/1.1\r\nhost: localhost\r\nConnection: close\r\n\r\n\" >&3;grep \"HTTP/1.1 200 OK\" <&3"]
+ interval: "5s"
+ timeout: "5s"
+ retries: "3"
+ start_period: "30s"
+ networks:
+ test-oauth:
+ environment:
+ KC_HOSTNAME_URL: "https://secure-keycloak:8443"
+ KC_HOSTNAME_ADMIN_URL: "https://secure-keycloak:8443"
+ KC_HTTP_RELATIVE_PATH: "/"
+ KC_PROXY_HEADERS: "xforwarded"
+ KC_HTTP_ENABLED: "true"
+ KC_HEALTH_ENABLED: "true"
+ KC_LOG_LEVEL: "info"
+ volumes:
+ - "./realm-test.json:/opt/keycloak/data/import/realm-test.json"
+ proxy:
+ image: "nginx:1.27.0"
+ healthcheck:
+ test: ["CMD-SHELL", "curl --fail -s http://localhost:8080"]
+ interval: "5s"
+ timeout: "5s"
+ retries: "3"
+ start_period: "5s"
+ networks:
+ test-oauth:
+ aliases:
+ - secure-data-store
+ - secure-keycloak
+ volumes:
+ - "./nginx.conf:/etc/nginx/nginx.conf"
+ - "certs:/etc/nginx/certs"
+ - "keys:/etc/nginx/keys"
+ depends_on:
+ generate-cert:
+ condition: service_completed_successfully
+ keycloak:
+ condition: service_healthy
+ data-store:
+ image: "samply/blaze:0.26.2"
+ healthcheck:
+ test: ["CMD-SHELL", "curl --fail -s http://localhost:8080/health"]
+ interval: "5s"
+ timeout: "5s"
+ retries: "3"
+ start_period: "60s"
+ networks:
+ test-oauth:
+ environment:
+ BASE_URL: "https://data-store:8080"
+ JAVA_TOOL_OPTIONS: "-Xmx1g"
+ OPENID_PROVIDER_URL: "https://secure-keycloak:8443/realms/test"
+ OPENID_CLIENT_TRUST_STORE: "/trusts/trust-store.p12"
+ OPENID_CLIENT_TRUST_STORE_PASS: "insecure"
+ LOG_LEVEL: "debug"
+ ports:
+ - "8082:8080"
+ volumes:
+ - "data-store-data:/app/data"
+ - "trusts:/trusts"
+ depends_on:
+ generate-trust-store:
+ condition: service_completed_successfully
+ keycloak:
+ condition: service_healthy
+ proxy:
+ condition: service_healthy
+ flare:
+ image: "flare:latest"
+ healthcheck:
+ test: ["CMD-SHELL", "curl --fail -s http://localhost:8080/cache/stats"]
+ interval: "5s"
+ timeout: "5s"
+ retries: "3"
+ start_period: "60s"
+ networks:
+ test-oauth:
+ environment:
+ JAVA_TOOL_OPTIONS: "-Xmx1g"
+ FLARE_FHIR_SERVER: "https://secure-data-store:8443/fhir"
+ FLARE_FHIR_OAUTH_ISSUER_URI: "https://secure-keycloak:8443/realms/test"
+ FLARE_FHIR_OAUTH_CLIENT_ID: "account"
+ FLARE_FHIR_OAUTH_CLIENT_SECRET: "test"
+ LOG_LEVEL: "debug"
+ ports:
+ - "8080:8080"
+ volumes:
+ - "flare-cache:/app/cache"
+ - "../synthea-test-mapping:/app/ontology"
+ - "certs:/app/certs"
+ depends_on:
+ generate-cert:
+ condition: service_completed_successfully
+ data-store:
+ condition: service_healthy
+ proxy:
+ condition: service_healthy
+volumes:
+ data-store-data:
+ certs:
+ keys:
+ trusts:
+ flare-cache:
+networks:
+ test-oauth:
diff --git a/.github/integration-test/oauth/load-data.sh b/.github/integration-test/oauth/load-data.sh
new file mode 100755
index 00000000..7e0c2275
--- /dev/null
+++ b/.github/integration-test/oauth/load-data.sh
@@ -0,0 +1,7 @@
+#!/bin/bash -e
+
+SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
+
+TOKEN="$(docker compose -f $SCRIPT_DIR/docker-compose.yml exec -it proxy curl -s --cacert /etc/nginx/certs/cert.pem -d 'client_id=account' -d 'client_secret=test' -d 'grant_type=client_credentials' 'https://secure-keycloak:8443/realms/test/protocol/openid-connect/token' | jq -r '.access_token')"
+
+blazectl --no-progress --token "$TOKEN" --server http://localhost:8082/fhir upload "$SCRIPT_DIR/../../test-data/synthea"
diff --git a/.github/integration-test/oauth/nginx.conf b/.github/integration-test/oauth/nginx.conf
new file mode 100644
index 00000000..28d87e60
--- /dev/null
+++ b/.github/integration-test/oauth/nginx.conf
@@ -0,0 +1,82 @@
+user nginx;
+worker_processes 1;
+
+error_log /dev/stdout debug;
+pid /var/run/nginx.pid;
+
+events {
+ worker_connections 1024;
+}
+
+http {
+ include /etc/nginx/mime.types;
+ log_format main '$remote_addr - $remote_user [$time_local] "$request" '
+ '$status $body_bytes_sent "$http_referer" '
+ '"$http_user_agent" "$http_x_forwarded_for"';
+ access_log /dev/stdout main;
+ sendfile on;
+ keepalive_timeout 65;
+
+ # SSL-Certificate and private key
+ ssl_certificate /etc/nginx/certs/cert.pem;
+ ssl_certificate_key /etc/nginx/keys/key.pem;
+
+ # The supported SSL Protocols
+ ssl_protocols TLSv1.2 TLSv1.3;
+
+ # DNS resolver needed for Docker
+ resolver 127.0.0.11 valid=10s;
+
+ # NGINX can impose its TLS cipher suite choices over those of a connecting browser, provided the browser supports them.
+ ssl_prefer_server_ciphers on;
+
+ # The supported SSL Ciphers
+ ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-RC4-SHA:ECDHE-RSA-RC4-SHA:ECDH-ECDSA-RC4-SHA:ECDH-RSA-RC4-SHA:RC4-SHA';
+
+ ssl_session_cache builtin:1000 shared:SSL:10m;
+
+ server {
+ listen 8080;
+ listen [::]:8080;
+ server_name localhost;
+
+ location / {
+ root /usr/share/nginx/html;
+ index index.html;
+ }
+ }
+
+ server {
+ listen 8443 ssl;
+ listen [::]:8443 ssl;
+ http2 on;
+ server_name secure-data-store;
+
+ location / {
+ set $upstream data-store:8080;
+ proxy_pass http://$upstream;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ proxy_set_header X-Forwarded-Host $http_host;
+ proxy_set_header X-Forwarded-Port $server_port;
+ proxy_read_timeout 43200s;
+ client_max_body_size 100M;
+ }
+ }
+
+ server {
+ listen 8443 ssl;
+ listen [::]:8443 ssl;
+ server_name secure-keycloak;
+
+ location / {
+ set $upstream keycloak:8080;
+ proxy_pass http://$upstream;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ proxy_set_header X-Forwarded-Host $http_host;
+ proxy_set_header X-Forwarded-Port $server_port;
+ proxy_read_timeout 43200s;
+ }
+ }
+}
diff --git a/.github/integration-test/oauth/realm-test.json b/.github/integration-test/oauth/realm-test.json
new file mode 100644
index 00000000..7331910c
--- /dev/null
+++ b/.github/integration-test/oauth/realm-test.json
@@ -0,0 +1,2056 @@
+{
+ "id" : "test",
+ "realm" : "test",
+ "displayName" : "Keycloak",
+ "displayNameHtml" : "
Keycloak
",
+ "notBefore" : 0,
+ "defaultSignatureAlgorithm" : "RS256",
+ "revokeRefreshToken" : false,
+ "refreshTokenMaxReuse" : 0,
+ "accessTokenLifespan" : 3600,
+ "accessTokenLifespanForImplicitFlow" : 900,
+ "ssoSessionIdleTimeout" : 1800,
+ "ssoSessionMaxLifespan" : 36000,
+ "ssoSessionIdleTimeoutRememberMe" : 0,
+ "ssoSessionMaxLifespanRememberMe" : 0,
+ "offlineSessionIdleTimeout" : 2592000,
+ "offlineSessionMaxLifespanEnabled" : false,
+ "offlineSessionMaxLifespan" : 5184000,
+ "clientSessionIdleTimeout" : 0,
+ "clientSessionMaxLifespan" : 0,
+ "clientOfflineSessionIdleTimeout" : 0,
+ "clientOfflineSessionMaxLifespan" : 0,
+ "accessCodeLifespan" : 60,
+ "accessCodeLifespanUserAction" : 300,
+ "accessCodeLifespanLogin" : 1800,
+ "actionTokenGeneratedByAdminLifespan" : 43200,
+ "actionTokenGeneratedByUserLifespan" : 300,
+ "oauth2DeviceCodeLifespan" : 600,
+ "oauth2DevicePollingInterval" : 5,
+ "enabled" : true,
+ "sslRequired" : "external",
+ "registrationAllowed" : false,
+ "registrationEmailAsUsername" : false,
+ "rememberMe" : false,
+ "verifyEmail" : false,
+ "loginWithEmailAllowed" : true,
+ "duplicateEmailsAllowed" : false,
+ "resetPasswordAllowed" : false,
+ "editUsernameAllowed" : false,
+ "bruteForceProtected" : false,
+ "permanentLockout" : false,
+ "maxTemporaryLockouts" : 0,
+ "maxFailureWaitSeconds" : 900,
+ "minimumQuickLoginWaitSeconds" : 60,
+ "waitIncrementSeconds" : 60,
+ "quickLoginCheckMilliSeconds" : 1000,
+ "maxDeltaTimeSeconds" : 43200,
+ "failureFactor" : 30,
+ "roles" : {
+ "realm" : [ {
+ "id" : "cfab484f-be62-43ac-ac58-4a3ca0b76895",
+ "name" : "offline_access",
+ "description" : "${role_offline-access}",
+ "composite" : false,
+ "clientRole" : false,
+ "containerId" : "test",
+ "attributes" : { }
+ }, {
+ "id" : "a405bd09-e663-4e3c-9d77-a9d965d1250a",
+ "name" : "uma_authorization",
+ "description" : "${role_uma_authorization}",
+ "composite" : false,
+ "clientRole" : false,
+ "containerId" : "test",
+ "attributes" : { }
+ }, {
+ "id" : "76043e61-4a56-4b14-b70a-54f411d73f70",
+ "name" : "default-roles-test",
+ "description" : "${role_default-roles}",
+ "composite" : true,
+ "composites" : {
+ "realm" : [ "offline_access", "uma_authorization" ],
+ "client" : {
+ "account" : [ "view-profile", "manage-account" ]
+ }
+ },
+ "clientRole" : false,
+ "containerId" : "test",
+ "attributes" : { }
+ }, {
+ "id" : "ddf3601e-7689-4e9a-8dce-69a964a14d8c",
+ "name" : "admin",
+ "description" : "${role_admin}",
+ "composite" : true,
+ "composites" : {
+ "realm" : [ "create-realm" ],
+ "client" : {
+ "test-realm" : [ "view-users", "manage-events", "view-realm", "view-clients", "view-events", "query-realms", "query-users", "impersonation", "view-authorization", "manage-clients", "manage-identity-providers", "query-groups", "query-clients", "create-client", "manage-authorization", "view-identity-providers", "manage-users", "manage-realm" ]
+ }
+ },
+ "clientRole" : false,
+ "containerId" : "test",
+ "attributes" : { }
+ }, {
+ "id" : "319558ae-0ae5-4110-b688-5f30f94f652e",
+ "name" : "create-realm",
+ "description" : "${role_create-realm}",
+ "composite" : false,
+ "clientRole" : false,
+ "containerId" : "test",
+ "attributes" : { }
+ } ],
+ "client" : {
+ "realm-management" : [ {
+ "id" : "62e4743e-a905-42a8-96d6-a8d5fdd844ea",
+ "name" : "manage-events",
+ "description" : "${role_manage-events}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "6c73cf21-93e7-453d-8ba2-b3c7154c4367",
+ "name" : "view-identity-providers",
+ "description" : "${role_view-identity-providers}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "d232c025-2d26-40ee-8196-cf52f171097b",
+ "name" : "manage-identity-providers",
+ "description" : "${role_manage-identity-providers}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "6d7f5457-8f9a-4ffa-825a-fde1a755e09e",
+ "name" : "query-realms",
+ "description" : "${role_query-realms}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "e6841db6-8b7e-4884-b2b4-65d950eaf8ac",
+ "name" : "realm-admin",
+ "description" : "${role_realm-admin}",
+ "composite" : true,
+ "composites" : {
+ "client" : {
+ "realm-management" : [ "manage-events", "view-identity-providers", "manage-identity-providers", "query-realms", "view-users", "manage-authorization", "view-clients", "view-realm", "create-client", "query-groups", "query-clients", "view-events", "manage-realm", "query-users", "view-authorization", "manage-clients", "manage-users", "impersonation" ]
+ }
+ },
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "b4a8f2f3-eed6-4957-b2c0-3f0eda65ccac",
+ "name" : "view-users",
+ "description" : "${role_view-users}",
+ "composite" : true,
+ "composites" : {
+ "client" : {
+ "realm-management" : [ "query-groups", "query-users" ]
+ }
+ },
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "cf664a6f-60d6-4603-8242-f7c8aa7aabb4",
+ "name" : "manage-authorization",
+ "description" : "${role_manage-authorization}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "4912268a-99a5-4d06-bac1-49153e9e6330",
+ "name" : "view-clients",
+ "description" : "${role_view-clients}",
+ "composite" : true,
+ "composites" : {
+ "client" : {
+ "realm-management" : [ "query-clients" ]
+ }
+ },
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "0660daed-6bb8-432c-8d65-4b7ccf3938e7",
+ "name" : "view-realm",
+ "description" : "${role_view-realm}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "22510f81-7b5d-4ab4-b31f-a168a6d04f1d",
+ "name" : "create-client",
+ "description" : "${role_create-client}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "9d4ba117-e4ac-4dda-80cd-5753f1443247",
+ "name" : "query-groups",
+ "description" : "${role_query-groups}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "0ac7902c-0cfe-4ece-b694-a2e56b1a436a",
+ "name" : "query-clients",
+ "description" : "${role_query-clients}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "2f91a5d6-4d8b-4e86-bc2b-98dafa5897a4",
+ "name" : "view-events",
+ "description" : "${role_view-events}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "518da31b-1771-4fa0-ac0c-5bd9420776e9",
+ "name" : "manage-realm",
+ "description" : "${role_manage-realm}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "bb608a9a-af7e-49d5-9306-c4925525129d",
+ "name" : "query-users",
+ "description" : "${role_query-users}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "89e04b7d-dda2-47a5-8610-951601c52048",
+ "name" : "manage-clients",
+ "description" : "${role_manage-clients}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "1e319aff-9893-482d-945d-d428ee73c014",
+ "name" : "view-authorization",
+ "description" : "${role_view-authorization}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "9f68e090-fc30-43e9-8a6a-2e0f08c8b6a2",
+ "name" : "impersonation",
+ "description" : "${role_impersonation}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ }, {
+ "id" : "6b633c77-15e4-4788-8920-9b3ea1f803a0",
+ "name" : "manage-users",
+ "description" : "${role_manage-users}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "attributes" : { }
+ } ],
+ "security-admin-console" : [ ],
+ "admin-cli" : [ ],
+ "account-console" : [ ],
+ "broker" : [ {
+ "id" : "77f7ce3c-d305-45ff-810a-06fffe9285dd",
+ "name" : "read-token",
+ "description" : "${role_read-token}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "738bfb28-835b-4707-b3fa-e8d620c4a2ad",
+ "attributes" : { }
+ } ],
+ "account" : [ {
+ "id" : "4cb842f2-27bd-4368-b99c-f505aa8b3247",
+ "name" : "manage-account-links",
+ "description" : "${role_manage-account-links}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "a0f23909-cbba-4950-95c5-1a166b4b3c54",
+ "attributes" : { }
+ }, {
+ "id" : "6f3de551-2a00-4a4f-a304-0b8b5ddb7bcb",
+ "name" : "view-profile",
+ "description" : "${role_view-profile}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "a0f23909-cbba-4950-95c5-1a166b4b3c54",
+ "attributes" : { }
+ }, {
+ "id" : "47a5291d-d89e-4c93-9a56-3b33b5944ace",
+ "name" : "view-consent",
+ "description" : "${role_view-consent}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "a0f23909-cbba-4950-95c5-1a166b4b3c54",
+ "attributes" : { }
+ }, {
+ "id" : "92c23878-9e1d-4bd2-a73b-01d35c3a4a57",
+ "name" : "view-groups",
+ "description" : "${role_view-groups}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "a0f23909-cbba-4950-95c5-1a166b4b3c54",
+ "attributes" : { }
+ }, {
+ "id" : "7ae6416a-3d1c-4fa5-8f6c-199672eb696b",
+ "name" : "manage-consent",
+ "description" : "${role_manage-consent}",
+ "composite" : true,
+ "composites" : {
+ "client" : {
+ "account" : [ "view-consent" ]
+ }
+ },
+ "clientRole" : true,
+ "containerId" : "a0f23909-cbba-4950-95c5-1a166b4b3c54",
+ "attributes" : { }
+ }, {
+ "id" : "4ac84e04-1a77-4121-bb6e-18ed6948ad93",
+ "name" : "delete-account",
+ "description" : "${role_delete-account}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "a0f23909-cbba-4950-95c5-1a166b4b3c54",
+ "attributes" : { }
+ }, {
+ "id" : "54be8eec-70da-44f4-95a0-b4eb62800c8a",
+ "name" : "view-applications",
+ "description" : "${role_view-applications}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "a0f23909-cbba-4950-95c5-1a166b4b3c54",
+ "attributes" : { }
+ }, {
+ "id" : "8de14797-ac52-4001-8bad-ac66f326485e",
+ "name" : "manage-account",
+ "description" : "${role_manage-account}",
+ "composite" : true,
+ "composites" : {
+ "client" : {
+ "account" : [ "manage-account-links" ]
+ }
+ },
+ "clientRole" : true,
+ "containerId" : "a0f23909-cbba-4950-95c5-1a166b4b3c54",
+ "attributes" : { }
+ } ],
+ "test-realm" : [ {
+ "id" : "154e52c7-8957-475e-9e32-193daf180c5a",
+ "name" : "view-users",
+ "description" : "${role_view-users}",
+ "composite" : true,
+ "composites" : {
+ "client" : {
+ "test-realm" : [ "query-groups", "query-users" ]
+ }
+ },
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "51de37c7-d9e9-44dc-8264-a5c34731101b",
+ "name" : "manage-events",
+ "description" : "${role_manage-events}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "c6952b26-9c30-4ae4-96ad-bd8fc8803cde",
+ "name" : "view-clients",
+ "description" : "${role_view-clients}",
+ "composite" : true,
+ "composites" : {
+ "client" : {
+ "test-realm" : [ "query-clients" ]
+ }
+ },
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "11eef5a3-1b86-4f4b-81d2-73c21dee786a",
+ "name" : "view-realm",
+ "description" : "${role_view-realm}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "c3a9ac36-2296-4c3c-9cad-4b2d3b2a8c92",
+ "name" : "view-events",
+ "description" : "${role_view-events}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "e8d45b32-ee65-4d35-bb29-f49022dde86c",
+ "name" : "query-realms",
+ "description" : "${role_query-realms}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "13a73a25-f362-4ff5-a8d2-97f1f451d8c7",
+ "name" : "query-users",
+ "description" : "${role_query-users}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "25a98a91-87b0-42dc-9e25-18a0fb9a4f63",
+ "name" : "impersonation",
+ "description" : "${role_impersonation}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "7c7d7e5b-a9a9-4b5e-a2b9-0efbfc205da0",
+ "name" : "view-authorization",
+ "description" : "${role_view-authorization}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "d10d7200-2fa0-4ff9-81d2-0e6f1d1bcc19",
+ "name" : "manage-clients",
+ "description" : "${role_manage-clients}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "ca756c34-6506-4461-a5ec-6ffabf008074",
+ "name" : "manage-identity-providers",
+ "description" : "${role_manage-identity-providers}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "701964cd-ea25-4df7-87fe-090de21d2495",
+ "name" : "query-clients",
+ "description" : "${role_query-clients}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "4526b5eb-206a-4843-a7c1-8cb59745c042",
+ "name" : "query-groups",
+ "description" : "${role_query-groups}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "b70afed2-5c61-400e-867b-036bcdec58e3",
+ "name" : "create-client",
+ "description" : "${role_create-client}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "06557d0f-4267-429d-96d8-92ccdaea9c22",
+ "name" : "manage-authorization",
+ "description" : "${role_manage-authorization}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "3822acc8-a18d-41f7-ba08-f6fe287cd1d7",
+ "name" : "view-identity-providers",
+ "description" : "${role_view-identity-providers}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "c6b461b5-a5c6-41f5-ab8f-742bfcf11cdd",
+ "name" : "manage-users",
+ "description" : "${role_manage-users}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ }, {
+ "id" : "8b022167-a28f-4642-8e9b-b11fdf8e9b9c",
+ "name" : "manage-realm",
+ "description" : "${role_manage-realm}",
+ "composite" : false,
+ "clientRole" : true,
+ "containerId" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "attributes" : { }
+ } ]
+ }
+ },
+ "groups" : [ ],
+ "defaultRole" : {
+ "id" : "76043e61-4a56-4b14-b70a-54f411d73f70",
+ "name" : "default-roles-test",
+ "description" : "${role_default-roles}",
+ "composite" : true,
+ "clientRole" : false,
+ "containerId" : "test"
+ },
+ "requiredCredentials" : [ "password" ],
+ "otpPolicyType" : "totp",
+ "otpPolicyAlgorithm" : "HmacSHA1",
+ "otpPolicyInitialCounter" : 0,
+ "otpPolicyDigits" : 6,
+ "otpPolicyLookAheadWindow" : 1,
+ "otpPolicyPeriod" : 30,
+ "otpPolicyCodeReusable" : false,
+ "otpSupportedApplications" : [ "totpAppFreeOTPName", "totpAppGoogleName", "totpAppMicrosoftAuthenticatorName" ],
+ "localizationTexts" : { },
+ "webAuthnPolicyRpEntityName" : "keycloak",
+ "webAuthnPolicySignatureAlgorithms" : [ "ES256" ],
+ "webAuthnPolicyRpId" : "",
+ "webAuthnPolicyAttestationConveyancePreference" : "not specified",
+ "webAuthnPolicyAuthenticatorAttachment" : "not specified",
+ "webAuthnPolicyRequireResidentKey" : "not specified",
+ "webAuthnPolicyUserVerificationRequirement" : "not specified",
+ "webAuthnPolicyCreateTimeout" : 0,
+ "webAuthnPolicyAvoidSameAuthenticatorRegister" : false,
+ "webAuthnPolicyAcceptableAaguids" : [ ],
+ "webAuthnPolicyExtraOrigins" : [ ],
+ "webAuthnPolicyPasswordlessRpEntityName" : "keycloak",
+ "webAuthnPolicyPasswordlessSignatureAlgorithms" : [ "ES256" ],
+ "webAuthnPolicyPasswordlessRpId" : "",
+ "webAuthnPolicyPasswordlessAttestationConveyancePreference" : "not specified",
+ "webAuthnPolicyPasswordlessAuthenticatorAttachment" : "not specified",
+ "webAuthnPolicyPasswordlessRequireResidentKey" : "not specified",
+ "webAuthnPolicyPasswordlessUserVerificationRequirement" : "not specified",
+ "webAuthnPolicyPasswordlessCreateTimeout" : 0,
+ "webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister" : false,
+ "webAuthnPolicyPasswordlessAcceptableAaguids" : [ ],
+ "webAuthnPolicyPasswordlessExtraOrigins" : [ ],
+ "users" : [ {
+ "id" : "b0ef6edd-d503-4c74-a5ac-587fc56ea8ec",
+ "username" : "admin",
+ "emailVerified" : false,
+ "createdTimestamp" : 1619179992044,
+ "enabled" : true,
+ "totp" : false,
+ "credentials" : [ {
+ "id" : "a364bc10-e50d-46e7-9a4b-a2e81cfb97ef",
+ "type" : "password",
+ "createdDate" : 1619179992264,
+ "secretData" : "{\"value\":\"HFaSOho+7v2/pNE05AzCJs+MGKga2UuZFpCJwrEwyRWXq8xhYI+QZlsrsvkXbg8yye0ajxvKMhoQ8StOIw92hQ==\",\"salt\":\"0FxKxt+bGWwoWSZptMOXlw==\",\"additionalParameters\":{}}",
+ "credentialData" : "{\"hashIterations\":27500,\"algorithm\":\"pbkdf2-sha256\",\"additionalParameters\":{}}"
+ } ],
+ "disableableCredentialTypes" : [ ],
+ "requiredActions" : [ ],
+ "realmRoles" : [ "offline_access", "uma_authorization", "admin" ],
+ "clientRoles" : {
+ "account" : [ "view-profile", "manage-account" ]
+ },
+ "notBefore" : 0,
+ "groups" : [ ]
+ }, {
+ "id" : "18fb5db1-ebae-4824-ba72-a412330fe026",
+ "username" : "john",
+ "firstName" : "John",
+ "lastName" : "Doe",
+ "emailVerified" : false,
+ "createdTimestamp" : 1710947689953,
+ "enabled" : true,
+ "totp" : false,
+ "credentials" : [ {
+ "id" : "beee2f20-4a46-41e3-ace8-c56dca1e351f",
+ "type" : "password",
+ "createdDate" : 1710947723777,
+ "secretData" : "{\"value\":\"XmSnkmkJIk2SiZmdURejFJeEV+Jrvwqfi4NIKBwvcHXpRKtyaUFRSZb+cLuy4YyhhGXK/jn7sIbY3lNg/OwJNA==\",\"salt\":\"Fe3FD77W0p8xSfIckS7BpQ==\",\"additionalParameters\":{}}",
+ "credentialData" : "{\"hashIterations\":210000,\"algorithm\":\"pbkdf2-sha512\",\"additionalParameters\":{}}"
+ } ],
+ "disableableCredentialTypes" : [ ],
+ "requiredActions" : [ ],
+ "realmRoles" : [ "default-roles-test" ],
+ "notBefore" : 0,
+ "groups" : [ ]
+ }, {
+ "id" : "72a7f37e-b33f-4908-9ad9-33be0d4c1620",
+ "username" : "service-account-account",
+ "emailVerified" : false,
+ "createdTimestamp" : 1619180273352,
+ "enabled" : true,
+ "totp" : false,
+ "serviceAccountClientId" : "account",
+ "credentials" : [ ],
+ "disableableCredentialTypes" : [ ],
+ "requiredActions" : [ ],
+ "realmRoles" : [ "offline_access", "uma_authorization" ],
+ "clientRoles" : {
+ "account" : [ "view-profile", "manage-account" ]
+ },
+ "notBefore" : 0,
+ "groups" : [ ]
+ } ],
+ "scopeMappings" : [ {
+ "clientScope" : "offline_access",
+ "roles" : [ "offline_access" ]
+ } ],
+ "clientScopeMappings" : {
+ "account" : [ {
+ "client" : "account-console",
+ "roles" : [ "manage-account", "view-groups" ]
+ } ]
+ },
+ "clients" : [ {
+ "id" : "a0f23909-cbba-4950-95c5-1a166b4b3c54",
+ "clientId" : "account",
+ "name" : "${client_account}",
+ "description" : "",
+ "rootUrl" : "${authBaseUrl}",
+ "adminUrl" : "",
+ "baseUrl" : "/realms/test/account/",
+ "surrogateAuthRequired" : false,
+ "enabled" : true,
+ "alwaysDisplayInConsole" : false,
+ "clientAuthenticatorType" : "client-secret",
+ "secret" : "test",
+ "redirectUris" : [ ],
+ "webOrigins" : [ ],
+ "notBefore" : 0,
+ "bearerOnly" : false,
+ "consentRequired" : false,
+ "standardFlowEnabled" : true,
+ "implicitFlowEnabled" : false,
+ "directAccessGrantsEnabled" : false,
+ "serviceAccountsEnabled" : true,
+ "publicClient" : false,
+ "frontchannelLogout" : false,
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "saml.assertion.signature" : "false",
+ "saml.force.post.binding" : "false",
+ "saml.multivalued.roles" : "false",
+ "saml.encrypt" : "false",
+ "post.logout.redirect.uris" : "+",
+ "oauth2.device.authorization.grant.enabled" : "false",
+ "backchannel.logout.revoke.offline.tokens" : "false",
+ "saml.server.signature" : "false",
+ "saml.server.signature.keyinfo.ext" : "false",
+ "exclude.session.state.from.auth.response" : "false",
+ "oidc.ciba.grant.enabled" : "false",
+ "backchannel.logout.session.required" : "false",
+ "client_credentials.use_refresh_token" : "false",
+ "saml_force_name_id_format" : "false",
+ "saml.client.signature" : "false",
+ "tls.client.certificate.bound.access.tokens" : "false",
+ "saml.authnstatement" : "false",
+ "display.on.consent.screen" : "false",
+ "saml.onetimeuse.condition" : "false"
+ },
+ "authenticationFlowBindingOverrides" : { },
+ "fullScopeAllowed" : false,
+ "nodeReRegistrationTimeout" : 0,
+ "protocolMappers" : [ {
+ "id" : "df9007ce-cdcc-4cd3-be23-74cc3a81e518",
+ "name" : "Client IP Address",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usersessionmodel-note-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "user.session.note" : "clientAddress",
+ "userinfo.token.claim" : "true",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "clientAddress",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "49dfb8da-2cf1-4348-a587-e11c8a2dd5e3",
+ "name" : "Client ID",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usersessionmodel-note-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "user.session.note" : "clientId",
+ "userinfo.token.claim" : "true",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "clientId",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "facf237e-6601-4712-a854-e52134dd5122",
+ "name" : "Client Host",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usersessionmodel-note-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "user.session.note" : "clientHost",
+ "userinfo.token.claim" : "true",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "clientHost",
+ "jsonType.label" : "String"
+ }
+ } ],
+ "defaultClientScopes" : [ "web-origins", "profile", "roles", "email" ],
+ "optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ]
+ }, {
+ "id" : "a13c25c1-0378-466f-98eb-48006045968f",
+ "clientId" : "account-console",
+ "name" : "${client_account-console}",
+ "rootUrl" : "${authBaseUrl}",
+ "baseUrl" : "/realms/test/account/",
+ "surrogateAuthRequired" : false,
+ "enabled" : true,
+ "alwaysDisplayInConsole" : false,
+ "clientAuthenticatorType" : "client-secret",
+ "secret" : "102c2a26-30b5-4dfe-a540-6bd925ceaa67",
+ "redirectUris" : [ "/realms/test/account/*" ],
+ "webOrigins" : [ ],
+ "notBefore" : 0,
+ "bearerOnly" : false,
+ "consentRequired" : false,
+ "standardFlowEnabled" : true,
+ "implicitFlowEnabled" : false,
+ "directAccessGrantsEnabled" : false,
+ "serviceAccountsEnabled" : false,
+ "publicClient" : true,
+ "frontchannelLogout" : false,
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "post.logout.redirect.uris" : "+",
+ "pkce.code.challenge.method" : "S256"
+ },
+ "authenticationFlowBindingOverrides" : { },
+ "fullScopeAllowed" : false,
+ "nodeReRegistrationTimeout" : 0,
+ "protocolMappers" : [ {
+ "id" : "ccf3fe06-0eb7-4e2b-8323-7f53649d40d4",
+ "name" : "audience resolve",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-audience-resolve-mapper",
+ "consentRequired" : false,
+ "config" : { }
+ } ],
+ "defaultClientScopes" : [ "web-origins", "profile", "roles", "email" ],
+ "optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ]
+ }, {
+ "id" : "502c9394-9181-4ddc-b573-f0b545b2ca9c",
+ "clientId" : "admin-cli",
+ "name" : "${client_admin-cli}",
+ "surrogateAuthRequired" : false,
+ "enabled" : true,
+ "alwaysDisplayInConsole" : false,
+ "clientAuthenticatorType" : "client-secret",
+ "secret" : "2fe5724f-0328-4fe7-a4b7-37a0badf610f",
+ "redirectUris" : [ ],
+ "webOrigins" : [ ],
+ "notBefore" : 0,
+ "bearerOnly" : false,
+ "consentRequired" : false,
+ "standardFlowEnabled" : false,
+ "implicitFlowEnabled" : false,
+ "directAccessGrantsEnabled" : true,
+ "serviceAccountsEnabled" : false,
+ "publicClient" : true,
+ "frontchannelLogout" : false,
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "post.logout.redirect.uris" : "+"
+ },
+ "authenticationFlowBindingOverrides" : { },
+ "fullScopeAllowed" : false,
+ "nodeReRegistrationTimeout" : 0,
+ "defaultClientScopes" : [ "web-origins", "profile", "roles", "email" ],
+ "optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ]
+ }, {
+ "id" : "ed0e9e16-d955-44d4-ab4c-0c6e8480bf12",
+ "clientId" : "test-realm",
+ "name" : "test Realm",
+ "surrogateAuthRequired" : false,
+ "enabled" : true,
+ "alwaysDisplayInConsole" : false,
+ "clientAuthenticatorType" : "client-secret",
+ "secret" : "test",
+ "redirectUris" : [ ],
+ "webOrigins" : [ ],
+ "notBefore" : 0,
+ "bearerOnly" : true,
+ "consentRequired" : false,
+ "standardFlowEnabled" : true,
+ "implicitFlowEnabled" : false,
+ "directAccessGrantsEnabled" : false,
+ "serviceAccountsEnabled" : false,
+ "publicClient" : false,
+ "frontchannelLogout" : false,
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "post.logout.redirect.uris" : "+"
+ },
+ "authenticationFlowBindingOverrides" : { },
+ "fullScopeAllowed" : true,
+ "nodeReRegistrationTimeout" : 0,
+ "defaultClientScopes" : [ "web-origins", "profile", "roles", "email" ],
+ "optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ]
+ }, {
+ "id" : "738bfb28-835b-4707-b3fa-e8d620c4a2ad",
+ "clientId" : "broker",
+ "name" : "${client_broker}",
+ "surrogateAuthRequired" : false,
+ "enabled" : true,
+ "alwaysDisplayInConsole" : false,
+ "clientAuthenticatorType" : "client-secret",
+ "secret" : "b2569a8e-0483-44aa-aa82-c2b3ee9462fc",
+ "redirectUris" : [ ],
+ "webOrigins" : [ ],
+ "notBefore" : 0,
+ "bearerOnly" : false,
+ "consentRequired" : false,
+ "standardFlowEnabled" : true,
+ "implicitFlowEnabled" : false,
+ "directAccessGrantsEnabled" : false,
+ "serviceAccountsEnabled" : false,
+ "publicClient" : false,
+ "frontchannelLogout" : false,
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "post.logout.redirect.uris" : "+"
+ },
+ "authenticationFlowBindingOverrides" : { },
+ "fullScopeAllowed" : false,
+ "nodeReRegistrationTimeout" : 0,
+ "defaultClientScopes" : [ "web-origins", "profile", "roles", "email" ],
+ "optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ]
+ }, {
+ "id" : "b9e2f2c2-46ba-4d57-9f93-f336ad52a3bf",
+ "clientId" : "realm-management",
+ "name" : "${client_realm-management}",
+ "surrogateAuthRequired" : false,
+ "enabled" : true,
+ "alwaysDisplayInConsole" : false,
+ "clientAuthenticatorType" : "client-secret",
+ "redirectUris" : [ ],
+ "webOrigins" : [ ],
+ "notBefore" : 0,
+ "bearerOnly" : true,
+ "consentRequired" : false,
+ "standardFlowEnabled" : true,
+ "implicitFlowEnabled" : false,
+ "directAccessGrantsEnabled" : false,
+ "serviceAccountsEnabled" : false,
+ "publicClient" : false,
+ "frontchannelLogout" : false,
+ "protocol" : "openid-connect",
+ "attributes" : { },
+ "authenticationFlowBindingOverrides" : { },
+ "fullScopeAllowed" : false,
+ "nodeReRegistrationTimeout" : 0,
+ "defaultClientScopes" : [ ],
+ "optionalClientScopes" : [ ]
+ }, {
+ "id" : "9f6340e7-176f-44f0-ae0f-a04cc5c54921",
+ "clientId" : "security-admin-console",
+ "name" : "${client_security-admin-console}",
+ "rootUrl" : "${authAdminUrl}",
+ "baseUrl" : "/admin/test/console/",
+ "surrogateAuthRequired" : false,
+ "enabled" : true,
+ "alwaysDisplayInConsole" : false,
+ "clientAuthenticatorType" : "client-secret",
+ "secret" : "50f03c48-3691-4c39-a3c3-3d02219525dc",
+ "redirectUris" : [ "/admin/test/console/*" ],
+ "webOrigins" : [ "+" ],
+ "notBefore" : 0,
+ "bearerOnly" : false,
+ "consentRequired" : false,
+ "standardFlowEnabled" : true,
+ "implicitFlowEnabled" : false,
+ "directAccessGrantsEnabled" : false,
+ "serviceAccountsEnabled" : false,
+ "publicClient" : true,
+ "frontchannelLogout" : false,
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "post.logout.redirect.uris" : "+",
+ "pkce.code.challenge.method" : "S256"
+ },
+ "authenticationFlowBindingOverrides" : { },
+ "fullScopeAllowed" : false,
+ "nodeReRegistrationTimeout" : 0,
+ "protocolMappers" : [ {
+ "id" : "69d66f56-d567-451f-b979-7be216edd68a",
+ "name" : "locale",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "locale",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "locale",
+ "jsonType.label" : "String"
+ }
+ } ],
+ "defaultClientScopes" : [ "web-origins", "profile", "roles", "email" ],
+ "optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ]
+ } ],
+ "clientScopes" : [ {
+ "id" : "9809d86e-9b9d-4c77-96d9-483f79bbadf7",
+ "name" : "email",
+ "description" : "OpenID Connect built-in scope: email",
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "include.in.token.scope" : "true",
+ "display.on.consent.screen" : "true",
+ "consent.screen.text" : "${emailScopeConsentText}"
+ },
+ "protocolMappers" : [ {
+ "id" : "5cb5d135-4ec0-48ee-b8f3-1d2eea8972a5",
+ "name" : "email verified",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-property-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "emailVerified",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "email_verified",
+ "jsonType.label" : "boolean"
+ }
+ }, {
+ "id" : "cd8a5107-e52c-4642-942e-d05bff239e3c",
+ "name" : "email",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-property-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "email",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "email",
+ "jsonType.label" : "String"
+ }
+ } ]
+ }, {
+ "id" : "f3bb04c6-97c8-47e0-b383-8e7e586d2ab8",
+ "name" : "offline_access",
+ "description" : "OpenID Connect built-in scope: offline_access",
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "consent.screen.text" : "${offlineAccessScopeConsentText}",
+ "display.on.consent.screen" : "true"
+ }
+ }, {
+ "id" : "f3f3fa4a-0e7e-4ffa-a994-6297c23f908d",
+ "name" : "web-origins",
+ "description" : "OpenID Connect scope for add allowed web origins to the access token",
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "include.in.token.scope" : "false",
+ "display.on.consent.screen" : "false",
+ "consent.screen.text" : ""
+ },
+ "protocolMappers" : [ {
+ "id" : "91fa2894-4e7e-404b-864e-c917f90ac77b",
+ "name" : "allowed web origins",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-allowed-origins-mapper",
+ "consentRequired" : false,
+ "config" : { }
+ } ]
+ }, {
+ "id" : "3b1fce21-ed51-4f05-942c-93cecb81025c",
+ "name" : "profile",
+ "description" : "OpenID Connect built-in scope: profile",
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "include.in.token.scope" : "true",
+ "display.on.consent.screen" : "true",
+ "consent.screen.text" : "${profileScopeConsentText}"
+ },
+ "protocolMappers" : [ {
+ "id" : "351876fb-061f-4c8d-838c-082928bd80f7",
+ "name" : "zoneinfo",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "zoneinfo",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "zoneinfo",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "a4d2a8c3-36d2-4f5a-91eb-a570e7cc0d3c",
+ "name" : "updated at",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "updatedAt",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "updated_at",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "7492477a-d4c6-4a9e-89b2-6335a5f89ada",
+ "name" : "username",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-property-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "username",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "preferred_username",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "fe14acb2-1948-49d6-9b2c-ba20b64cf017",
+ "name" : "gender",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "gender",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "gender",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "28db7700-4226-4307-a22a-0deb6f857513",
+ "name" : "website",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "website",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "website",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "ec4bdc29-7979-45f0-9071-4b680fda049a",
+ "name" : "given name",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-property-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "firstName",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "given_name",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "84d327bb-bd09-4428-b6e3-e5ba4d896074",
+ "name" : "middle name",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "middleName",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "middle_name",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "6258fd50-c687-4a42-8b7c-964b75581042",
+ "name" : "picture",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "picture",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "picture",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "9db28236-3a1a-4e8d-b5cd-13f689f180a0",
+ "name" : "birthdate",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "birthdate",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "birthdate",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "ae46ed2c-2154-45ef-90a7-fa50e80dc935",
+ "name" : "full name",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-full-name-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "userinfo.token.claim" : "true"
+ }
+ }, {
+ "id" : "9a4a3bd9-b8ee-4ebc-94b4-b4da3881ae18",
+ "name" : "locale",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "locale",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "locale",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "ebc6c1fe-d2cb-441f-8803-c4ec8506168c",
+ "name" : "nickname",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "nickname",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "nickname",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "cb2a2a4d-a3d2-4660-9438-714f64c4f831",
+ "name" : "profile",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "profile",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "profile",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "7e28b8ae-83b8-4f06-9184-932a06b5e619",
+ "name" : "family name",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-property-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "lastName",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "family_name",
+ "jsonType.label" : "String"
+ }
+ } ]
+ }, {
+ "id" : "8dc47e1e-202a-4aa4-945d-1e4a80763482",
+ "name" : "acr",
+ "description" : "OpenID Connect scope for add acr (authentication context class reference) to the token",
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "include.in.token.scope" : "false",
+ "display.on.consent.screen" : "false"
+ },
+ "protocolMappers" : [ {
+ "id" : "7ac4dd59-25b7-42cc-a8c9-68301983dce9",
+ "name" : "acr loa level",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-acr-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "id.token.claim" : "true",
+ "introspection.token.claim" : "true",
+ "access.token.claim" : "true"
+ }
+ } ]
+ }, {
+ "id" : "bd5a5fc6-85c8-4e4b-b147-0dbbfd5add27",
+ "name" : "phone",
+ "description" : "OpenID Connect built-in scope: phone",
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "include.in.token.scope" : "true",
+ "display.on.consent.screen" : "true",
+ "consent.screen.text" : "${phoneScopeConsentText}"
+ },
+ "protocolMappers" : [ {
+ "id" : "94fa890b-976e-48ce-8640-6b6781e7bf6c",
+ "name" : "phone number",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "phoneNumber",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "phone_number",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "deb58ea8-1660-43ac-9097-34d38b3c9126",
+ "name" : "phone number verified",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-attribute-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "phoneNumberVerified",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "phone_number_verified",
+ "jsonType.label" : "boolean"
+ }
+ } ]
+ }, {
+ "id" : "06ee6c91-072f-461f-be27-791a6556324f",
+ "name" : "microprofile-jwt",
+ "description" : "Microprofile - JWT built-in scope",
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "include.in.token.scope" : "true",
+ "display.on.consent.screen" : "false"
+ },
+ "protocolMappers" : [ {
+ "id" : "efccbda2-dd10-426b-809a-f46cb921c7a9",
+ "name" : "upn",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-property-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "username",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "upn",
+ "jsonType.label" : "String"
+ }
+ }, {
+ "id" : "73bccc6d-2d3f-4c85-8d25-c6868f2b70b8",
+ "name" : "groups",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-realm-role-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "multivalued" : "true",
+ "userinfo.token.claim" : "true",
+ "user.attribute" : "foo",
+ "id.token.claim" : "true",
+ "access.token.claim" : "true",
+ "claim.name" : "groups",
+ "jsonType.label" : "String"
+ }
+ } ]
+ }, {
+ "id" : "f4cb8558-578a-41bb-815a-91f2514b71cb",
+ "name" : "roles",
+ "description" : "OpenID Connect scope for add user roles to the access token",
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "include.in.token.scope" : "false",
+ "display.on.consent.screen" : "true",
+ "consent.screen.text" : "${rolesScopeConsentText}"
+ },
+ "protocolMappers" : [ {
+ "id" : "63a2ee31-2194-49cc-9724-ccb9c57d8fa2",
+ "name" : "client roles",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-client-role-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "user.attribute" : "foo",
+ "access.token.claim" : "true",
+ "claim.name" : "resource_access.${client_id}.roles",
+ "jsonType.label" : "String",
+ "multivalued" : "true"
+ }
+ }, {
+ "id" : "da083c4e-081c-4f8f-8526-5fa49d71a111",
+ "name" : "audience resolve",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-audience-resolve-mapper",
+ "consentRequired" : false,
+ "config" : { }
+ }, {
+ "id" : "8d7c0a1a-42cc-4efe-a322-3c56ded3424e",
+ "name" : "realm roles",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-usermodel-realm-role-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "user.attribute" : "foo",
+ "access.token.claim" : "true",
+ "claim.name" : "realm_access.roles",
+ "jsonType.label" : "String",
+ "multivalued" : "true"
+ }
+ } ]
+ }, {
+ "id" : "992bf614-54e3-414a-8d56-e47d7e37fc11",
+ "name" : "address",
+ "description" : "OpenID Connect built-in scope: address",
+ "protocol" : "openid-connect",
+ "attributes" : {
+ "include.in.token.scope" : "true",
+ "display.on.consent.screen" : "true",
+ "consent.screen.text" : "${addressScopeConsentText}"
+ },
+ "protocolMappers" : [ {
+ "id" : "a1999995-852d-4c55-b2bc-e096aba293f2",
+ "name" : "address",
+ "protocol" : "openid-connect",
+ "protocolMapper" : "oidc-address-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "user.attribute.formatted" : "formatted",
+ "user.attribute.country" : "country",
+ "user.attribute.postal_code" : "postal_code",
+ "userinfo.token.claim" : "true",
+ "user.attribute.street" : "street",
+ "id.token.claim" : "true",
+ "user.attribute.region" : "region",
+ "access.token.claim" : "true",
+ "user.attribute.locality" : "locality"
+ }
+ } ]
+ }, {
+ "id" : "f0cb84ff-70eb-42ee-8439-da9cfd3c62ca",
+ "name" : "role_list",
+ "description" : "SAML role list",
+ "protocol" : "saml",
+ "attributes" : {
+ "consent.screen.text" : "${samlRoleListScopeConsentText}",
+ "display.on.consent.screen" : "true"
+ },
+ "protocolMappers" : [ {
+ "id" : "dba527ed-7819-4a95-8102-0c9032f25067",
+ "name" : "role list",
+ "protocol" : "saml",
+ "protocolMapper" : "saml-role-list-mapper",
+ "consentRequired" : false,
+ "config" : {
+ "single" : "false",
+ "attribute.nameformat" : "Basic",
+ "attribute.name" : "Role"
+ }
+ } ]
+ } ],
+ "defaultDefaultClientScopes" : [ "profile", "email", "role_list", "web-origins", "roles", "acr" ],
+ "defaultOptionalClientScopes" : [ "microprofile-jwt", "address", "phone", "offline_access" ],
+ "browserSecurityHeaders" : {
+ "contentSecurityPolicyReportOnly" : "",
+ "xContentTypeOptions" : "nosniff",
+ "referrerPolicy" : "no-referrer",
+ "xRobotsTag" : "none",
+ "xFrameOptions" : "SAMEORIGIN",
+ "contentSecurityPolicy" : "frame-src 'self'; frame-ancestors 'self'; object-src 'none';",
+ "xXSSProtection" : "1; mode=block",
+ "strictTransportSecurity" : "max-age=31536000; includeSubDomains"
+ },
+ "smtpServer" : { },
+ "eventsEnabled" : false,
+ "eventsListeners" : [ "jboss-logging" ],
+ "enabledEventTypes" : [ ],
+ "adminEventsEnabled" : false,
+ "adminEventsDetailsEnabled" : false,
+ "identityProviders" : [ ],
+ "identityProviderMappers" : [ ],
+ "components" : {
+ "org.keycloak.services.clientregistration.policy.ClientRegistrationPolicy" : [ {
+ "id" : "da2969b9-5e9b-448c-86ea-36cc860a3927",
+ "name" : "Max Clients Limit",
+ "providerId" : "max-clients",
+ "subType" : "anonymous",
+ "subComponents" : { },
+ "config" : {
+ "max-clients" : [ "200" ]
+ }
+ }, {
+ "id" : "c2436a16-6e52-4161-949c-5747d4819497",
+ "name" : "Consent Required",
+ "providerId" : "consent-required",
+ "subType" : "anonymous",
+ "subComponents" : { },
+ "config" : { }
+ }, {
+ "id" : "3a935ca4-e98e-4ec1-ad6e-91023fc1eb4e",
+ "name" : "Allowed Client Scopes",
+ "providerId" : "allowed-client-templates",
+ "subType" : "anonymous",
+ "subComponents" : { },
+ "config" : {
+ "allow-default-scopes" : [ "true" ]
+ }
+ }, {
+ "id" : "86ea8008-be05-4317-9ca9-b711ea4a8c13",
+ "name" : "Trusted Hosts",
+ "providerId" : "trusted-hosts",
+ "subType" : "anonymous",
+ "subComponents" : { },
+ "config" : {
+ "host-sending-registration-request-must-match" : [ "true" ],
+ "client-uris-must-match" : [ "true" ]
+ }
+ }, {
+ "id" : "8b7ad61a-9124-4a0d-aa25-57d99eaaba1b",
+ "name" : "Allowed Client Scopes",
+ "providerId" : "allowed-client-templates",
+ "subType" : "authenticated",
+ "subComponents" : { },
+ "config" : {
+ "allow-default-scopes" : [ "true" ]
+ }
+ }, {
+ "id" : "4c31d0d7-6787-4c0f-8b41-799ff1e4b1e3",
+ "name" : "Allowed Protocol Mapper Types",
+ "providerId" : "allowed-protocol-mappers",
+ "subType" : "authenticated",
+ "subComponents" : { },
+ "config" : {
+ "allowed-protocol-mapper-types" : [ "oidc-usermodel-attribute-mapper", "saml-role-list-mapper", "saml-user-property-mapper", "oidc-address-mapper", "oidc-usermodel-property-mapper", "saml-user-attribute-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-full-name-mapper" ]
+ }
+ }, {
+ "id" : "fe477953-0991-4166-9239-8d020e9bb8f6",
+ "name" : "Full Scope Disabled",
+ "providerId" : "scope",
+ "subType" : "anonymous",
+ "subComponents" : { },
+ "config" : { }
+ }, {
+ "id" : "c3d4ebb9-7e9d-4cc8-97e2-3c3ce73da642",
+ "name" : "Allowed Protocol Mapper Types",
+ "providerId" : "allowed-protocol-mappers",
+ "subType" : "anonymous",
+ "subComponents" : { },
+ "config" : {
+ "allowed-protocol-mapper-types" : [ "saml-role-list-mapper", "oidc-usermodel-attribute-mapper", "saml-user-property-mapper", "oidc-full-name-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-address-mapper", "saml-user-attribute-mapper", "oidc-usermodel-property-mapper" ]
+ }
+ } ],
+ "org.keycloak.userprofile.UserProfileProvider" : [ {
+ "id" : "27ee9f9c-a76b-4ed5-9dea-52a5108b85d8",
+ "providerId" : "declarative-user-profile",
+ "subComponents" : { },
+ "config" : {
+ "kc.user.profile.config" : [ "{\"attributes\":[{\"name\":\"username\",\"displayName\":\"${username}\",\"validations\":{\"length\":{\"min\":3,\"max\":255},\"username-prohibited-characters\":{},\"up-username-not-idn-homograph\":{}},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"email\",\"displayName\":\"${email}\",\"validations\":{\"email\":{},\"length\":{\"max\":255}},\"required\":{\"roles\":[\"user\"]},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"firstName\",\"displayName\":\"${firstName}\",\"validations\":{\"length\":{\"max\":255},\"person-name-prohibited-characters\":{}},\"required\":{\"roles\":[\"user\"]},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"lastName\",\"displayName\":\"${lastName}\",\"validations\":{\"length\":{\"max\":255},\"person-name-prohibited-characters\":{}},\"required\":{\"roles\":[\"user\"]},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false}],\"groups\":[{\"name\":\"user-metadata\",\"displayHeader\":\"User metadata\",\"displayDescription\":\"Attributes, which refer to user metadata\"}],\"unmanagedAttributePolicy\":\"ENABLED\"}" ]
+ }
+ } ],
+ "org.keycloak.keys.KeyProvider" : [ {
+ "id" : "16e1431e-e111-4466-a89e-3eaba25f9419",
+ "name" : "hmac-generated-hs512",
+ "providerId" : "hmac-generated",
+ "subComponents" : { },
+ "config" : {
+ "kid" : [ "d352b3e0-4ad7-4698-8831-63fa4cc5e6b7" ],
+ "secret" : [ "njkg8Vd2htEmKQdm9nntcgvQEuY8Tegl0d0LaB7hSpkQz0tpfbkAip1Myzs8ULQ8Y4ZMb7ddb5dgLQXJFFILh9ji1RbM3W3ZkD4m9CU14-O7tjwL0mNk_ER99393X9f6jUDMmll2lqEmFkxBUJr5G0Sqi1MyhSaXjaQfFlWpfrY" ],
+ "priority" : [ "100" ],
+ "algorithm" : [ "HS512" ]
+ }
+ }, {
+ "id" : "185b5cbc-c208-4b30-8ea4-e26d46827d8a",
+ "name" : "fallback-RS256",
+ "providerId" : "rsa-generated",
+ "subComponents" : { },
+ "config" : {
+ "privateKey" : [ "MIIEpAIBAAKCAQEAsRMbt+R+Fkym/pDoprcMQG+QuaHI0IheBXUoSl160A2TIeF6vJzbpRex1sNbTBUcfpeYesrWoevpzmk43uDWcMtLSo2cDr6pt8Gfa97V5LH1tVF+RcdwebirKdzH0kh6t8RTxN81cnl564LWz5VJvHCCPJcSvegUM6gprHVIwtlpEMzsoC2lFQNjCjfEl2aY5LPuvD9bWjeeDK/J4s5wKgr2Y9A12zjTvGKJkKDEam/4cKVapi+sGNNafrAX0DcrEM0G2S1S+FefjIOqF50mOKhRJbNkUcbK/g/VKDBCdowzmvvR6MZx0rBi7RrHhaq8KToXoYcOIvMOKAvpDc1gjwIDAQABAoIBAB9AvyCqzHJFHyhJDTb3kcsBpeqNmnLrzqRp9C2D6Dw2WSSetln52W5/Cx1bp457H2dcfEYX7N/xUnfi7G2yA0cvKl/DNKsJjczn+KpCT0ApBLP26TGJrNle9Z7S39XGgxpSJXLW7okA1brygdVrhPMkbGgjReSMxJwFby2IGcqB53oAeCgZEKkW4ZqOh/cwKjJkLCgLRT9pgh875wniKDFeKnEx5sbNZ9dWPoqmy55TfjqjTGA3cdnWThnGNgGxiN3fG2ZAPFxNAUpaBnlHPiaPGZJwv2lDisAKzP+MnA5+wz1Wx0ncEs08Aw5ngtFpljC5zktNhkmCRGlJOFLGmQkCgYEA5rpd4rg5uwtN7OKCksATRRjkLWEVgqoggW4ejnJ6LSQ+VY6OdV77nC1ftOEeddYouYtfcRAfhxhKtHPJI14IRzhGevvQcN65jnUhaoYk5N6bKHK349l0jhK5UmZAyCdQpY7N+iNAQLOrIqSL87I0B+jd8QGFu8IssR+gnEw0f40CgYEAxHhL+mxc+tUn2JxAZJiIyh+M8vLvTRCGRMW9gxtQ6w8K47rYiY93veIMU/2gk9PLYhUcU4Uz14MQfuldiuamydTw1wn3e7pgLD1EQ29Ck2vcr+nLz5G6z55wfiV4rqvb1xSnu0u5Y/k5Kopo9G2U20kDfWyNbQvXpnRSCKgJW4sCgYEAt0ji3gCUs7Y2L/B741G7vQ8Z68aMjODSs56jnWrpDUUWU2bMWgaa/6S3u3t9dAQtE7/YkHtLYEj2x0SXSoYfM1xL+NRi79auNrFrWzC2zCzdupLu64xJ37aWCxP5cEZy9SFtFMC+AOf5Ear/FhbA6GufKx2Xe+CzGf1S2/ZZWd0CgYEAlaiVJ8NX6HJqkeQkYPyYZm82LPLFOsz1mnmObMpoD0Y8I1D3FYJF0kzY2zn+Ed1pteMi2rRC002xSRt2+BHOxzv/4a5j6MoF7G0XDM85xZaKWy4a5Ji71t94DX95uISNR/8h7dg29mKoGzGn1VmL5KZvlCEWchRtRwygWJu31RUCgYBbKIVikkdS1ZxexPmXAISKZ+cO+RUffLjs6RLgE/Bt1LZLCK4gA3y3HaBfkcF4LSoXjwF35mDAQ32ZP24afasHjTwcREv1vBzhvKEppWpsaZC7pr9IJfYHhPxhHbkHD2BdxKRMg/jQ5N7cLjuqenR0DY1C4mTcYSA1W1DqezrmrQ==" ],
+ "certificate" : [ "MIICmzCCAYMCBgF4/qYe7zANBgkqhkiG9w0BAQsFADARMQ8wDQYDVQQDDAZtYXN0ZXIwHhcNMjEwNDIzMTIxMTQzWhcNMzEwNDIzMTIxMzIzWjARMQ8wDQYDVQQDDAZtYXN0ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCxExu35H4WTKb+kOimtwxAb5C5ocjQiF4FdShKXXrQDZMh4Xq8nNulF7HWw1tMFRx+l5h6ytah6+nOaTje4NZwy0tKjZwOvqm3wZ9r3tXksfW1UX5Fx3B5uKsp3MfSSHq3xFPE3zVyeXnrgtbPlUm8cII8lxK96BQzqCmsdUjC2WkQzOygLaUVA2MKN8SXZpjks+68P1taN54Mr8niznAqCvZj0DXbONO8YomQoMRqb/hwpVqmL6wY01p+sBfQNysQzQbZLVL4V5+Mg6oXnSY4qFEls2RRxsr+D9UoMEJ2jDOa+9HoxnHSsGLtGseFqrwpOhehhw4i8w4oC+kNzWCPAgMBAAEwDQYJKoZIhvcNAQELBQADggEBACl0r90/fEbh6Ka8wKlV/8vtqv2TScgC+u1YSdXbA6AgoNhCOLo6+8IA6thV6pV918lzylIB1BpB4eaxN9R0EawErAYOJflw3zeUM2lbu5CIv6xe5MOcRGTqvQGFlPfiY07ug3aS15M0V6oNNdPYHgM6712Wyslsl1Bx/Weim/KeRqrjU1aedeC5GTi1znQqF+w9cc9WNEH4QVvDmzM6rmSrSTE4NkCxl3qNhKbISsZrb3mWQq9Xlli7RWSWLYnaN7/6X+PViWgMI1zugjqt4tOKKoRM7yeqHFqk98TpcG8DfAxFlnUBuQCDnKE5ntH6draRVft4K+N+fhL3B2PyG0M=" ],
+ "priority" : [ "-100" ],
+ "algorithm" : [ "RS256" ]
+ }
+ }, {
+ "id" : "5769f531-07cd-4e4e-a565-3d8731daafdd",
+ "name" : "fallback-HS256",
+ "providerId" : "hmac-generated",
+ "subComponents" : { },
+ "config" : {
+ "kid" : [ "73170ee0-e952-4573-8d9c-d6a9fb2c193e" ],
+ "secret" : [ "jlNrWr4_mB4AOXdLF7izVHaOT7rmfssy0_5hXWWVBN1G3vosStn_mO27HwdRBiALb-Ri24X83sBj_JjwJ_s3QpyJQqejTDm61_H6zCFcmD1c89-iNZc_45hSbDj38wX4rfmB7F67r254cHh5q2TcdJvqDJfuViGPS1TiRGoxWb4" ],
+ "priority" : [ "-100" ],
+ "algorithm" : [ "HS256" ]
+ }
+ } ]
+ },
+ "internationalizationEnabled" : false,
+ "supportedLocales" : [ ],
+ "authenticationFlows" : [ {
+ "id" : "f9e9054d-fedc-43b1-b0ff-8fbf84d665f9",
+ "alias" : "Account verification options",
+ "description" : "Method with which to verity the existing account",
+ "providerId" : "basic-flow",
+ "topLevel" : false,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "idp-email-verification",
+ "authenticatorFlow" : false,
+ "requirement" : "ALTERNATIVE",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticatorFlow" : true,
+ "requirement" : "ALTERNATIVE",
+ "priority" : 20,
+ "autheticatorFlow" : true,
+ "flowAlias" : "Verify Existing Account by Re-authentication",
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "67760bda-4d3f-462d-a81d-5b99fdbd9057",
+ "alias" : "Browser - Conditional OTP",
+ "description" : "Flow to determine if the OTP is required for the authentication",
+ "providerId" : "basic-flow",
+ "topLevel" : false,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "conditional-user-configured",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "auth-otp-form",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 20,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "ad30bc5a-daeb-4e39-b11c-4d209227378e",
+ "alias" : "Direct Grant - Conditional OTP",
+ "description" : "Flow to determine if the OTP is required for the authentication",
+ "providerId" : "basic-flow",
+ "topLevel" : false,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "conditional-user-configured",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "direct-grant-validate-otp",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 20,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "d66d7cc2-f395-4e6f-b1f2-f3c650cc1223",
+ "alias" : "First broker login - Conditional OTP",
+ "description" : "Flow to determine if the OTP is required for the authentication",
+ "providerId" : "basic-flow",
+ "topLevel" : false,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "conditional-user-configured",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "auth-otp-form",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 20,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "985ffbbb-267f-4cb6-a09b-454ebb9e5b60",
+ "alias" : "Handle Existing Account",
+ "description" : "Handle what to do if there is existing account with same email/username like authenticated identity provider",
+ "providerId" : "basic-flow",
+ "topLevel" : false,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "idp-confirm-link",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticatorFlow" : true,
+ "requirement" : "REQUIRED",
+ "priority" : 20,
+ "autheticatorFlow" : true,
+ "flowAlias" : "Account verification options",
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "5bdd0a60-8aeb-4e11-9455-ae01eed15bda",
+ "alias" : "Reset - Conditional OTP",
+ "description" : "Flow to determine if the OTP should be reset or not. Set to REQUIRED to force.",
+ "providerId" : "basic-flow",
+ "topLevel" : false,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "conditional-user-configured",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "reset-otp",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 20,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "7793fa6d-5be1-498b-9337-170426960cb6",
+ "alias" : "User creation or linking",
+ "description" : "Flow for the existing/non-existing user alternatives",
+ "providerId" : "basic-flow",
+ "topLevel" : false,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticatorConfig" : "create unique user config",
+ "authenticator" : "idp-create-user-if-unique",
+ "authenticatorFlow" : false,
+ "requirement" : "ALTERNATIVE",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticatorFlow" : true,
+ "requirement" : "ALTERNATIVE",
+ "priority" : 20,
+ "autheticatorFlow" : true,
+ "flowAlias" : "Handle Existing Account",
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "38468f69-d630-4b00-ab5b-169e7a413b44",
+ "alias" : "Verify Existing Account by Re-authentication",
+ "description" : "Reauthentication of existing account",
+ "providerId" : "basic-flow",
+ "topLevel" : false,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "idp-username-password-form",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticatorFlow" : true,
+ "requirement" : "CONDITIONAL",
+ "priority" : 20,
+ "autheticatorFlow" : true,
+ "flowAlias" : "First broker login - Conditional OTP",
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "c7324105-a924-4689-8f04-c7ea0f8effd2",
+ "alias" : "browser",
+ "description" : "browser based authentication",
+ "providerId" : "basic-flow",
+ "topLevel" : true,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "auth-cookie",
+ "authenticatorFlow" : false,
+ "requirement" : "DISABLED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "auth-spnego",
+ "authenticatorFlow" : false,
+ "requirement" : "DISABLED",
+ "priority" : 20,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "identity-provider-redirector",
+ "authenticatorFlow" : false,
+ "requirement" : "ALTERNATIVE",
+ "priority" : 25,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticatorFlow" : true,
+ "requirement" : "ALTERNATIVE",
+ "priority" : 30,
+ "autheticatorFlow" : true,
+ "flowAlias" : "forms",
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "88e04d13-4d71-4ff6-b521-7bbebb3329f5",
+ "alias" : "clients",
+ "description" : "Base authentication for clients",
+ "providerId" : "client-flow",
+ "topLevel" : true,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "client-secret",
+ "authenticatorFlow" : false,
+ "requirement" : "ALTERNATIVE",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "client-jwt",
+ "authenticatorFlow" : false,
+ "requirement" : "ALTERNATIVE",
+ "priority" : 20,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "client-secret-jwt",
+ "authenticatorFlow" : false,
+ "requirement" : "ALTERNATIVE",
+ "priority" : 30,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "client-x509",
+ "authenticatorFlow" : false,
+ "requirement" : "ALTERNATIVE",
+ "priority" : 40,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "c5c23ac7-c748-48d2-8090-7c21197238af",
+ "alias" : "direct grant",
+ "description" : "OpenID Connect Resource Owner Grant",
+ "providerId" : "basic-flow",
+ "topLevel" : true,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "direct-grant-validate-username",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "direct-grant-validate-password",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 20,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticatorFlow" : true,
+ "requirement" : "CONDITIONAL",
+ "priority" : 30,
+ "autheticatorFlow" : true,
+ "flowAlias" : "Direct Grant - Conditional OTP",
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "a3201f31-10e7-4b6c-85a7-169851b5e3b4",
+ "alias" : "docker auth",
+ "description" : "Used by Docker clients to authenticate against the IDP",
+ "providerId" : "basic-flow",
+ "topLevel" : true,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "docker-http-basic-authenticator",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "fa162a5a-0fb5-404f-8aa3-893fec90e1c9",
+ "alias" : "first broker login",
+ "description" : "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account",
+ "providerId" : "basic-flow",
+ "topLevel" : true,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticatorConfig" : "review profile config",
+ "authenticator" : "idp-review-profile",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticatorFlow" : true,
+ "requirement" : "REQUIRED",
+ "priority" : 20,
+ "autheticatorFlow" : true,
+ "flowAlias" : "User creation or linking",
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "784b94b0-b050-406a-83fb-e83eea2e282b",
+ "alias" : "forms",
+ "description" : "Username, password, otp and other auth forms.",
+ "providerId" : "basic-flow",
+ "topLevel" : false,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "auth-username-password-form",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticatorFlow" : true,
+ "requirement" : "CONDITIONAL",
+ "priority" : 20,
+ "autheticatorFlow" : true,
+ "flowAlias" : "Browser - Conditional OTP",
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "9b62475b-9803-48ef-8c37-4786889773a4",
+ "alias" : "registration",
+ "description" : "registration flow",
+ "providerId" : "basic-flow",
+ "topLevel" : true,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "registration-page-form",
+ "authenticatorFlow" : true,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : true,
+ "flowAlias" : "registration form",
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "8c4579e2-0870-48c3-9b7b-faf6e1e7cb58",
+ "alias" : "registration form",
+ "description" : "registration form",
+ "providerId" : "form-flow",
+ "topLevel" : false,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "registration-user-creation",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 20,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "registration-password-action",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 50,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "registration-recaptcha-action",
+ "authenticatorFlow" : false,
+ "requirement" : "DISABLED",
+ "priority" : 60,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "d8526a3d-2a46-429d-95b1-e0eec86a0130",
+ "alias" : "reset credentials",
+ "description" : "Reset credentials for a user if they forgot their password or something",
+ "providerId" : "basic-flow",
+ "topLevel" : true,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "reset-credentials-choose-user",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "reset-credential-email",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 20,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticator" : "reset-password",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 30,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ }, {
+ "authenticatorFlow" : true,
+ "requirement" : "CONDITIONAL",
+ "priority" : 40,
+ "autheticatorFlow" : true,
+ "flowAlias" : "Reset - Conditional OTP",
+ "userSetupAllowed" : false
+ } ]
+ }, {
+ "id" : "1cd0d9f7-bef8-4cfc-b1fe-bedb4aad0a7a",
+ "alias" : "saml ecp",
+ "description" : "SAML ECP Profile Authentication Flow",
+ "providerId" : "basic-flow",
+ "topLevel" : true,
+ "builtIn" : true,
+ "authenticationExecutions" : [ {
+ "authenticator" : "http-basic-authenticator",
+ "authenticatorFlow" : false,
+ "requirement" : "REQUIRED",
+ "priority" : 10,
+ "autheticatorFlow" : false,
+ "userSetupAllowed" : false
+ } ]
+ } ],
+ "authenticatorConfig" : [ {
+ "id" : "fdc6ae68-fe17-43fe-b7b8-0fcc04d822ce",
+ "alias" : "create unique user config",
+ "config" : {
+ "require.password.update.after.registration" : "false"
+ }
+ }, {
+ "id" : "c84572ec-5ca1-4730-817a-b7a4ca89bf79",
+ "alias" : "review profile config",
+ "config" : {
+ "update.profile.on.first.login" : "missing"
+ }
+ } ],
+ "requiredActions" : [ {
+ "alias" : "CONFIGURE_TOTP",
+ "name" : "Configure OTP",
+ "providerId" : "CONFIGURE_TOTP",
+ "enabled" : true,
+ "defaultAction" : false,
+ "priority" : 10,
+ "config" : { }
+ }, {
+ "alias" : "TERMS_AND_CONDITIONS",
+ "name" : "Terms and Conditions",
+ "providerId" : "TERMS_AND_CONDITIONS",
+ "enabled" : false,
+ "defaultAction" : false,
+ "priority" : 20,
+ "config" : { }
+ }, {
+ "alias" : "UPDATE_PASSWORD",
+ "name" : "Update Password",
+ "providerId" : "UPDATE_PASSWORD",
+ "enabled" : true,
+ "defaultAction" : false,
+ "priority" : 30,
+ "config" : { }
+ }, {
+ "alias" : "UPDATE_PROFILE",
+ "name" : "Update Profile",
+ "providerId" : "UPDATE_PROFILE",
+ "enabled" : true,
+ "defaultAction" : false,
+ "priority" : 40,
+ "config" : { }
+ }, {
+ "alias" : "VERIFY_EMAIL",
+ "name" : "Verify Email",
+ "providerId" : "VERIFY_EMAIL",
+ "enabled" : true,
+ "defaultAction" : false,
+ "priority" : 50,
+ "config" : { }
+ }, {
+ "alias" : "delete_account",
+ "name" : "Delete Account",
+ "providerId" : "delete_account",
+ "enabled" : false,
+ "defaultAction" : false,
+ "priority" : 60,
+ "config" : { }
+ }, {
+ "alias" : "update_user_locale",
+ "name" : "Update User Locale",
+ "providerId" : "update_user_locale",
+ "enabled" : true,
+ "defaultAction" : false,
+ "priority" : 1000,
+ "config" : { }
+ } ],
+ "browserFlow" : "browser",
+ "registrationFlow" : "registration",
+ "directGrantFlow" : "direct grant",
+ "resetCredentialsFlow" : "reset credentials",
+ "clientAuthenticationFlow" : "clients",
+ "dockerAuthenticationFlow" : "docker auth",
+ "firstBrokerLoginFlow" : "first broker login",
+ "attributes" : {
+ "cibaBackchannelTokenDeliveryMode" : "poll",
+ "cibaExpiresIn" : "120",
+ "cibaAuthRequestedUserHint" : "login_hint",
+ "oauth2DeviceCodeLifespan" : "600",
+ "clientOfflineSessionMaxLifespan" : "0",
+ "oauth2DevicePollingInterval" : "5",
+ "clientSessionIdleTimeout" : "0",
+ "parRequestUriLifespan" : "60",
+ "clientSessionMaxLifespan" : "0",
+ "clientOfflineSessionIdleTimeout" : "0",
+ "cibaInterval" : "5",
+ "realmReusableOtpCode" : "false"
+ },
+ "keycloakVersion" : "24.0.1",
+ "userManagedAccessAllowed" : false,
+ "clientProfiles" : {
+ "profiles" : [ ]
+ },
+ "clientPolicies" : {
+ "policies" : [ ]
+ }
+}
diff --git a/.github/scripts/execute-query.sh b/.github/scripts/execute-query.sh
index a9d6dda0..f97ac2cb 100755
--- a/.github/scripts/execute-query.sh
+++ b/.github/scripts/execute-query.sh
@@ -5,6 +5,6 @@ SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
BASE="http://localhost:8080"
EXPECTED_COUNT=$2
-ACTUAL_EXPECTED_COUNT=$( curl -s "$BASE/query/execute" -H "Content-Type: application/sq+json" -d @".github/integration-test/query-$1.json")
+ACTUAL_EXPECTED_COUNT=$( curl -s "$BASE/query/execute" -H "Content-Type: application/sq+json" -d @"$SCRIPT_DIR/../integration-test/query-$1.json")
test "count" "$ACTUAL_EXPECTED_COUNT" "$EXPECTED_COUNT"
diff --git a/.github/scripts/install-blazectl.sh b/.github/scripts/install-blazectl.sh
index 5f561bd4..3009e457 100755
--- a/.github/scripts/install-blazectl.sh
+++ b/.github/scripts/install-blazectl.sh
@@ -1,6 +1,6 @@
#!/bin/bash -e
-VERSION="0.13.0"
+VERSION="0.14.0"
curl -sLO "https://github.com/samply/blazectl/releases/download/v$VERSION/blazectl-$VERSION-linux-amd64.tar.gz"
tar xzf "blazectl-$VERSION-linux-amd64.tar.gz"
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6ea13273..bdfd2d20 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -18,22 +18,22 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Set up JDK 17
- uses: actions/setup-java@v3
+ uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Cache Local Maven Repo
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('pom.xml') }}
- name: Initialize CodeQL
- uses: github/codeql-action/init@v2
+ uses: github/codeql-action/init@v3
with:
languages: java
queries: security-and-quality
@@ -42,29 +42,29 @@ jobs:
run: mvn -B verify
- name: Upload coverage to Codecov
- uses: codecov/codecov-action@v3
+ uses: codecov/codecov-action@v4
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
+ uses: github/codeql-action/analyze@v3
- name: Upload Flare Jar
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: flare-jar
path: target/flare.jar
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
- name: Build and Export to Docker
- uses: docker/build-push-action@v4
+ uses: docker/build-push-action@v5
with:
context: .
tags: flare:latest
outputs: type=docker,dest=/tmp/flare.tar
- name: Upload flare Image
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: flare-image
path: /tmp/flare.tar
@@ -75,7 +75,7 @@ jobs:
steps:
- name: Download Flare Image
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: flare-image
path: /tmp
@@ -84,7 +84,7 @@ jobs:
run: docker load --input /tmp/flare.tar
- name: Check out Git repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Run Trivy Vulnerability Scanner
uses: aquasecurity/trivy-action@master
@@ -96,7 +96,7 @@ jobs:
timeout: '15m0s'
- name: Upload Trivy Scan Results to GitHub Security Tab
- uses: github/codeql-action/upload-sarif@v2
+ uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: trivy-results.sarif
@@ -106,10 +106,10 @@ jobs:
steps:
- name: Check out Git repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Download Flare Image
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: flare-image
path: /tmp
@@ -125,17 +125,23 @@ jobs:
integration-test:
needs: build
+ strategy:
+ matrix:
+ test:
+ - no-auth
+ - basic-auth
+ - oauth
runs-on: ubuntu-22.04
steps:
- name: Check out Git repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Install Blazectl
run: .github/scripts/install-blazectl.sh
- name: Download Flare Image
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: flare-image
path: /tmp
@@ -144,16 +150,10 @@ jobs:
run: docker load --input /tmp/flare.tar
- name: Run Flare and Blaze
- run: docker-compose -f .github/integration-test/docker-compose.yml up -d
-
- - name: Wait for Blaze
- run: .github/scripts/wait-for-url.sh http://localhost:8082/health
+ run: docker compose -f .github/integration-test/${{ matrix.test }}/docker-compose.yml up -d --wait --wait-timeout 300
- name: Load Data
- run: blazectl --no-progress --server http://localhost:8082/fhir upload .github/test-data/synthea
-
- - name: Wait for Flare
- run: .github/scripts/wait-for-url.sh http://localhost:8080/cache/stats
+ run: .github/integration-test/${{ matrix.test }}/load-data.sh
- name: Query for Viral sinusitis (disorder)
run: .github/scripts/execute-query.sh 444814009 69
@@ -169,10 +169,10 @@ jobs:
steps:
- name: Check out Git repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up JDK 17 for Maven Build
- uses: actions/setup-java@v3
+ uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
@@ -181,13 +181,13 @@ jobs:
run: mvn process-resources
- name: Download Flare Jar
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: flare-jar
path: target
- name: Download Flare Image
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: flare-image
path: /tmp
@@ -196,13 +196,13 @@ jobs:
run: docker load --input /tmp/flare.tar
- name: Set up QEMU
- uses: docker/setup-qemu-action@v2
+ uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
@@ -210,7 +210,7 @@ jobs:
- name: Docker meta
id: docker-meta
- uses: docker/metadata-action@v4
+ uses: docker/metadata-action@v5
with:
images: |
ghcr.io/medizininformatik-initiative/flare
@@ -222,7 +222,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
- name: Build and push
- uses: docker/build-push-action@v4
+ uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
@@ -231,5 +231,5 @@ jobs:
labels: ${{ steps.docker-meta.outputs.labels }}
- name: Release
- uses: softprops/action-gh-release@v1
+ uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
index ca5ab4ba..23c7e599 100644
--- a/.mvn/wrapper/maven-wrapper.properties
+++ b/.mvn/wrapper/maven-wrapper.properties
@@ -6,7 +6,7 @@
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
-# https://www.apache.org/licenses/LICENSE-2.0
+# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
@@ -14,5 +14,6 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.7/apache-maven-3.8.7-bin.zip
-wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
+wrapperVersion=3.3.2
+distributionType=only-script
+distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.7/apache-maven-3.9.7-bin.zip
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 675384b3..dc50797f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## v2.2.0
+
+### Enhancements
+
+* Add OAuth2 Support ([#134](https://github.com/medizininformatik-initiative/flare/issues/134))
+
+The full changelog can be found [here](https://github.com/medizininformatik-initiative/flare/milestone/13?closed=1).
+
## v2.1.1
### Bugfixes
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
index f58a5e5d..607710ae 100644
--- a/DEVELOPMENT.md
+++ b/DEVELOPMENT.md
@@ -3,8 +3,8 @@
## Release Checklist
* create a release branch called `release-v` like `release-v0.1.1`
-* rename every occurrence of the old version, say `0.1.0` or `0.1.0-SNAPSHOT` into the new version, say `0.1.1`
-* rename every occurrence of old Docker images like `ghcr.io/medizininformatik-initiative/flare:0.1` into the new image, say `ghcr.io/medizininformatik-initiative/flare:0.2`
+* rename every occurrence of the old version, say `2.2.0-SNAPSHOT` into the new version, say `2.2.0`
+* rename every occurrence of old Docker images like `ghcr.io/medizininformatik-initiative/flare:2.1` into the new image, say `ghcr.io/medizininformatik-initiative/flare:2.2`
* update the CHANGELOG based on the milestone
* create a commit with the title `Release v`
* create a PR from the release branch into main
diff --git a/Dockerfile b/Dockerfile
index 588f6a5f..4e71852c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM eclipse-temurin:17-jre
+FROM eclipse-temurin:21.0.3_9-jre
RUN apt-get update && apt-get upgrade -y && \
apt-get purge wget libbinutils libctf0 libctf-nobfd0 libncurses6 -y && \
diff --git a/README.md b/README.md
index d2034a60..c0a896fc 100644
--- a/README.md
+++ b/README.md
@@ -10,13 +10,13 @@ The goal of this project is to provide a service that allows for execution of fe
Set up FHIR test server
-```sh
+```sh
docker compose up
```
Load example data into FHIR server
-```sh
+```sh
import-test-data.sh
```
@@ -29,36 +29,39 @@ mvn clean install
## Run
```sh
-docker run -p 8080:8080 ghcr.io/medizininformatik-initiative/flare:2.1
+docker run -p 8080:8080 ghcr.io/medizininformatik-initiative/flare:2.2
```
## Environment Variables
-| Name | Default | Description |
-|:--------------------------------|:--------------------------------------|:-------------------------------------------------------------------------------------------------|
-| FLARE_FHIR_SERVER | http://localhost:8082/fhir | The base URL of the FHIR server to use. |
-| FLARE_FHIR_USER | | The username to use for HTTP Basic Authentication. |
-| FLARE_FHIR_PASSWORD | | The password to use for HTTP Basic Authentication. |
-| FLARE_FHIR_MAX_CONNECTIONS | 4 | The maximum number of connections Flare opens towards the FHIR server. |
-| FLARE_FHIR_MAX_QUEUE_SIZE | 500 | The maximum number FHIR server requests Flare queues before returning an error. |
-| FLARE_FHIR_PAGE_COUNT | 1000 | The number of resources per page to request from the FHIR server. |
-| FLARE_CACHE_MEM_SIZE_MB | 1024 | The size of the in-memory cache in mebibytes. |
-| FLARE_CACHE_MEM_EXPIRE | PT48H | The duration after which in-memory cache entries should expire in [ISO 8601 durations][1]. |
-| FLARE_CACHE_MEM_REFRESH | PT24H | The duration after which in-memory cache entries should be refreshed in [ISO 8601 durations][1]. |
-| FLARE_CACHE_DISK_PATH | cache | The name of the directory in which the on-disk cache should be written. |
-| FLARE_CACHE_DISK_EXPIRE | P7D | The duration after which on-disk cache entries should expire in [ISO 8601 durations][1]. |
-| FLARE_CACHE_DISK_THREADS | 4 | The number of threads the disk cache should use for reading and writing entries. |
-| FLARE_MAPPING_MAPPING_FILE | ontology/codex-term-code-mapping.json | The mappings to use. |
-| FLARE_MAPPING_CONCEPT_TREE_FILE | ontology/codex-code-tree.json | The code tree to use. |
-| SERVER_PORT | 8080 | The port at which Flare provides its REST API. |
-| JAVA_TOOL_OPTIONS | -Xmx4g | JVM options \(Docker only\) |
-| LOG_LEVEL | info | one of trace, debug, info, warn or error |
+| Name | Default | Description |
+|:----------------------------------|:--------------------------------------|:-------------------------------------------------------------------------------------------------|
+| FLARE_FHIR_SERVER | http://localhost:8082/fhir | The base URL of the FHIR server to use. |
+| FLARE_FHIR_USER | | The username to use for HTTP Basic Authentication. |
+| FLARE_FHIR_PASSWORD | | The password to use for HTTP Basic Authentication. |
+| FLARE_FHIR_OAUTH_ISSUER_URI | | The issuer URI of the OpenID Connect provider. |
+| FLARE_FHIR_OAUTH_CLIENT_ID | | The client ID to use for authentication with OpenID Connect provider. |
+| FLARE_FHIR_OAUTH_CLIENT_SECRET | | The client secret to use for authentication with OpenID Connect provider. |
+| FLARE_FHIR_MAX_CONNECTIONS | 4 | The maximum number of connections Flare opens towards the FHIR server. |
+| FLARE_FHIR_MAX_QUEUE_SIZE | 500 | The maximum number FHIR server requests Flare queues before returning an error. |
+| FLARE_FHIR_PAGE_COUNT | 1000 | The number of resources per page to request from the FHIR server. |
+| FLARE_CACHE_MEM_SIZE_MB | 1024 | The size of the in-memory cache in mebibytes. |
+| FLARE_CACHE_MEM_EXPIRE | PT48H | The duration after which in-memory cache entries should expire in [ISO 8601 durations][1]. |
+| FLARE_CACHE_MEM_REFRESH | PT24H | The duration after which in-memory cache entries should be refreshed in [ISO 8601 durations][1]. |
+| FLARE_CACHE_DISK_PATH | cache | The name of the directory in which the on-disk cache should be written. |
+| FLARE_CACHE_DISK_EXPIRE | P7D | The duration after which on-disk cache entries should expire in [ISO 8601 durations][1]. |
+| FLARE_CACHE_DISK_THREADS | 4 | The number of threads the disk cache should use for reading and writing entries. |
+| FLARE_MAPPING_MAPPING_FILE | ontology/codex-term-code-mapping.json | The mappings to use. |
+| FLARE_MAPPING_CONCEPT_TREE_FILE | ontology/codex-code-tree.json | The code tree to use. |
+| SERVER_PORT | 8080 | The port at which Flare provides its REST API. |
+| JAVA_TOOL_OPTIONS | -Xmx4g | JVM options \(Docker only\) |
+| LOG_LEVEL | info | one of trace, debug, info, warn or error |
## Default Configuration
The default configuration assumes the following:
-* there is about 8 GiB od memory available for Flare
+* there is about 8 GiB of memory available for Flare
* 4 GiB JVM heap including 1 GiB in-memory Cache
* about 1 GiB JVM off-heap memory especially for the disk-based cache
* about 3 GiB for page cache and the rest of the operating system
@@ -72,7 +75,7 @@ The default configuration assumes the following:
## Support for self-signed certificates
Flare supports the use of self-signed certificates from your own CAs.
-On each startup FLARE will search through the folder /app/certs inside the container
+On each startup FLARE will search through the folder /app/certs inside the container
, add all found CA *.pem files to a java truststore and start FLARE with this truststore.
In order to add your own CA files, add your own CA *.pem files to the /app/certs folder of the container.
diff --git a/docker-compose.yml b/docker-compose.yml
index be112989..c4a5e783 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,6 +1,6 @@
services:
data-store:
- image: "samply/blaze:0.22"
+ image: "samply/blaze:0.26"
environment:
BASE_URL: "http://localhost:8082"
JAVA_TOOL_OPTIONS: "-Xmx1g"
@@ -10,4 +10,4 @@ services:
volumes:
- "data-store-data:/app/data"
volumes:
- data-store-data:
\ No newline at end of file
+ data-store-data:
diff --git a/docs/synthea/condition-mapping.jq b/docs/synthea/condition-mapping.jq
index 956c8308..7978086b 100644
--- a/docs/synthea/condition-mapping.jq
+++ b/docs/synthea/condition-mapping.jq
@@ -4,6 +4,7 @@
"fhirResourceType": "Condition",
"key": .,
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": { "code": "Diagnose", "system": "fdpg.mii.cds", "version": "1.0.0", "display": "Diagnose"}
}
]
diff --git a/docs/synthea/condition-mapping.json b/docs/synthea/condition-mapping.json
index 1dd59d98..795fd1ce 100644
--- a/docs/synthea/condition-mapping.json
+++ b/docs/synthea/condition-mapping.json
@@ -7,7 +7,13 @@
"display": "Acute bronchitis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -17,7 +23,13 @@
"display": "Overlapping malignant neoplasm of colon"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -27,17 +39,13 @@
"display": "Concussion injury of brain"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "110359009",
- "display": "Intellectual disability (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -47,17 +55,13 @@
"display": "Chronic neck pain (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "11218009",
- "display": "Infection caused by Pseudomonas aeruginosa"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -67,7 +71,13 @@
"display": "Chronic intractable migraine without aura"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -77,7 +87,13 @@
"display": "Neoplasm of prostate"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -87,27 +103,13 @@
"display": "Diabetic renal disease (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "127295002",
- "display": "Traumatic brain injury (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "128188000",
- "display": "Cerebral palsy (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -117,7 +119,13 @@
"display": "Seizure disorder"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -127,37 +135,13 @@
"display": "Acute deep venous thrombosis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "14760008",
- "display": "Constipation (finding)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "1501000119109",
- "display": "Proliferative diabetic retinopathy due to type II diabetes mellitus (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "1551000119108",
- "display": "Nonproliferative diabetic retinopathy due to type 2 diabetes mellitus (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -167,37 +151,13 @@
"display": "Fetus with unknown complication"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "157141000119108",
- "display": "Proteinuria due to type 2 diabetes mellitus (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "15724005",
- "display": "Fracture of vertebral column without spinal cord injury"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "157265008",
- "display": "Dislocation of hip joint (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -207,17 +167,13 @@
"display": "Prediabetes"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "15802004",
- "display": "Dystonia (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -227,17 +183,13 @@
"display": "Fracture of ankle"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "161622006",
- "display": "History of lower limb amputation (situation)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -247,7 +199,13 @@
"display": "Suspected lung cancer (situation)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -257,27 +215,13 @@
"display": "Body mass index 30+ - obesity (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "171131006",
- "display": "Meningocele (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "1734006",
- "display": "Fracture of the vertebral column with spinal cord injury"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -287,17 +231,13 @@
"display": "Chronic obstructive bronchitis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "190905008",
- "display": "Cystic Fibrosis"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -307,17 +247,13 @@
"display": "Miscarriage in first trimester"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "192127007",
- "display": "Child attention deficit disorder"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -327,7 +263,13 @@
"display": "Acute viral pharyngitis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -337,7 +279,13 @@
"display": "Asthma"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -347,7 +295,13 @@
"display": "Impacted molars"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -357,7 +311,13 @@
"display": "Recurrent urinary tract infection"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -367,17 +327,13 @@
"display": "Antepartum eclampsia"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "200936003",
- "display": "Lupus erythematosus"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -387,7 +343,13 @@
"display": "Localized, primary osteoarthritis of the hand"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -397,57 +359,13 @@
"display": "Fibromyalgia (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "221360009",
- "display": "Spasticity (finding)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "22253000",
- "display": "Pain (finding)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "22298006",
- "display": "Myocardial Infarction"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "225444004",
- "display": "At risk for suicide (finding)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "230265002",
- "display": "Familial Alzheimer's disease of early onset (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -457,17 +375,13 @@
"display": "Stroke"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "230745008",
- "display": "Hydrocephalus (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -477,7 +391,13 @@
"display": "Perennial allergic rhinitis with seasonal variation"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -487,7 +407,13 @@
"display": "Pneumonia"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -497,47 +423,13 @@
"display": "Childhood asthma"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "234466008",
- "display": "Acquired coagulation disorder (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "235595009",
- "display": "Gastroesophageal reflux disease (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "235919008",
- "display": "Cholelithiasis"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "236077008",
- "display": "Protracted diarrhea"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -547,7 +439,13 @@
"display": "Metabolic syndrome X (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -557,7 +455,13 @@
"display": "Tear of meniscus of knee"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -567,7 +471,13 @@
"display": "Osteoarthritis of hip"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -577,7 +487,13 @@
"display": "Osteoarthritis of knee"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -587,7 +503,13 @@
"display": "Atopic dermatitis"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -597,17 +519,13 @@
"display": "Acute allergic reaction"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "246677007",
- "display": "Passive conjunctival congestion (finding)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -617,7 +535,13 @@
"display": "Sputum finding (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -627,7 +551,13 @@
"display": "Vomiting symptom (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -637,7 +567,13 @@
"display": "Headache (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -647,7 +583,13 @@
"display": "Small cell carcinoma of lung (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -657,7 +599,13 @@
"display": "Non-small cell lung cancer (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -667,17 +615,13 @@
"display": "Malignant neoplasm of breast (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "262574004",
- "display": "Bullet wound"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -687,7 +631,13 @@
"display": "Fracture subluxation of wrist"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -697,7 +647,13 @@
"display": "Dyspnea (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -707,17 +663,13 @@
"display": "Diarrhea symptom (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "267064002",
- "display": "Retention of urine (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -727,7 +679,13 @@
"display": "Sore throat symptom (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -737,7 +695,13 @@
"display": "Alzheimer's disease (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -747,7 +711,13 @@
"display": "Anemia (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -757,7 +727,13 @@
"display": "Respiratory distress (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -767,7 +743,13 @@
"display": "Brain damage - traumatic"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -777,17 +759,13 @@
"display": "Chronic low back pain (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "27942005",
- "display": "Shock (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -797,7 +775,13 @@
"display": "Laceration of forearm"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -807,7 +791,13 @@
"display": "Laceration of thigh"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -817,7 +807,13 @@
"display": "Laceration of hand"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -827,47 +823,13 @@
"display": "Laceration of foot"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "287185009",
- "display": "Attempted suicide - cut/stab"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "288959006",
- "display": "Unable to swallow saliva (finding)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "298382003",
- "display": "Scoliosis deformity of spine (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "300916003",
- "display": "Allergy to latex (finding)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -877,417 +839,397 @@
"display": "Escherichia coli urinary tract infection"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "302297009",
- "display": "Congenital deformity of foot (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "302870006",
- "display": "Hypertriglyceridemia (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "307731004",
- "display": "Injury of tendon of the rotator cuff of shoulder"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "30832001",
- "display": "Rupture of patellar tendon"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "314994000",
- "display": "Metastasis from malignant tumor of prostate (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "33737001",
- "display": "Fracture of rib"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "359817006",
- "display": "Closed fracture of hip"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "35999006",
- "display": "Blighted ovum"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "363406005",
- "display": "Malignant tumor of colon"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "367498001",
- "display": "Seasonal allergic rhinitis"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "368581000119106",
- "display": "Neuropathy due to type 2 diabetes mellitus (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "36923009",
- "display": "Major depression, single episode"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "36955009",
- "display": "Loss of taste (finding)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "36971009",
- "display": "Sinusitis (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "370143000",
- "display": "Major depression disorder"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "370247008",
- "display": "Facial laceration"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "373587001",
- "display": "Chiari malformation type II (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "386661006",
- "display": "Fever (finding)"
+ "code": "302870006",
+ "display": "Hypertriglyceridemia (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "38822007",
- "display": "Cystitis"
+ "code": "307731004",
+ "display": "Injury of tendon of the rotator cuff of shoulder"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "389087006",
- "display": "Hypoxemia (disorder)"
+ "code": "33737001",
+ "display": "Fracture of rib"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "398152000",
- "display": "Poor muscle tone (finding)"
+ "code": "359817006",
+ "display": "Closed fracture of hip"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "398254007",
- "display": "Preeclampsia"
+ "code": "35999006",
+ "display": "Blighted ovum"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "39848009",
- "display": "Whiplash injury to neck"
+ "code": "367498001",
+ "display": "Seasonal allergic rhinitis"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "399211009",
- "display": "History of myocardial infarction (situation)"
+ "code": "368581000119106",
+ "display": "Neuropathy due to type 2 diabetes mellitus (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "399912005",
- "display": "Pressure ulcer (disorder)"
+ "code": "36955009",
+ "display": "Loss of taste (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "40055000",
- "display": "Chronic sinusitis (disorder)"
+ "code": "36971009",
+ "display": "Sinusitis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "40095003",
- "display": "Injury of kidney (disorder)"
+ "code": "370143000",
+ "display": "Major depression disorder"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "40275004",
- "display": "Contact dermatitis"
+ "code": "370247008",
+ "display": "Facial laceration"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "403190006",
- "display": "First degree burn"
+ "code": "386661006",
+ "display": "Fever (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "403191005",
- "display": "Second degree burn"
+ "code": "38822007",
+ "display": "Cystitis"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "403192003",
- "display": "Third degree burn"
+ "code": "389087006",
+ "display": "Hypoxemia (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "406602003",
- "display": "Infection caused by Staphylococcus aureus"
+ "code": "398254007",
+ "display": "Preeclampsia"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "408512008",
- "display": "Body mass index 40+ - severely obese (finding)"
+ "code": "39848009",
+ "display": "Whiplash injury to neck"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "410429000",
- "display": "Cardiac Arrest"
+ "code": "40055000",
+ "display": "Chronic sinusitis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "414564002",
- "display": "Kyphosis deformity of spine (disorder)"
+ "code": "40095003",
+ "display": "Injury of kidney (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "414667000",
- "display": "Meningomyelocele (disorder)"
+ "code": "403190006",
+ "display": "First degree burn"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "422034002",
- "display": "Diabetic retinopathy associated with type II diabetes mellitus (disorder)"
+ "code": "403191005",
+ "display": "Second degree burn"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "422587007",
- "display": "Nausea (finding)"
+ "code": "408512008",
+ "display": "Body mass index 40+ - severely obese (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "424132000",
- "display": "Non-small cell carcinoma of lung, TNM stage 1 (disorder)"
+ "code": "410429000",
+ "display": "Cardiac Arrest"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "427089005",
- "display": "Diabetes from Cystic Fibrosis"
+ "code": "422587007",
+ "display": "Nausea (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "427419006",
- "display": "Transformed migraine (disorder)"
+ "code": "424132000",
+ "display": "Non-small cell carcinoma of lung, TNM stage 1 (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1297,7 +1239,13 @@
"display": "History of appendectomy"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1307,17 +1255,13 @@
"display": "History of cardiac arrest (situation)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "429280009",
- "display": "History of amputation of foot (situation)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1327,7 +1271,13 @@
"display": "Chronic kidney disease stage 1 (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1337,17 +1287,13 @@
"display": "Chronic kidney disease stage 2 (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "433144002",
- "display": "Chronic kidney disease stage 3 (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1357,7 +1303,13 @@
"display": "Chill (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1367,7 +1319,13 @@
"display": "Streptococcal sore throat (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1377,7 +1335,13 @@
"display": "Diabetes"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1387,7 +1351,13 @@
"display": "Pathological fracture due to osteoporosis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1397,7 +1367,13 @@
"display": "Injury of medial collateral ligament of knee"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1407,7 +1383,13 @@
"display": "Injury of anterior cruciate ligament"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1417,7 +1399,13 @@
"display": "Sprain of ankle"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1427,7 +1415,13 @@
"display": "Viral sinusitis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1437,27 +1431,13 @@
"display": "Perennial allergic rhinitis"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "448417001",
- "display": "Sepsis caused by Staphylococcus aureus"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "448813005",
- "display": "Sepsis caused by Pseudomonas (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1467,47 +1447,29 @@
"display": "Smokes tobacco daily"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "45816000",
- "display": "Pyelonephritis"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "47200007",
- "display": "Non-low risk pregnancy"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "47505003",
- "display": "Posttraumatic stress disorder"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
"key": {
"system": "http://snomed.info/sct",
- "code": "47693006",
- "display": "Rupture of appendix"
+ "code": "48333001",
+ "display": "Burn injury(morphologic abnormality)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1517,7 +1479,13 @@
"display": "Atrial Fibrillation"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1527,7 +1495,13 @@
"display": "Cough (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1537,17 +1511,13 @@
"display": "Coronary Heart Disease"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "53827007",
- "display": "Excessive salivation (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1557,7 +1527,13 @@
"display": "Drug overdose"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1567,7 +1543,13 @@
"display": "Hyperlipidemia"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1577,7 +1559,13 @@
"display": "Wheezing (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1587,7 +1575,13 @@
"display": "Opioid abuse (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1597,7 +1591,13 @@
"display": "Joint pain (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1607,7 +1607,13 @@
"display": "Fracture of clavicle"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1617,27 +1623,13 @@
"display": "Hypertension"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "6072007",
- "display": "Bleeding from anus"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "60951000119105",
- "display": "Blindness due to type 2 diabetes mellitus (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1647,27 +1639,13 @@
"display": "Concussion with no loss of consciousness"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "62564004",
- "display": "Concussion with loss of consciousness"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "62718007",
- "display": "Dribbling from mouth (finding)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1677,17 +1655,13 @@
"display": "Osteoporosis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "65275009",
- "display": "Acute Cholecystitis"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1697,7 +1671,13 @@
"display": "Otitis media"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1707,7 +1687,13 @@
"display": "Acute respiratory failure (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1717,17 +1703,13 @@
"display": "Fracture of forearm"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "66857006",
- "display": "Hemoptysis (finding)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1737,7 +1719,13 @@
"display": "Acute respiratory distress syndrome (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1747,7 +1735,13 @@
"display": "Primary small cell malignant neoplasm of lung, TNM stage 1 (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1757,7 +1751,13 @@
"display": "Nasal congestion (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1767,17 +1767,13 @@
"display": "Polyp of colon"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "68566005",
- "display": "Urinary tract infectious disease (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1787,17 +1783,13 @@
"display": "Muscle pain (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "698754002",
- "display": "Chronic paralysis due to lesion of spinal cord"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1807,7 +1799,13 @@
"display": "Rheumatoid arthritis"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1817,7 +1815,13 @@
"display": "History of single seizure (situation)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1827,7 +1831,13 @@
"display": "Acute pulmonary embolism (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1837,17 +1847,13 @@
"display": "Sprain of wrist"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "707577004",
- "display": "Female Infertility"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1857,7 +1863,13 @@
"display": "Recurrent rectal polyp"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1867,7 +1879,13 @@
"display": "Alcoholism"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1877,7 +1895,13 @@
"display": "Normal pregnancy"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1887,7 +1911,13 @@
"display": "Appendicitis"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1897,7 +1927,13 @@
"display": "Acute bacterial sinusitis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1907,17 +1943,13 @@
"display": "Septic shock (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "76916001",
- "display": "Spina bifida occulta (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1927,7 +1959,13 @@
"display": "Sepsis caused by virus (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1937,7 +1975,13 @@
"display": "Tubal pregnancy"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1947,7 +1991,13 @@
"display": "Hyperglycemia (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1957,17 +2007,13 @@
"display": "Chronic pain"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "83664006",
- "display": "Idiopathic atrophic hypothyroidism"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1977,7 +2023,13 @@
"display": "COVID-19"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1987,7 +2039,13 @@
"display": "Suspected COVID-19"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -1997,7 +2055,13 @@
"display": "Heart failure (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -2007,17 +2071,13 @@
"display": "Fatigue (finding)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "84757009",
- "display": "Epilepsy"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -2027,17 +2087,13 @@
"display": "Injury of heart (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "86849004",
- "display": "Suicidal deliberate poisoning"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -2047,17 +2103,13 @@
"display": "Pulmonary emphysema (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "87628006",
- "display": "Bacterial infectious disease (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -2067,17 +2119,13 @@
"display": "Chronic congestive heart failure (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "90560007",
- "display": "Gout"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -2087,7 +2135,13 @@
"display": "Microalbuminuria due to type 2 diabetes mellitus (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -2097,7 +2151,13 @@
"display": "Sepsis (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -2107,27 +2167,13 @@
"display": "Carcinoma in situ of prostate (disorder)"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "93761005",
- "display": "Primary malignant neoplasm of colon"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "94260004",
- "display": "Secondary malignant neoplasm of colon"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"fhirResourceType": "Condition",
@@ -2137,16 +2183,12 @@
"display": "Primary fibromyalgia syndrome"
},
"termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
- },
- {
- "fhirResourceType": "Condition",
- "key": {
- "system": "http://snomed.info/sct",
- "code": "97331000119101",
- "display": "Macular edema and retinopathy due to type 2 diabetes mellitus (disorder)"
- },
- "termCodeSearchParameter": "code",
- "timeRestrictionParameter": "recorded-date"
+ "timeRestrictionParameter": "recorded-date",
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
]
diff --git a/docs/synthea/condition-query-intersection-top-10.jq b/docs/synthea/condition-query-intersection-top-10.jq
index 089e6622..d9bd3353 100644
--- a/docs/synthea/condition-query-intersection-top-10.jq
+++ b/docs/synthea/condition-query-intersection-top-10.jq
@@ -6,6 +6,6 @@
reverse |
limit(10; .[]) |
.value.coding[0] |
- [ { "termCodes": [ . ] } ]
+ [ { "termCodes": [ . ], "context": { "code": "Diagnose", "system": "fdpg.mii.cds", "version": "1.0.0", "display": "Diagnose"}} ]
]
}
diff --git a/docs/synthea/condition-query-intersection-top-10.json b/docs/synthea/condition-query-intersection-top-10.json
index e58d6260..a8ef59db 100644
--- a/docs/synthea/condition-query-intersection-top-10.json
+++ b/docs/synthea/condition-query-intersection-top-10.json
@@ -8,7 +8,13 @@
"code": "444814009",
"display": "Viral sinusitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
],
[
@@ -19,7 +25,13 @@
"code": "840544004",
"display": "Suspected COVID-19"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
],
[
@@ -30,7 +42,13 @@
"code": "840539006",
"display": "COVID-19"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
],
[
@@ -41,7 +59,13 @@
"code": "386661006",
"display": "Fever (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
],
[
@@ -52,7 +76,13 @@
"code": "195662009",
"display": "Acute viral pharyngitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
],
[
@@ -60,10 +90,16 @@
"termCodes": [
{
"system": "http://snomed.info/sct",
- "code": "49727002",
- "display": "Cough (finding)"
+ "code": "10509002",
+ "display": "Acute bronchitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
],
[
@@ -71,10 +107,16 @@
"termCodes": [
{
"system": "http://snomed.info/sct",
- "code": "10509002",
- "display": "Acute bronchitis (disorder)"
+ "code": "49727002",
+ "display": "Cough (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
],
[
@@ -82,10 +124,16 @@
"termCodes": [
{
"system": "http://snomed.info/sct",
- "code": "72892002",
- "display": "Normal pregnancy"
+ "code": "162864005",
+ "display": "Body mass index 30+ - obesity (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
],
[
@@ -96,7 +144,13 @@
"code": "36955009",
"display": "Loss of taste (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
],
[
@@ -104,10 +158,16 @@
"termCodes": [
{
"system": "http://snomed.info/sct",
- "code": "162864005",
- "display": "Body mass index 30+ - obesity (finding)"
+ "code": "84229001",
+ "display": "Fatigue (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
]
]
diff --git a/docs/synthea/condition-query-union-all.jq b/docs/synthea/condition-query-union-all.jq
index efcc469a..263f9712 100644
--- a/docs/synthea/condition-query-union-all.jq
+++ b/docs/synthea/condition-query-union-all.jq
@@ -2,7 +2,7 @@
"inclusionCriteria": [
[
[ .group[0].stratifier[0].stratum[].value.coding[0] ] | unique_by(.code) [] |
- { "termCodes": [ . ] }
+ { "termCodes": [ . ], "context": { "code": "Diagnose", "system": "fdpg.mii.cds", "version": "1.0.0", "display": "Diagnose"} }
]
]
}
diff --git a/docs/synthea/condition-query-union-all.json b/docs/synthea/condition-query-union-all.json
index 06d80061..082051a2 100644
--- a/docs/synthea/condition-query-union-all.json
+++ b/docs/synthea/condition-query-union-all.json
@@ -8,7 +8,13 @@
"code": "10509002",
"display": "Acute bronchitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -17,7 +23,13 @@
"code": "109838007",
"display": "Overlapping malignant neoplasm of colon"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -26,16 +38,13 @@
"code": "110030002",
"display": "Concussion injury of brain"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "110359009",
- "display": "Intellectual disability (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -44,16 +53,13 @@
"code": "1121000119107",
"display": "Chronic neck pain (finding)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "11218009",
- "display": "Infection caused by Pseudomonas aeruginosa"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -62,7 +68,13 @@
"code": "124171000119105",
"display": "Chronic intractable migraine without aura"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -71,7 +83,13 @@
"code": "126906006",
"display": "Neoplasm of prostate"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -80,25 +98,13 @@
"code": "127013003",
"display": "Diabetic renal disease (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "127295002",
- "display": "Traumatic brain injury (disorder)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "128188000",
- "display": "Cerebral palsy (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -107,7 +113,13 @@
"code": "128613002",
"display": "Seizure disorder"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -116,34 +128,13 @@
"code": "132281000119108",
"display": "Acute deep venous thrombosis (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "14760008",
- "display": "Constipation (finding)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "1501000119109",
- "display": "Proliferative diabetic retinopathy due to type II diabetes mellitus (disorder)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "1551000119108",
- "display": "Nonproliferative diabetic retinopathy due to type 2 diabetes mellitus (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -152,34 +143,13 @@
"code": "156073000",
"display": "Fetus with unknown complication"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "157141000119108",
- "display": "Proteinuria due to type 2 diabetes mellitus (disorder)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "15724005",
- "display": "Fracture of vertebral column without spinal cord injury"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "157265008",
- "display": "Dislocation of hip joint (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -188,16 +158,13 @@
"code": "15777000",
"display": "Prediabetes"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "15802004",
- "display": "Dystonia (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -206,16 +173,13 @@
"code": "16114001",
"display": "Fracture of ankle"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "161622006",
- "display": "History of lower limb amputation (situation)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -224,7 +188,13 @@
"code": "162573006",
"display": "Suspected lung cancer (situation)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -233,25 +203,13 @@
"code": "162864005",
"display": "Body mass index 30+ - obesity (finding)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "171131006",
- "display": "Meningocele (disorder)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "1734006",
- "display": "Fracture of the vertebral column with spinal cord injury"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -260,16 +218,13 @@
"code": "185086009",
"display": "Chronic obstructive bronchitis (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "190905008",
- "display": "Cystic Fibrosis"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -278,16 +233,13 @@
"code": "19169002",
"display": "Miscarriage in first trimester"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "192127007",
- "display": "Child attention deficit disorder"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -296,7 +248,13 @@
"code": "195662009",
"display": "Acute viral pharyngitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -305,7 +263,13 @@
"code": "195967001",
"display": "Asthma"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -314,7 +278,13 @@
"code": "196416002",
"display": "Impacted molars"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -323,7 +293,13 @@
"code": "197927001",
"display": "Recurrent urinary tract infection"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -332,16 +308,13 @@
"code": "198992004",
"display": "Antepartum eclampsia"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "200936003",
- "display": "Lupus erythematosus"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -350,7 +323,13 @@
"code": "201834006",
"display": "Localized, primary osteoarthritis of the hand"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -359,52 +338,13 @@
"code": "203082005",
"display": "Fibromyalgia (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "221360009",
- "display": "Spasticity (finding)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "22253000",
- "display": "Pain (finding)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "22298006",
- "display": "Myocardial Infarction"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "225444004",
- "display": "At risk for suicide (finding)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "230265002",
- "display": "Familial Alzheimer's disease of early onset (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -413,16 +353,13 @@
"code": "230690007",
"display": "Stroke"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "230745008",
- "display": "Hydrocephalus (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -431,7 +368,13 @@
"code": "232353008",
"display": "Perennial allergic rhinitis with seasonal variation"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -440,7 +383,13 @@
"code": "233604007",
"display": "Pneumonia"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -449,43 +398,13 @@
"code": "233678006",
"display": "Childhood asthma"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "234466008",
- "display": "Acquired coagulation disorder (disorder)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "235595009",
- "display": "Gastroesophageal reflux disease (disorder)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "235919008",
- "display": "Cholelithiasis"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "236077008",
- "display": "Protracted diarrhea"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -494,7 +413,13 @@
"code": "237602007",
"display": "Metabolic syndrome X (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -503,7 +428,13 @@
"code": "239720000",
"display": "Tear of meniscus of knee"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -512,7 +443,13 @@
"code": "239872002",
"display": "Osteoarthritis of hip"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -521,7 +458,13 @@
"code": "239873007",
"display": "Osteoarthritis of knee"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -530,7 +473,13 @@
"code": "24079001",
"display": "Atopic dermatitis"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -539,16 +488,13 @@
"code": "241929008",
"display": "Acute allergic reaction"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "246677007",
- "display": "Passive conjunctival congestion (finding)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -557,7 +503,13 @@
"code": "248595008",
"display": "Sputum finding (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -566,7 +518,13 @@
"code": "249497008",
"display": "Vomiting symptom (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -575,7 +533,13 @@
"code": "25064002",
"display": "Headache (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -584,7 +548,13 @@
"code": "254632001",
"display": "Small cell carcinoma of lung (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -593,7 +563,13 @@
"code": "254637007",
"display": "Non-small cell lung cancer (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -602,16 +578,13 @@
"code": "254837009",
"display": "Malignant neoplasm of breast (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "262574004",
- "display": "Bullet wound"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -620,7 +593,13 @@
"code": "263102004",
"display": "Fracture subluxation of wrist"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -629,7 +608,13 @@
"code": "267036007",
"display": "Dyspnea (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -638,16 +623,13 @@
"code": "267060006",
"display": "Diarrhea symptom (finding)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "267064002",
- "display": "Retention of urine (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -656,7 +638,13 @@
"code": "267102003",
"display": "Sore throat symptom (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -665,7 +653,13 @@
"code": "26929004",
"display": "Alzheimer's disease (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -674,7 +668,13 @@
"code": "271737000",
"display": "Anemia (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -683,7 +683,13 @@
"code": "271825005",
"display": "Respiratory distress (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -692,7 +698,13 @@
"code": "275272006",
"display": "Brain damage - traumatic"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -701,16 +713,13 @@
"code": "278860009",
"display": "Chronic low back pain (finding)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "27942005",
- "display": "Shock (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -719,7 +728,13 @@
"code": "283371005",
"display": "Laceration of forearm"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -728,7 +743,13 @@
"code": "283385000",
"display": "Laceration of thigh"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -737,7 +758,13 @@
"code": "284549007",
"display": "Laceration of hand"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -746,43 +773,13 @@
"code": "284551006",
"display": "Laceration of foot"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "287185009",
- "display": "Attempted suicide - cut/stab"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "288959006",
- "display": "Unable to swallow saliva (finding)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "298382003",
- "display": "Scoliosis deformity of spine (disorder)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "300916003",
- "display": "Allergy to latex (finding)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -791,16 +788,13 @@
"code": "301011002",
"display": "Escherichia coli urinary tract infection"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "302297009",
- "display": "Congenital deformity of foot (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -809,7 +803,13 @@
"code": "302870006",
"display": "Hypertriglyceridemia (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -818,25 +818,13 @@
"code": "307731004",
"display": "Injury of tendon of the rotator cuff of shoulder"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "30832001",
- "display": "Rupture of patellar tendon"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "314994000",
- "display": "Metastasis from malignant tumor of prostate (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -845,7 +833,13 @@
"code": "33737001",
"display": "Fracture of rib"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -854,7 +848,13 @@
"code": "359817006",
"display": "Closed fracture of hip"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -863,16 +863,13 @@
"code": "35999006",
"display": "Blighted ovum"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "363406005",
- "display": "Malignant tumor of colon"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -881,7 +878,13 @@
"code": "367498001",
"display": "Seasonal allergic rhinitis"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -890,16 +893,13 @@
"code": "368581000119106",
"display": "Neuropathy due to type 2 diabetes mellitus (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "36923009",
- "display": "Major depression, single episode"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -908,7 +908,13 @@
"code": "36955009",
"display": "Loss of taste (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -917,7 +923,13 @@
"code": "36971009",
"display": "Sinusitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -926,7 +938,13 @@
"code": "370143000",
"display": "Major depression disorder"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -935,16 +953,13 @@
"code": "370247008",
"display": "Facial laceration"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "373587001",
- "display": "Chiari malformation type II (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -953,7 +968,13 @@
"code": "386661006",
"display": "Fever (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -962,7 +983,13 @@
"code": "38822007",
"display": "Cystitis"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -971,16 +998,13 @@
"code": "389087006",
"display": "Hypoxemia (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "398152000",
- "display": "Poor muscle tone (finding)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -989,7 +1013,13 @@
"code": "398254007",
"display": "Preeclampsia"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -998,25 +1028,13 @@
"code": "39848009",
"display": "Whiplash injury to neck"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "399211009",
- "display": "History of myocardial infarction (situation)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "399912005",
- "display": "Pressure ulcer (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1025,7 +1043,13 @@
"code": "40055000",
"display": "Chronic sinusitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1034,16 +1058,13 @@
"code": "40095003",
"display": "Injury of kidney (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "40275004",
- "display": "Contact dermatitis"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1052,7 +1073,13 @@
"code": "403190006",
"display": "First degree burn"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1061,25 +1088,13 @@
"code": "403191005",
"display": "Second degree burn"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "403192003",
- "display": "Third degree burn"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "406602003",
- "display": "Infection caused by Staphylococcus aureus"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1088,7 +1103,13 @@
"code": "408512008",
"display": "Body mass index 40+ - severely obese (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1097,34 +1118,13 @@
"code": "410429000",
"display": "Cardiac Arrest"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "414564002",
- "display": "Kyphosis deformity of spine (disorder)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "414667000",
- "display": "Meningomyelocele (disorder)"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "422034002",
- "display": "Diabetic retinopathy associated with type II diabetes mellitus (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1133,7 +1133,13 @@
"code": "422587007",
"display": "Nausea (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1142,25 +1148,13 @@
"code": "424132000",
"display": "Non-small cell carcinoma of lung, TNM stage 1 (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "427089005",
- "display": "Diabetes from Cystic Fibrosis"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "427419006",
- "display": "Transformed migraine (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1169,7 +1163,13 @@
"code": "428251008",
"display": "History of appendectomy"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1178,16 +1178,13 @@
"code": "429007001",
"display": "History of cardiac arrest (situation)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "429280009",
- "display": "History of amputation of foot (situation)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1196,7 +1193,13 @@
"code": "431855005",
"display": "Chronic kidney disease stage 1 (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1205,16 +1208,13 @@
"code": "431856006",
"display": "Chronic kidney disease stage 2 (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "433144002",
- "display": "Chronic kidney disease stage 3 (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1223,7 +1223,13 @@
"code": "43724002",
"display": "Chill (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1232,7 +1238,13 @@
"code": "43878008",
"display": "Streptococcal sore throat (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1241,7 +1253,13 @@
"code": "44054006",
"display": "Diabetes"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1250,7 +1268,13 @@
"code": "443165006",
"display": "Pathological fracture due to osteoporosis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1259,7 +1283,13 @@
"code": "444448004",
"display": "Injury of medial collateral ligament of knee"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1268,7 +1298,13 @@
"code": "444470001",
"display": "Injury of anterior cruciate ligament"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1277,7 +1313,13 @@
"code": "44465007",
"display": "Sprain of ankle"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1286,7 +1328,13 @@
"code": "444814009",
"display": "Viral sinusitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1295,25 +1343,13 @@
"code": "446096008",
"display": "Perennial allergic rhinitis"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "448417001",
- "display": "Sepsis caused by Staphylococcus aureus"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "448813005",
- "display": "Sepsis caused by Pseudomonas (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1322,43 +1358,28 @@
"code": "449868002",
"display": "Smokes tobacco daily"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "45816000",
- "display": "Pyelonephritis"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "47200007",
- "display": "Non-low risk pregnancy"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "47505003",
- "display": "Posttraumatic stress disorder"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
{
"system": "http://snomed.info/sct",
- "code": "47693006",
- "display": "Rupture of appendix"
+ "code": "48333001",
+ "display": "Burn injury(morphologic abnormality)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1367,7 +1388,13 @@
"code": "49436004",
"display": "Atrial Fibrillation"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1376,7 +1403,13 @@
"code": "49727002",
"display": "Cough (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1385,16 +1418,13 @@
"code": "53741008",
"display": "Coronary Heart Disease"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "53827007",
- "display": "Excessive salivation (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1403,7 +1433,13 @@
"code": "55680006",
"display": "Drug overdose"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1412,7 +1448,13 @@
"code": "55822004",
"display": "Hyperlipidemia"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1421,7 +1463,13 @@
"code": "56018004",
"display": "Wheezing (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1430,7 +1478,13 @@
"code": "5602001",
"display": "Opioid abuse (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1439,7 +1493,13 @@
"code": "57676002",
"display": "Joint pain (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1448,7 +1508,13 @@
"code": "58150001",
"display": "Fracture of clavicle"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1457,25 +1523,13 @@
"code": "59621000",
"display": "Hypertension"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "6072007",
- "display": "Bleeding from anus"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "60951000119105",
- "display": "Blindness due to type 2 diabetes mellitus (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1484,25 +1538,13 @@
"code": "62106007",
"display": "Concussion with no loss of consciousness"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "62564004",
- "display": "Concussion with loss of consciousness"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "62718007",
- "display": "Dribbling from mouth (finding)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1511,16 +1553,13 @@
"code": "64859006",
"display": "Osteoporosis (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "65275009",
- "display": "Acute Cholecystitis"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1529,7 +1568,13 @@
"code": "65363002",
"display": "Otitis media"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1538,7 +1583,13 @@
"code": "65710008",
"display": "Acute respiratory failure (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1547,16 +1598,13 @@
"code": "65966004",
"display": "Fracture of forearm"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "66857006",
- "display": "Hemoptysis (finding)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1565,7 +1613,13 @@
"code": "67782005",
"display": "Acute respiratory distress syndrome (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1574,7 +1628,13 @@
"code": "67811000119102",
"display": "Primary small cell malignant neoplasm of lung, TNM stage 1 (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1583,7 +1643,13 @@
"code": "68235000",
"display": "Nasal congestion (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1592,16 +1658,13 @@
"code": "68496003",
"display": "Polyp of colon"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "68566005",
- "display": "Urinary tract infectious disease (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1610,16 +1673,13 @@
"code": "68962001",
"display": "Muscle pain (finding)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "698754002",
- "display": "Chronic paralysis due to lesion of spinal cord"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1628,7 +1688,13 @@
"code": "69896004",
"display": "Rheumatoid arthritis"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1637,7 +1703,13 @@
"code": "703151001",
"display": "History of single seizure (situation)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1646,7 +1718,13 @@
"code": "706870000",
"display": "Acute pulmonary embolism (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1655,16 +1733,13 @@
"code": "70704007",
"display": "Sprain of wrist"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "707577004",
- "display": "Female Infertility"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1673,7 +1748,13 @@
"code": "713197008",
"display": "Recurrent rectal polyp"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1682,7 +1763,13 @@
"code": "7200002",
"display": "Alcoholism"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1691,7 +1778,13 @@
"code": "72892002",
"display": "Normal pregnancy"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1700,7 +1793,13 @@
"code": "74400008",
"display": "Appendicitis"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1709,7 +1808,13 @@
"code": "75498004",
"display": "Acute bacterial sinusitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1718,16 +1823,13 @@
"code": "76571007",
"display": "Septic shock (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "76916001",
- "display": "Spina bifida occulta (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1736,7 +1838,13 @@
"code": "770349000",
"display": "Sepsis caused by virus (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1745,7 +1853,13 @@
"code": "79586000",
"display": "Tubal pregnancy"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1754,7 +1868,13 @@
"code": "80394007",
"display": "Hyperglycemia (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1763,16 +1883,13 @@
"code": "82423001",
"display": "Chronic pain"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "83664006",
- "display": "Idiopathic atrophic hypothyroidism"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1781,7 +1898,13 @@
"code": "840539006",
"display": "COVID-19"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1790,7 +1913,13 @@
"code": "840544004",
"display": "Suspected COVID-19"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1799,7 +1928,13 @@
"code": "84114007",
"display": "Heart failure (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1808,16 +1943,13 @@
"code": "84229001",
"display": "Fatigue (finding)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "84757009",
- "display": "Epilepsy"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1826,16 +1958,13 @@
"code": "86175003",
"display": "Injury of heart (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "86849004",
- "display": "Suicidal deliberate poisoning"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1844,16 +1973,13 @@
"code": "87433001",
"display": "Pulmonary emphysema (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "87628006",
- "display": "Bacterial infectious disease (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1862,16 +1988,13 @@
"code": "88805009",
"display": "Chronic congestive heart failure (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "90560007",
- "display": "Gout"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1880,7 +2003,13 @@
"code": "90781000119102",
"display": "Microalbuminuria due to type 2 diabetes mellitus (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1889,7 +2018,13 @@
"code": "91302008",
"display": "Sepsis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1898,25 +2033,13 @@
"code": "92691004",
"display": "Carcinoma in situ of prostate (disorder)"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "93761005",
- "display": "Primary malignant neoplasm of colon"
- }
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "94260004",
- "display": "Secondary malignant neoplasm of colon"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -1925,16 +2048,13 @@
"code": "95417003",
"display": "Primary fibromyalgia syndrome"
}
- ]
- },
- {
- "termCodes": [
- {
- "system": "http://snomed.info/sct",
- "code": "97331000119101",
- "display": "Macular edema and retinopathy due to type 2 diabetes mellitus (disorder)"
- }
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
]
]
diff --git a/docs/synthea/condition-query-union-top-10.jq b/docs/synthea/condition-query-union-top-10.jq
index 6c41c753..6ec05f00 100644
--- a/docs/synthea/condition-query-union-top-10.jq
+++ b/docs/synthea/condition-query-union-top-10.jq
@@ -7,7 +7,7 @@
reverse |
limit(10; .[]) |
.value.coding[0] |
- { "termCodes": [ . ] }
+ { "termCodes": [ . ], "context": { "code": "Diagnose", "system": "fdpg.mii.cds", "version": "1.0.0", "display": "Diagnose"} }
]
]
}
diff --git a/docs/synthea/condition-query-union-top-10.json b/docs/synthea/condition-query-union-top-10.json
index dc4d8ab0..d1f57455 100644
--- a/docs/synthea/condition-query-union-top-10.json
+++ b/docs/synthea/condition-query-union-top-10.json
@@ -8,7 +8,13 @@
"code": "444814009",
"display": "Viral sinusitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -17,7 +23,13 @@
"code": "840544004",
"display": "Suspected COVID-19"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -26,7 +38,13 @@
"code": "840539006",
"display": "COVID-19"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -35,7 +53,13 @@
"code": "386661006",
"display": "Fever (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -44,34 +68,58 @@
"code": "195662009",
"display": "Acute viral pharyngitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
{
"system": "http://snomed.info/sct",
- "code": "49727002",
- "display": "Cough (finding)"
+ "code": "10509002",
+ "display": "Acute bronchitis (disorder)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
{
"system": "http://snomed.info/sct",
- "code": "10509002",
- "display": "Acute bronchitis (disorder)"
+ "code": "49727002",
+ "display": "Cough (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
{
"system": "http://snomed.info/sct",
- "code": "72892002",
- "display": "Normal pregnancy"
+ "code": "162864005",
+ "display": "Body mass index 30+ - obesity (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
@@ -80,16 +128,28 @@
"code": "36955009",
"display": "Loss of taste (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
},
{
"termCodes": [
{
"system": "http://snomed.info/sct",
- "code": "162864005",
- "display": "Body mass index 30+ - obesity (finding)"
+ "code": "84229001",
+ "display": "Fatigue (finding)"
}
- ]
+ ],
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
+ }
}
]
]
diff --git a/docs/synthea/condition-report.json b/docs/synthea/condition-report.json
index 516df33b..a3babe27 100644
--- a/docs/synthea/condition-report.json
+++ b/docs/synthea/condition-report.json
@@ -3,7 +3,7 @@
{
"url": "https://samply.github.io/blaze/fhir/StructureDefinition/eval-duration",
"valueQuantity": {
- "value": 17.368520667,
+ "value": 0.267445662,
"unit": "s",
"system": "http://unitsofmeasure.org",
"code": "s"
@@ -12,8 +12,8 @@
],
"status": "complete",
"type": "summary",
- "measure": "urn:uuid:77d8243a-f1dc-4a56-89ed-076997ae16a4",
- "date": "2023-03-18T14:07:02.880167764Z",
+ "measure": "urn:uuid:9b81d0a8-b95b-4437-b162-1a8513bf7977",
+ "date": "2024-01-09T14:24:01.633078837Z",
"period": {
"start": "1900",
"end": "2200"
@@ -22,7 +22,7 @@
{
"population": [
{
- "count": 1318304,
+ "count": 1597,
"code": {
"coding": [
{
@@ -36,56 +36,6 @@
"stratifier": [
{
"stratum": [
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "234466008",
- "display": "Acquired coagulation disorder (disorder)"
- }
- ],
- "text": "Acquired coagulation disorder (disorder)"
- },
- "population": [
- {
- "count": 81,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "65275009",
- "display": "Acute Cholecystitis"
- }
- ],
- "text": "Acute Cholecystitis"
- },
- "population": [
- {
- "count": 221,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
{
"value": {
"coding": [
@@ -99,7 +49,7 @@
},
"population": [
{
- "count": 1639,
+ "count": 3,
"code": {
"coding": [
{
@@ -124,7 +74,7 @@
},
"population": [
{
- "count": 5875,
+ "count": 8,
"code": {
"coding": [
{
@@ -149,7 +99,7 @@
},
"population": [
{
- "count": 49871,
+ "count": 63,
"code": {
"coding": [
{
@@ -174,7 +124,7 @@
},
"population": [
{
- "count": 4124,
+ "count": 2,
"code": {
"coding": [
{
@@ -199,7 +149,7 @@
},
"population": [
{
- "count": 4141,
+ "count": 9,
"code": {
"coding": [
{
@@ -224,7 +174,7 @@
},
"population": [
{
- "count": 214,
+ "count": 3,
"code": {
"coding": [
{
@@ -249,7 +199,7 @@
},
"population": [
{
- "count": 5183,
+ "count": 14,
"code": {
"coding": [
{
@@ -274,7 +224,7 @@
},
"population": [
{
- "count": 60372,
+ "count": 69,
"code": {
"coding": [
{
@@ -299,32 +249,7 @@
},
"population": [
{
- "count": 432,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "300916003",
- "display": "Allergy to latex (finding)"
- }
- ],
- "text": "Allergy to latex (finding)"
- },
- "population": [
- {
- "count": 14,
+ "count": 1,
"code": {
"coding": [
{
@@ -349,7 +274,7 @@
},
"population": [
{
- "count": 1254,
+ "count": 5,
"code": {
"coding": [
{
@@ -374,7 +299,7 @@
},
"population": [
{
- "count": 27925,
+ "count": 37,
"code": {
"coding": [
{
@@ -399,7 +324,7 @@
},
"population": [
{
- "count": 2224,
+ "count": 4,
"code": {
"coding": [
{
@@ -424,7 +349,7 @@
},
"population": [
{
- "count": 4571,
+ "count": 2,
"code": {
"coding": [
{
@@ -449,7 +374,7 @@
},
"population": [
{
- "count": 166,
+ "count": 1,
"code": {
"coding": [
{
@@ -466,15 +391,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "225444004",
- "display": "At risk for suicide (finding)"
+ "code": "24079001",
+ "display": "Atopic dermatitis"
}
],
- "text": "At risk for suicide (finding)"
+ "text": "Atopic dermatitis"
},
"population": [
{
- "count": 8,
+ "count": 3,
"code": {
"coding": [
{
@@ -491,15 +416,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "24079001",
- "display": "Atopic dermatitis"
+ "code": "49436004",
+ "display": "Atrial Fibrillation"
}
],
- "text": "Atopic dermatitis"
+ "text": "Atrial Fibrillation"
},
"population": [
{
- "count": 1923,
+ "count": 4,
"code": {
"coding": [
{
@@ -516,15 +441,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "49436004",
- "display": "Atrial Fibrillation"
+ "code": "35999006",
+ "display": "Blighted ovum"
}
],
- "text": "Atrial Fibrillation"
+ "text": "Blighted ovum"
},
"population": [
{
- "count": 3027,
+ "count": 4,
"code": {
"coding": [
{
@@ -541,15 +466,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "287185009",
- "display": "Attempted suicide - cut/stab"
+ "code": "162864005",
+ "display": "Body mass index 30+ - obesity (finding)"
}
],
- "text": "Attempted suicide - cut/stab"
+ "text": "Body mass index 30+ - obesity (finding)"
},
"population": [
{
- "count": 1,
+ "count": 53,
"code": {
"coding": [
{
@@ -566,15 +491,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "87628006",
- "display": "Bacterial infectious disease (disorder)"
+ "code": "408512008",
+ "display": "Body mass index 40+ - severely obese (finding)"
}
],
- "text": "Bacterial infectious disease (disorder)"
+ "text": "Body mass index 40+ - severely obese (finding)"
},
"population": [
{
- "count": 146,
+ "count": 3,
"code": {
"coding": [
{
@@ -591,15 +516,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "6072007",
- "display": "Bleeding from anus"
+ "code": "275272006",
+ "display": "Brain damage - traumatic"
}
],
- "text": "Bleeding from anus"
+ "text": "Brain damage - traumatic"
},
"population": [
{
- "count": 134,
+ "count": 1,
"code": {
"coding": [
{
@@ -616,15 +541,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "35999006",
- "display": "Blighted ovum"
+ "code": "48333001",
+ "display": "Burn injury(morphologic abnormality)"
}
],
- "text": "Blighted ovum"
+ "text": "Burn injury(morphologic abnormality)"
},
"population": [
{
- "count": 1747,
+ "count": 1,
"code": {
"coding": [
{
@@ -641,15 +566,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "60951000119105",
- "display": "Blindness due to type 2 diabetes mellitus (disorder)"
+ "code": "840539006",
+ "display": "COVID-19"
}
],
- "text": "Blindness due to type 2 diabetes mellitus (disorder)"
+ "text": "COVID-19"
},
"population": [
{
- "count": 13,
+ "count": 92,
"code": {
"coding": [
{
@@ -666,15 +591,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "162864005",
- "display": "Body mass index 30+ - obesity (finding)"
+ "code": "92691004",
+ "display": "Carcinoma in situ of prostate (disorder)"
}
],
- "text": "Body mass index 30+ - obesity (finding)"
+ "text": "Carcinoma in situ of prostate (disorder)"
},
"population": [
{
- "count": 39754,
+ "count": 1,
"code": {
"coding": [
{
@@ -691,15 +616,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "408512008",
- "display": "Body mass index 40+ - severely obese (finding)"
+ "code": "410429000",
+ "display": "Cardiac Arrest"
}
],
- "text": "Body mass index 40+ - severely obese (finding)"
+ "text": "Cardiac Arrest"
},
"population": [
{
- "count": 916,
+ "count": 4,
"code": {
"coding": [
{
@@ -716,15 +641,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "275272006",
- "display": "Brain damage - traumatic"
+ "code": "233678006",
+ "display": "Childhood asthma"
}
],
- "text": "Brain damage - traumatic"
+ "text": "Childhood asthma"
},
"population": [
{
- "count": 602,
+ "count": 2,
"code": {
"coding": [
{
@@ -741,15 +666,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "262574004",
- "display": "Bullet wound"
+ "code": "43724002",
+ "display": "Chill (finding)"
}
],
- "text": "Bullet wound"
+ "text": "Chill (finding)"
},
"population": [
{
- "count": 211,
+ "count": 14,
"code": {
"coding": [
{
@@ -766,15 +691,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "840539006",
- "display": "COVID-19"
+ "code": "88805009",
+ "display": "Chronic congestive heart failure (disorder)"
}
],
- "text": "COVID-19"
+ "text": "Chronic congestive heart failure (disorder)"
},
"population": [
{
- "count": 84050,
+ "count": 1,
"code": {
"coding": [
{
@@ -791,15 +716,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "92691004",
- "display": "Carcinoma in situ of prostate (disorder)"
+ "code": "124171000119105",
+ "display": "Chronic intractable migraine without aura"
}
],
- "text": "Carcinoma in situ of prostate (disorder)"
+ "text": "Chronic intractable migraine without aura"
},
"population": [
{
- "count": 880,
+ "count": 1,
"code": {
"coding": [
{
@@ -816,15 +741,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "410429000",
- "display": "Cardiac Arrest"
+ "code": "431855005",
+ "display": "Chronic kidney disease stage 1 (disorder)"
}
],
- "text": "Cardiac Arrest"
+ "text": "Chronic kidney disease stage 1 (disorder)"
},
"population": [
{
- "count": 3139,
+ "count": 4,
"code": {
"coding": [
{
@@ -841,15 +766,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "128188000",
- "display": "Cerebral palsy (disorder)"
+ "code": "431856006",
+ "display": "Chronic kidney disease stage 2 (disorder)"
}
],
- "text": "Cerebral palsy (disorder)"
+ "text": "Chronic kidney disease stage 2 (disorder)"
},
"population": [
{
- "count": 363,
+ "count": 1,
"code": {
"coding": [
{
@@ -866,15 +791,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "373587001",
- "display": "Chiari malformation type II (disorder)"
+ "code": "278860009",
+ "display": "Chronic low back pain (finding)"
}
],
- "text": "Chiari malformation type II (disorder)"
+ "text": "Chronic low back pain (finding)"
},
"population": [
{
- "count": 26,
+ "count": 25,
"code": {
"coding": [
{
@@ -891,15 +816,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "192127007",
- "display": "Child attention deficit disorder"
+ "code": "1121000119107",
+ "display": "Chronic neck pain (finding)"
}
],
- "text": "Child attention deficit disorder"
+ "text": "Chronic neck pain (finding)"
},
"population": [
{
- "count": 1621,
+ "count": 16,
"code": {
"coding": [
{
@@ -916,15 +841,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "233678006",
- "display": "Childhood asthma"
+ "code": "185086009",
+ "display": "Chronic obstructive bronchitis (disorder)"
}
],
- "text": "Childhood asthma"
+ "text": "Chronic obstructive bronchitis (disorder)"
},
"population": [
{
- "count": 2457,
+ "count": 5,
"code": {
"coding": [
{
@@ -941,15 +866,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "43724002",
- "display": "Chill (finding)"
+ "code": "82423001",
+ "display": "Chronic pain"
}
],
- "text": "Chill (finding)"
+ "text": "Chronic pain"
},
"population": [
{
- "count": 9798,
+ "count": 1,
"code": {
"coding": [
{
@@ -966,15 +891,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "235919008",
- "display": "Cholelithiasis"
+ "code": "40055000",
+ "display": "Chronic sinusitis (disorder)"
}
],
- "text": "Cholelithiasis"
+ "text": "Chronic sinusitis (disorder)"
},
"population": [
{
- "count": 221,
+ "count": 38,
"code": {
"coding": [
{
@@ -991,15 +916,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "88805009",
- "display": "Chronic congestive heart failure (disorder)"
+ "code": "359817006",
+ "display": "Closed fracture of hip"
}
],
- "text": "Chronic congestive heart failure (disorder)"
+ "text": "Closed fracture of hip"
},
"population": [
{
- "count": 427,
+ "count": 1,
"code": {
"coding": [
{
@@ -1016,15 +941,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "124171000119105",
- "display": "Chronic intractable migraine without aura"
+ "code": "110030002",
+ "display": "Concussion injury of brain"
}
],
- "text": "Chronic intractable migraine without aura"
+ "text": "Concussion injury of brain"
},
"population": [
{
- "count": 4197,
+ "count": 2,
"code": {
"coding": [
{
@@ -1041,15 +966,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "431855005",
- "display": "Chronic kidney disease stage 1 (disorder)"
+ "code": "62106007",
+ "display": "Concussion with no loss of consciousness"
}
],
- "text": "Chronic kidney disease stage 1 (disorder)"
+ "text": "Concussion with no loss of consciousness"
},
"population": [
{
- "count": 2122,
+ "count": 7,
"code": {
"coding": [
{
@@ -1066,15 +991,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "431856006",
- "display": "Chronic kidney disease stage 2 (disorder)"
+ "code": "53741008",
+ "display": "Coronary Heart Disease"
}
],
- "text": "Chronic kidney disease stage 2 (disorder)"
+ "text": "Coronary Heart Disease"
},
"population": [
{
- "count": 315,
+ "count": 8,
"code": {
"coding": [
{
@@ -1091,15 +1016,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "433144002",
- "display": "Chronic kidney disease stage 3 (disorder)"
+ "code": "49727002",
+ "display": "Cough (finding)"
}
],
- "text": "Chronic kidney disease stage 3 (disorder)"
+ "text": "Cough (finding)"
},
"population": [
{
- "count": 18,
+ "count": 62,
"code": {
"coding": [
{
@@ -1116,15 +1041,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "278860009",
- "display": "Chronic low back pain (finding)"
+ "code": "38822007",
+ "display": "Cystitis"
}
],
- "text": "Chronic low back pain (finding)"
+ "text": "Cystitis"
},
"population": [
{
- "count": 19539,
+ "count": 3,
"code": {
"coding": [
{
@@ -1141,15 +1066,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "1121000119107",
- "display": "Chronic neck pain (finding)"
+ "code": "44054006",
+ "display": "Diabetes"
}
],
- "text": "Chronic neck pain (finding)"
+ "text": "Diabetes"
},
"population": [
{
- "count": 12209,
+ "count": 8,
"code": {
"coding": [
{
@@ -1166,15 +1091,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "185086009",
- "display": "Chronic obstructive bronchitis (disorder)"
+ "code": "127013003",
+ "display": "Diabetic renal disease (disorder)"
}
],
- "text": "Chronic obstructive bronchitis (disorder)"
+ "text": "Diabetic renal disease (disorder)"
},
"population": [
{
- "count": 898,
+ "count": 5,
"code": {
"coding": [
{
@@ -1191,15 +1116,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "82423001",
- "display": "Chronic pain"
+ "code": "267060006",
+ "display": "Diarrhea symptom (finding)"
}
],
- "text": "Chronic pain"
+ "text": "Diarrhea symptom (finding)"
},
"population": [
{
- "count": 4161,
+ "count": 5,
"code": {
"coding": [
{
@@ -1216,15 +1141,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "698754002",
- "display": "Chronic paralysis due to lesion of spinal cord"
+ "code": "55680006",
+ "display": "Drug overdose"
}
],
- "text": "Chronic paralysis due to lesion of spinal cord"
+ "text": "Drug overdose"
},
"population": [
{
- "count": 70,
+ "count": 2,
"code": {
"coding": [
{
@@ -1241,15 +1166,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "40055000",
- "display": "Chronic sinusitis (disorder)"
+ "code": "267036007",
+ "display": "Dyspnea (finding)"
}
],
- "text": "Chronic sinusitis (disorder)"
+ "text": "Dyspnea (finding)"
},
"population": [
{
- "count": 21243,
+ "count": 15,
"code": {
"coding": [
{
@@ -1266,15 +1191,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "359817006",
- "display": "Closed fracture of hip"
+ "code": "301011002",
+ "display": "Escherichia coli urinary tract infection"
}
],
- "text": "Closed fracture of hip"
+ "text": "Escherichia coli urinary tract infection"
},
"population": [
{
- "count": 1068,
+ "count": 3,
"code": {
"coding": [
{
@@ -1291,1965 +1216,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "110030002",
- "display": "Concussion injury of brain"
+ "code": "370247008",
+ "display": "Facial laceration"
}
],
- "text": "Concussion injury of brain"
- },
- "population": [
- {
- "count": 378,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "62564004",
- "display": "Concussion with loss of consciousness"
- }
- ],
- "text": "Concussion with loss of consciousness"
- },
- "population": [
- {
- "count": 1566,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "62106007",
- "display": "Concussion with no loss of consciousness"
- }
- ],
- "text": "Concussion with no loss of consciousness"
- },
- "population": [
- {
- "count": 5795,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "302297009",
- "display": "Congenital deformity of foot (disorder)"
- }
- ],
- "text": "Congenital deformity of foot (disorder)"
- },
- "population": [
- {
- "count": 28,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "14760008",
- "display": "Constipation (finding)"
- }
- ],
- "text": "Constipation (finding)"
- },
- "population": [
- {
- "count": 52,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "40275004",
- "display": "Contact dermatitis"
- }
- ],
- "text": "Contact dermatitis"
- },
- "population": [
- {
- "count": 558,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "53741008",
- "display": "Coronary Heart Disease"
- }
- ],
- "text": "Coronary Heart Disease"
- },
- "population": [
- {
- "count": 3294,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "49727002",
- "display": "Cough (finding)"
- }
- ],
- "text": "Cough (finding)"
- },
- "population": [
- {
- "count": 58834,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "190905008",
- "display": "Cystic Fibrosis"
- }
- ],
- "text": "Cystic Fibrosis"
- },
- "population": [
- {
- "count": 2,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "38822007",
- "display": "Cystitis"
- }
- ],
- "text": "Cystitis"
- },
- "population": [
- {
- "count": 1875,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "44054006",
- "display": "Diabetes"
- }
- ],
- "text": "Diabetes"
- },
- "population": [
- {
- "count": 5802,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "427089005",
- "display": "Diabetes from Cystic Fibrosis"
- }
- ],
- "text": "Diabetes from Cystic Fibrosis"
- },
- "population": [
- {
- "count": 1,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "127013003",
- "display": "Diabetic renal disease (disorder)"
- }
- ],
- "text": "Diabetic renal disease (disorder)"
- },
- "population": [
- {
- "count": 2269,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "422034002",
- "display": "Diabetic retinopathy associated with type II diabetes mellitus (disorder)"
- }
- ],
- "text": "Diabetic retinopathy associated with type II diabetes mellitus (disorder)"
- },
- "population": [
- {
- "count": 1573,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "267060006",
- "display": "Diarrhea symptom (finding)"
- }
- ],
- "text": "Diarrhea symptom (finding)"
- },
- "population": [
- {
- "count": 3466,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "157265008",
- "display": "Dislocation of hip joint (disorder)"
- }
- ],
- "text": "Dislocation of hip joint (disorder)"
- },
- "population": [
- {
- "count": 63,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "62718007",
- "display": "Dribbling from mouth (finding)"
- }
- ],
- "text": "Dribbling from mouth (finding)"
- },
- "population": [
- {
- "count": 100,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "55680006",
- "display": "Drug overdose"
- }
- ],
- "text": "Drug overdose"
- },
- "population": [
- {
- "count": 4260,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "55680006",
- "display": "Drug overdose (disorder)"
- }
- ],
- "text": "Drug overdose (disorder)"
- },
- "population": [
- {
- "count": 2,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "267036007",
- "display": "Dyspnea (finding)"
- }
- ],
- "text": "Dyspnea (finding)"
- },
- "population": [
- {
- "count": 16200,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "15802004",
- "display": "Dystonia (disorder)"
- }
- ],
- "text": "Dystonia (disorder)"
- },
- "population": [
- {
- "count": 58,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "84757009",
- "display": "Epilepsy"
- }
- ],
- "text": "Epilepsy"
- },
- "population": [
- {
- "count": 1334,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "84757009",
- "display": "Epilepsy (disorder)"
- }
- ],
- "text": "Epilepsy (disorder)"
- },
- "population": [
- {
- "count": 180,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "301011002",
- "display": "Escherichia coli urinary tract infection"
- }
- ],
- "text": "Escherichia coli urinary tract infection"
- },
- "population": [
- {
- "count": 2984,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "53827007",
- "display": "Excessive salivation (disorder)"
- }
- ],
- "text": "Excessive salivation (disorder)"
- },
- "population": [
- {
- "count": 152,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "370247008",
- "display": "Facial laceration"
- }
- ],
- "text": "Facial laceration"
- },
- "population": [
- {
- "count": 2826,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "230265002",
- "display": "Familial Alzheimer's disease of early onset (disorder)"
- }
- ],
- "text": "Familial Alzheimer's disease of early onset (disorder)"
- },
- "population": [
- {
- "count": 220,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "84229001",
- "display": "Fatigue (finding)"
- }
- ],
- "text": "Fatigue (finding)"
- },
- "population": [
- {
- "count": 33042,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "707577004",
- "display": "Female Infertility"
- }
- ],
- "text": "Female Infertility"
- },
- "population": [
- {
- "count": 1,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "156073000",
- "display": "Fetus with unknown complication"
- }
- ],
- "text": "Fetus with unknown complication"
- },
- "population": [
- {
- "count": 3554,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "386661006",
- "display": "Fever (finding)"
- }
- ],
- "text": "Fever (finding)"
- },
- "population": [
- {
- "count": 77114,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "203082005",
- "display": "Fibromyalgia (disorder)"
- }
- ],
- "text": "Fibromyalgia (disorder)"
- },
- "population": [
- {
- "count": 2447,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "403190006",
- "display": "First degree burn"
- }
- ],
- "text": "First degree burn"
- },
- "population": [
- {
- "count": 2258,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "16114001",
- "display": "Fracture of ankle"
- }
- ],
- "text": "Fracture of ankle"
- },
- "population": [
- {
- "count": 2812,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "58150001",
- "display": "Fracture of clavicle"
- }
- ],
- "text": "Fracture of clavicle"
- },
- "population": [
- {
- "count": 3070,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "65966004",
- "display": "Fracture of forearm"
- }
- ],
- "text": "Fracture of forearm"
- },
- "population": [
- {
- "count": 3545,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "33737001",
- "display": "Fracture of rib"
- }
- ],
- "text": "Fracture of rib"
- },
- "population": [
- {
- "count": 1364,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "1734006",
- "display": "Fracture of the vertebral column with spinal cord injury"
- }
- ],
- "text": "Fracture of the vertebral column with spinal cord injury"
- },
- "population": [
- {
- "count": 20,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "15724005",
- "display": "Fracture of vertebral column without spinal cord injury"
- }
- ],
- "text": "Fracture of vertebral column without spinal cord injury"
- },
- "population": [
- {
- "count": 129,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "263102004",
- "display": "Fracture subluxation of wrist"
- }
- ],
- "text": "Fracture subluxation of wrist"
- },
- "population": [
- {
- "count": 2837,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "235595009",
- "display": "Gastroesophageal reflux disease (disorder)"
- }
- ],
- "text": "Gastroesophageal reflux disease (disorder)"
- },
- "population": [
- {
- "count": 275,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "90560007",
- "display": "Gout"
- }
- ],
- "text": "Gout"
- },
- "population": [
- {
- "count": 706,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "25064002",
- "display": "Headache (finding)"
- }
- ],
- "text": "Headache (finding)"
- },
- "population": [
- {
- "count": 11909,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "84114007",
- "display": "Heart failure (disorder)"
- }
- ],
- "text": "Heart failure (disorder)"
- },
- "population": [
- {
- "count": 167,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "66857006",
- "display": "Hemoptysis (finding)"
- }
- ],
- "text": "Hemoptysis (finding)"
- },
- "population": [
- {
- "count": 712,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "429280009",
- "display": "History of amputation of foot (situation)"
- }
- ],
- "text": "History of amputation of foot (situation)"
- },
- "population": [
- {
- "count": 24,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "428251008",
- "display": "History of appendectomy"
- }
- ],
- "text": "History of appendectomy"
- },
- "population": [
- {
- "count": 4571,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "429007001",
- "display": "History of cardiac arrest (situation)"
- }
- ],
- "text": "History of cardiac arrest (situation)"
- },
- "population": [
- {
- "count": 3139,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "161622006",
- "display": "History of lower limb amputation (situation)"
- }
- ],
- "text": "History of lower limb amputation (situation)"
- },
- "population": [
- {
- "count": 29,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "399211009",
- "display": "History of myocardial infarction (situation)"
- }
- ],
- "text": "History of myocardial infarction (situation)"
- },
- "population": [
- {
- "count": 215,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "703151001",
- "display": "History of single seizure (situation)"
- }
- ],
- "text": "History of single seizure (situation)"
- },
- "population": [
- {
- "count": 2573,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "230745008",
- "display": "Hydrocephalus (disorder)"
- }
- ],
- "text": "Hydrocephalus (disorder)"
- },
- "population": [
- {
- "count": 26,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "80394007",
- "display": "Hyperglycemia (disorder)"
- }
- ],
- "text": "Hyperglycemia (disorder)"
- },
- "population": [
- {
- "count": 2991,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "55822004",
- "display": "Hyperlipidemia"
- }
- ],
- "text": "Hyperlipidemia"
- },
- "population": [
- {
- "count": 9894,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "59621000",
- "display": "Hypertension"
- }
- ],
- "text": "Hypertension"
- },
- "population": [
- {
- "count": 25134,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "302870006",
- "display": "Hypertriglyceridemia (disorder)"
- }
- ],
- "text": "Hypertriglyceridemia (disorder)"
- },
- "population": [
- {
- "count": 5686,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "389087006",
- "display": "Hypoxemia (disorder)"
- }
- ],
- "text": "Hypoxemia (disorder)"
- },
- "population": [
- {
- "count": 14425,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "83664006",
- "display": "Idiopathic atrophic hypothyroidism"
- }
- ],
- "text": "Idiopathic atrophic hypothyroidism"
- },
- "population": [
- {
- "count": 627,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "196416002",
- "display": "Impacted molars"
- }
- ],
- "text": "Impacted molars"
- },
- "population": [
- {
- "count": 4203,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "11218009",
- "display": "Infection caused by Pseudomonas aeruginosa"
- }
- ],
- "text": "Infection caused by Pseudomonas aeruginosa"
- },
- "population": [
- {
- "count": 1,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "406602003",
- "display": "Infection caused by Staphylococcus aureus"
- }
- ],
- "text": "Infection caused by Staphylococcus aureus"
- },
- "population": [
- {
- "count": 1,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "444470001",
- "display": "Injury of anterior cruciate ligament"
- }
- ],
- "text": "Injury of anterior cruciate ligament"
- },
- "population": [
- {
- "count": 490,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "86175003",
- "display": "Injury of heart (disorder)"
- }
- ],
- "text": "Injury of heart (disorder)"
- },
- "population": [
- {
- "count": 14,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "40095003",
- "display": "Injury of kidney (disorder)"
- }
- ],
- "text": "Injury of kidney (disorder)"
- },
- "population": [
- {
- "count": 11,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "444448004",
- "display": "Injury of medial collateral ligament of knee"
- }
- ],
- "text": "Injury of medial collateral ligament of knee"
- },
- "population": [
- {
- "count": 686,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "307731004",
- "display": "Injury of tendon of the rotator cuff of shoulder"
- }
- ],
- "text": "Injury of tendon of the rotator cuff of shoulder"
- },
- "population": [
- {
- "count": 1462,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "110359009",
- "display": "Intellectual disability (disorder)"
- }
- ],
- "text": "Intellectual disability (disorder)"
- },
- "population": [
- {
- "count": 181,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "57676002",
- "display": "Joint pain (finding)"
- }
- ],
- "text": "Joint pain (finding)"
- },
- "population": [
- {
- "count": 12913,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "414564002",
- "display": "Kyphosis deformity of spine (disorder)"
- }
- ],
- "text": "Kyphosis deformity of spine (disorder)"
- },
- "population": [
- {
- "count": 5,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "284551006",
- "display": "Laceration of foot"
- }
- ],
- "text": "Laceration of foot"
- },
- "population": [
- {
- "count": 3005,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "283371005",
- "display": "Laceration of forearm"
- }
- ],
- "text": "Laceration of forearm"
- },
- "population": [
- {
- "count": 2894,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "284549007",
- "display": "Laceration of hand"
- }
- ],
- "text": "Laceration of hand"
- },
- "population": [
- {
- "count": 2871,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "283385000",
- "display": "Laceration of thigh"
- }
- ],
- "text": "Laceration of thigh"
- },
- "population": [
- {
- "count": 2957,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "201834006",
- "display": "Localized, primary osteoarthritis of the hand"
- }
- ],
- "text": "Localized, primary osteoarthritis of the hand"
- },
- "population": [
- {
- "count": 1952,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "36955009",
- "display": "Loss of taste (finding)"
- }
- ],
- "text": "Loss of taste (finding)"
- },
- "population": [
- {
- "count": 43648,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "200936003",
- "display": "Lupus erythematosus"
- }
- ],
- "text": "Lupus erythematosus"
- },
- "population": [
- {
- "count": 13,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "97331000119101",
- "display": "Macular edema and retinopathy due to type 2 diabetes mellitus (disorder)"
- }
- ],
- "text": "Macular edema and retinopathy due to type 2 diabetes mellitus (disorder)"
- },
- "population": [
- {
- "count": 350,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "370143000",
- "display": "Major depression disorder"
- }
- ],
- "text": "Major depression disorder"
- },
- "population": [
- {
- "count": 454,
- "code": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/measure-population",
- "code": "initial-population"
- }
- ]
- }
- }
- ]
- },
- {
- "value": {
- "coding": [
- {
- "system": "http://snomed.info/sct",
- "code": "36923009",
- "display": "Major depression, single episode"
- }
- ],
- "text": "Major depression, single episode"
+ "text": "Facial laceration"
},
"population": [
{
- "count": 47,
+ "count": 4,
"code": {
"coding": [
{
@@ -3266,15 +1241,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "427089005",
- "display": "Male Infertility"
+ "code": "84229001",
+ "display": "Fatigue (finding)"
}
],
- "text": "Male Infertility"
+ "text": "Fatigue (finding)"
},
"population": [
{
- "count": 1,
+ "count": 40,
"code": {
"coding": [
{
@@ -3291,15 +1266,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "254837009",
- "display": "Malignant neoplasm of breast (disorder)"
+ "code": "156073000",
+ "display": "Fetus with unknown complication"
}
],
- "text": "Malignant neoplasm of breast (disorder)"
+ "text": "Fetus with unknown complication"
},
"population": [
{
- "count": 1541,
+ "count": 4,
"code": {
"coding": [
{
@@ -3316,15 +1291,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "363406005",
- "display": "Malignant tumor of colon"
+ "code": "386661006",
+ "display": "Fever (finding)"
}
],
- "text": "Malignant tumor of colon"
+ "text": "Fever (finding)"
},
"population": [
{
- "count": 367,
+ "count": 87,
"code": {
"coding": [
{
@@ -3341,15 +1316,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "171131006",
- "display": "Meningocele (disorder)"
+ "code": "203082005",
+ "display": "Fibromyalgia (disorder)"
}
],
- "text": "Meningocele (disorder)"
+ "text": "Fibromyalgia (disorder)"
},
"population": [
{
- "count": 10,
+ "count": 1,
"code": {
"coding": [
{
@@ -3366,15 +1341,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "414667000",
- "display": "Meningomyelocele (disorder)"
+ "code": "403190006",
+ "display": "First degree burn"
}
],
- "text": "Meningomyelocele (disorder)"
+ "text": "First degree burn"
},
"population": [
{
- "count": 28,
+ "count": 1,
"code": {
"coding": [
{
@@ -3391,15 +1366,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "237602007",
- "display": "Metabolic syndrome X (disorder)"
+ "code": "16114001",
+ "display": "Fracture of ankle"
}
],
- "text": "Metabolic syndrome X (disorder)"
+ "text": "Fracture of ankle"
},
"population": [
{
- "count": 5576,
+ "count": 6,
"code": {
"coding": [
{
@@ -3416,15 +1391,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "314994000",
- "display": "Metastasis from malignant tumor of prostate (disorder)"
+ "code": "58150001",
+ "display": "Fracture of clavicle"
}
],
- "text": "Metastasis from malignant tumor of prostate (disorder)"
+ "text": "Fracture of clavicle"
},
"population": [
{
- "count": 18,
+ "count": 3,
"code": {
"coding": [
{
@@ -3441,15 +1416,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "90781000119102",
- "display": "Microalbuminuria due to type 2 diabetes mellitus (disorder)"
+ "code": "65966004",
+ "display": "Fracture of forearm"
}
],
- "text": "Microalbuminuria due to type 2 diabetes mellitus (disorder)"
+ "text": "Fracture of forearm"
},
"population": [
{
- "count": 331,
+ "count": 4,
"code": {
"coding": [
{
@@ -3466,15 +1441,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "19169002",
- "display": "Miscarriage in first trimester"
+ "code": "33737001",
+ "display": "Fracture of rib"
}
],
- "text": "Miscarriage in first trimester"
+ "text": "Fracture of rib"
},
"population": [
{
- "count": 17252,
+ "count": 3,
"code": {
"coding": [
{
@@ -3491,15 +1466,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "68962001",
- "display": "Muscle pain (finding)"
+ "code": "263102004",
+ "display": "Fracture subluxation of wrist"
}
],
- "text": "Muscle pain (finding)"
+ "text": "Fracture subluxation of wrist"
},
"population": [
{
- "count": 12913,
+ "count": 4,
"code": {
"coding": [
{
@@ -3516,15 +1491,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "22298006",
- "display": "Myocardial Infarction"
+ "code": "25064002",
+ "display": "Headache (finding)"
}
],
- "text": "Myocardial Infarction"
+ "text": "Headache (finding)"
},
"population": [
{
- "count": 215,
+ "count": 16,
"code": {
"coding": [
{
@@ -3541,15 +1516,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "68235000",
- "display": "Nasal congestion (finding)"
+ "code": "84114007",
+ "display": "Heart failure (disorder)"
}
],
- "text": "Nasal congestion (finding)"
+ "text": "Heart failure (disorder)"
},
"population": [
{
- "count": 4125,
+ "count": 1,
"code": {
"coding": [
{
@@ -3566,15 +1541,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "422587007",
- "display": "Nausea (finding)"
+ "code": "428251008",
+ "display": "History of appendectomy"
}
],
- "text": "Nausea (finding)"
+ "text": "History of appendectomy"
},
"population": [
{
- "count": 4415,
+ "count": 2,
"code": {
"coding": [
{
@@ -3591,15 +1566,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "126906006",
- "display": "Neoplasm of prostate"
+ "code": "429007001",
+ "display": "History of cardiac arrest (situation)"
}
],
- "text": "Neoplasm of prostate"
+ "text": "History of cardiac arrest (situation)"
},
"population": [
{
- "count": 892,
+ "count": 4,
"code": {
"coding": [
{
@@ -3616,15 +1591,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "368581000119106",
- "display": "Neuropathy due to type 2 diabetes mellitus (disorder)"
+ "code": "703151001",
+ "display": "History of single seizure (situation)"
}
],
- "text": "Neuropathy due to type 2 diabetes mellitus (disorder)"
+ "text": "History of single seizure (situation)"
},
"population": [
{
- "count": 2074,
+ "count": 2,
"code": {
"coding": [
{
@@ -3641,15 +1616,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "47200007",
- "display": "Non-low risk pregnancy"
+ "code": "80394007",
+ "display": "Hyperglycemia (disorder)"
}
],
- "text": "Non-low risk pregnancy"
+ "text": "Hyperglycemia (disorder)"
},
"population": [
{
- "count": 10,
+ "count": 4,
"code": {
"coding": [
{
@@ -3666,15 +1641,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "424132000",
- "display": "Non-small cell carcinoma of lung, TNM stage 1 (disorder)"
+ "code": "55822004",
+ "display": "Hyperlipidemia"
}
],
- "text": "Non-small cell carcinoma of lung, TNM stage 1 (disorder)"
+ "text": "Hyperlipidemia"
},
"population": [
{
- "count": 130,
+ "count": 12,
"code": {
"coding": [
{
@@ -3691,15 +1666,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "254637007",
- "display": "Non-small cell lung cancer (disorder)"
+ "code": "59621000",
+ "display": "Hypertension"
}
],
- "text": "Non-small cell lung cancer (disorder)"
+ "text": "Hypertension"
},
"population": [
{
- "count": 130,
+ "count": 30,
"code": {
"coding": [
{
@@ -3716,15 +1691,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "1551000119108",
- "display": "Nonproliferative diabetic retinopathy due to type 2 diabetes mellitus (disorder)"
+ "code": "302870006",
+ "display": "Hypertriglyceridemia (disorder)"
}
],
- "text": "Nonproliferative diabetic retinopathy due to type 2 diabetes mellitus (disorder)"
+ "text": "Hypertriglyceridemia (disorder)"
},
"population": [
{
- "count": 889,
+ "count": 8,
"code": {
"coding": [
{
@@ -3741,15 +1716,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "72892002",
- "display": "Normal pregnancy"
+ "code": "389087006",
+ "display": "Hypoxemia (disorder)"
}
],
- "text": "Normal pregnancy"
+ "text": "Hypoxemia (disorder)"
},
"population": [
{
- "count": 46384,
+ "count": 24,
"code": {
"coding": [
{
@@ -3766,15 +1741,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "5602001",
- "display": "Opioid abuse (disorder)"
+ "code": "196416002",
+ "display": "Impacted molars"
}
],
- "text": "Opioid abuse (disorder)"
+ "text": "Impacted molars"
},
"population": [
{
- "count": 828,
+ "count": 3,
"code": {
"coding": [
{
@@ -3791,15 +1766,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "239872002",
- "display": "Osteoarthritis of hip"
+ "code": "444470001",
+ "display": "Injury of anterior cruciate ligament"
}
],
- "text": "Osteoarthritis of hip"
+ "text": "Injury of anterior cruciate ligament"
},
"population": [
{
- "count": 1727,
+ "count": 2,
"code": {
"coding": [
{
@@ -3816,15 +1791,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "239873007",
- "display": "Osteoarthritis of knee"
+ "code": "86175003",
+ "display": "Injury of heart (disorder)"
}
],
- "text": "Osteoarthritis of knee"
+ "text": "Injury of heart (disorder)"
},
"population": [
{
- "count": 4713,
+ "count": 2,
"code": {
"coding": [
{
@@ -3841,15 +1816,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "64859006",
- "display": "Osteoporosis (disorder)"
+ "code": "40095003",
+ "display": "Injury of kidney (disorder)"
}
],
- "text": "Osteoporosis (disorder)"
+ "text": "Injury of kidney (disorder)"
},
"population": [
{
- "count": 4430,
+ "count": 2,
"code": {
"coding": [
{
@@ -3866,15 +1841,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "65363002",
- "display": "Otitis media"
+ "code": "444448004",
+ "display": "Injury of medial collateral ligament of knee"
}
],
- "text": "Otitis media"
+ "text": "Injury of medial collateral ligament of knee"
},
"population": [
{
- "count": 16120,
+ "count": 2,
"code": {
"coding": [
{
@@ -3891,15 +1866,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "109838007",
- "display": "Overlapping malignant neoplasm of colon"
+ "code": "307731004",
+ "display": "Injury of tendon of the rotator cuff of shoulder"
}
],
- "text": "Overlapping malignant neoplasm of colon"
+ "text": "Injury of tendon of the rotator cuff of shoulder"
},
"population": [
{
- "count": 502,
+ "count": 1,
"code": {
"coding": [
{
@@ -3916,15 +1891,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "22253000",
- "display": "Pain (finding)"
+ "code": "57676002",
+ "display": "Joint pain (finding)"
}
],
- "text": "Pain (finding)"
+ "text": "Joint pain (finding)"
},
"population": [
{
- "count": 109,
+ "count": 15,
"code": {
"coding": [
{
@@ -3941,15 +1916,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "246677007",
- "display": "Passive conjunctival congestion (finding)"
+ "code": "284551006",
+ "display": "Laceration of foot"
}
],
- "text": "Passive conjunctival congestion (finding)"
+ "text": "Laceration of foot"
},
"population": [
{
- "count": 726,
+ "count": 6,
"code": {
"coding": [
{
@@ -3966,15 +1941,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "443165006",
- "display": "Pathological fracture due to osteoporosis (disorder)"
+ "code": "283371005",
+ "display": "Laceration of forearm"
}
],
- "text": "Pathological fracture due to osteoporosis (disorder)"
+ "text": "Laceration of forearm"
},
"population": [
{
- "count": 1689,
+ "count": 5,
"code": {
"coding": [
{
@@ -3991,15 +1966,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "446096008",
- "display": "Perennial allergic rhinitis"
+ "code": "284549007",
+ "display": "Laceration of hand"
}
],
- "text": "Perennial allergic rhinitis"
+ "text": "Laceration of hand"
},
"population": [
{
- "count": 2928,
+ "count": 1,
"code": {
"coding": [
{
@@ -4016,15 +1991,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "232353008",
- "display": "Perennial allergic rhinitis with seasonal variation"
+ "code": "283385000",
+ "display": "Laceration of thigh"
}
],
- "text": "Perennial allergic rhinitis with seasonal variation"
+ "text": "Laceration of thigh"
},
"population": [
{
- "count": 3088,
+ "count": 2,
"code": {
"coding": [
{
@@ -4041,11 +2016,11 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "233604007",
- "display": "Pneumonia"
+ "code": "201834006",
+ "display": "Localized, primary osteoarthritis of the hand"
}
],
- "text": "Pneumonia"
+ "text": "Localized, primary osteoarthritis of the hand"
},
"population": [
{
@@ -4066,15 +2041,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "233604007",
- "display": "Pneumonia (disorder)"
+ "code": "36955009",
+ "display": "Loss of taste (finding)"
}
],
- "text": "Pneumonia (disorder)"
+ "text": "Loss of taste (finding)"
},
"population": [
{
- "count": 14585,
+ "count": 52,
"code": {
"coding": [
{
@@ -4091,15 +2066,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "68496003",
- "display": "Polyp of colon"
+ "code": "370143000",
+ "display": "Major depression disorder"
}
],
- "text": "Polyp of colon"
+ "text": "Major depression disorder"
},
"population": [
{
- "count": 7422,
+ "count": 1,
"code": {
"coding": [
{
@@ -4116,15 +2091,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "398152000",
- "display": "Poor muscle tone (finding)"
+ "code": "254837009",
+ "display": "Malignant neoplasm of breast (disorder)"
}
],
- "text": "Poor muscle tone (finding)"
+ "text": "Malignant neoplasm of breast (disorder)"
},
"population": [
{
- "count": 162,
+ "count": 2,
"code": {
"coding": [
{
@@ -4141,15 +2116,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "47505003",
- "display": "Posttraumatic stress disorder"
+ "code": "237602007",
+ "display": "Metabolic syndrome X (disorder)"
}
],
- "text": "Posttraumatic stress disorder"
+ "text": "Metabolic syndrome X (disorder)"
},
"population": [
{
- "count": 69,
+ "count": 7,
"code": {
"coding": [
{
@@ -4166,15 +2141,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "15777000",
- "display": "Prediabetes"
+ "code": "90781000119102",
+ "display": "Microalbuminuria due to type 2 diabetes mellitus (disorder)"
}
],
- "text": "Prediabetes"
+ "text": "Microalbuminuria due to type 2 diabetes mellitus (disorder)"
},
"population": [
{
- "count": 28942,
+ "count": 1,
"code": {
"coding": [
{
@@ -4191,15 +2166,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "398254007",
- "display": "Preeclampsia"
+ "code": "19169002",
+ "display": "Miscarriage in first trimester"
}
],
- "text": "Preeclampsia"
+ "text": "Miscarriage in first trimester"
},
"population": [
{
- "count": 2198,
+ "count": 27,
"code": {
"coding": [
{
@@ -4216,15 +2191,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "399912005",
- "display": "Pressure ulcer (disorder)"
+ "code": "68962001",
+ "display": "Muscle pain (finding)"
}
],
- "text": "Pressure ulcer (disorder)"
+ "text": "Muscle pain (finding)"
},
"population": [
{
- "count": 26,
+ "count": 15,
"code": {
"coding": [
{
@@ -4241,15 +2216,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "95417003",
- "display": "Primary fibromyalgia syndrome"
+ "code": "68235000",
+ "display": "Nasal congestion (finding)"
}
],
- "text": "Primary fibromyalgia syndrome"
+ "text": "Nasal congestion (finding)"
},
"population": [
{
- "count": 324,
+ "count": 2,
"code": {
"coding": [
{
@@ -4266,15 +2241,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "93761005",
- "display": "Primary malignant neoplasm of colon"
+ "code": "422587007",
+ "display": "Nausea (finding)"
}
],
- "text": "Primary malignant neoplasm of colon"
+ "text": "Nausea (finding)"
},
"population": [
{
- "count": 247,
+ "count": 7,
"code": {
"coding": [
{
@@ -4291,15 +2266,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "67811000119102",
- "display": "Primary small cell malignant neoplasm of lung, TNM stage 1 (disorder)"
+ "code": "126906006",
+ "display": "Neoplasm of prostate"
}
],
- "text": "Primary small cell malignant neoplasm of lung, TNM stage 1 (disorder)"
+ "text": "Neoplasm of prostate"
},
"population": [
{
- "count": 21,
+ "count": 1,
"code": {
"coding": [
{
@@ -4316,15 +2291,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "1501000119109",
- "display": "Proliferative diabetic retinopathy due to type II diabetes mellitus (disorder)"
+ "code": "368581000119106",
+ "display": "Neuropathy due to type 2 diabetes mellitus (disorder)"
}
],
- "text": "Proliferative diabetic retinopathy due to type II diabetes mellitus (disorder)"
+ "text": "Neuropathy due to type 2 diabetes mellitus (disorder)"
},
"population": [
{
- "count": 263,
+ "count": 3,
"code": {
"coding": [
{
@@ -4341,15 +2316,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "157141000119108",
- "display": "Proteinuria due to type 2 diabetes mellitus (disorder)"
+ "code": "424132000",
+ "display": "Non-small cell carcinoma of lung, TNM stage 1 (disorder)"
}
],
- "text": "Proteinuria due to type 2 diabetes mellitus (disorder)"
+ "text": "Non-small cell carcinoma of lung, TNM stage 1 (disorder)"
},
"population": [
{
- "count": 18,
+ "count": 2,
"code": {
"coding": [
{
@@ -4366,15 +2341,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "236077008",
- "display": "Protracted diarrhea"
+ "code": "254637007",
+ "display": "Non-small cell lung cancer (disorder)"
}
],
- "text": "Protracted diarrhea"
+ "text": "Non-small cell lung cancer (disorder)"
},
"population": [
{
- "count": 134,
+ "count": 2,
"code": {
"coding": [
{
@@ -4391,15 +2366,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "87433001",
- "display": "Pulmonary emphysema (disorder)"
+ "code": "72892002",
+ "display": "Normal pregnancy"
}
],
- "text": "Pulmonary emphysema (disorder)"
+ "text": "Normal pregnancy"
},
"population": [
{
- "count": 1014,
+ "count": 31,
"code": {
"coding": [
{
@@ -4416,15 +2391,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "45816000",
- "display": "Pyelonephritis"
+ "code": "5602001",
+ "display": "Opioid abuse (disorder)"
}
],
- "text": "Pyelonephritis"
+ "text": "Opioid abuse (disorder)"
},
"population": [
{
- "count": 49,
+ "count": 1,
"code": {
"coding": [
{
@@ -4441,15 +2416,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "713197008",
- "display": "Recurrent rectal polyp"
+ "code": "239872002",
+ "display": "Osteoarthritis of hip"
}
],
- "text": "Recurrent rectal polyp"
+ "text": "Osteoarthritis of hip"
},
"population": [
{
- "count": 1772,
+ "count": 3,
"code": {
"coding": [
{
@@ -4466,15 +2441,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "197927001",
- "display": "Recurrent urinary tract infection"
+ "code": "239873007",
+ "display": "Osteoarthritis of knee"
}
],
- "text": "Recurrent urinary tract infection"
+ "text": "Osteoarthritis of knee"
},
"population": [
{
- "count": 859,
+ "count": 4,
"code": {
"coding": [
{
@@ -4491,15 +2466,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "271825005",
- "display": "Respiratory distress (finding)"
+ "code": "64859006",
+ "display": "Osteoporosis (disorder)"
}
],
- "text": "Respiratory distress (finding)"
+ "text": "Osteoporosis (disorder)"
},
"population": [
{
- "count": 14425,
+ "count": 6,
"code": {
"coding": [
{
@@ -4516,15 +2491,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "267064002",
- "display": "Retention of urine (disorder)"
+ "code": "65363002",
+ "display": "Otitis media"
}
],
- "text": "Retention of urine (disorder)"
+ "text": "Otitis media"
},
"population": [
{
- "count": 32,
+ "count": 21,
"code": {
"coding": [
{
@@ -4541,15 +2516,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "69896004",
- "display": "Rheumatoid arthritis"
+ "code": "109838007",
+ "display": "Overlapping malignant neoplasm of colon"
}
],
- "text": "Rheumatoid arthritis"
+ "text": "Overlapping malignant neoplasm of colon"
},
"population": [
{
- "count": 244,
+ "count": 1,
"code": {
"coding": [
{
@@ -4566,15 +2541,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "47693006",
- "display": "Rupture of appendix"
+ "code": "443165006",
+ "display": "Pathological fracture due to osteoporosis (disorder)"
}
],
- "text": "Rupture of appendix"
+ "text": "Pathological fracture due to osteoporosis (disorder)"
},
"population": [
{
- "count": 1408,
+ "count": 1,
"code": {
"coding": [
{
@@ -4591,15 +2566,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "30832001",
- "display": "Rupture of patellar tendon"
+ "code": "446096008",
+ "display": "Perennial allergic rhinitis"
}
],
- "text": "Rupture of patellar tendon"
+ "text": "Perennial allergic rhinitis"
},
"population": [
{
- "count": 564,
+ "count": 3,
"code": {
"coding": [
{
@@ -4616,15 +2591,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "298382003",
- "display": "Scoliosis deformity of spine (disorder)"
+ "code": "232353008",
+ "display": "Perennial allergic rhinitis with seasonal variation"
}
],
- "text": "Scoliosis deformity of spine (disorder)"
+ "text": "Perennial allergic rhinitis with seasonal variation"
},
"population": [
{
- "count": 19,
+ "count": 4,
"code": {
"coding": [
{
@@ -4641,15 +2616,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "367498001",
- "display": "Seasonal allergic rhinitis"
+ "code": "233604007",
+ "display": "Pneumonia"
}
],
- "text": "Seasonal allergic rhinitis"
+ "text": "Pneumonia"
},
"population": [
{
- "count": 1489,
+ "count": 1,
"code": {
"coding": [
{
@@ -4666,15 +2641,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "403191005",
- "display": "Second degree burn"
+ "code": "233604007",
+ "display": "Pneumonia (disorder)"
}
],
- "text": "Second degree burn"
+ "text": "Pneumonia (disorder)"
},
"population": [
{
- "count": 1471,
+ "count": 24,
"code": {
"coding": [
{
@@ -4691,15 +2666,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "94260004",
- "display": "Secondary malignant neoplasm of colon"
+ "code": "68496003",
+ "display": "Polyp of colon"
}
],
- "text": "Secondary malignant neoplasm of colon"
+ "text": "Polyp of colon"
},
"population": [
{
- "count": 23,
+ "count": 5,
"code": {
"coding": [
{
@@ -4716,15 +2691,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "128613002",
- "display": "Seizure disorder"
+ "code": "15777000",
+ "display": "Prediabetes"
}
],
- "text": "Seizure disorder"
+ "text": "Prediabetes"
},
"population": [
{
- "count": 2573,
+ "count": 39,
"code": {
"coding": [
{
@@ -4741,15 +2716,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "91302008",
- "display": "Sepsis (disorder)"
+ "code": "398254007",
+ "display": "Preeclampsia"
}
],
- "text": "Sepsis (disorder)"
+ "text": "Preeclampsia"
},
"population": [
{
- "count": 2733,
+ "count": 2,
"code": {
"coding": [
{
@@ -4766,11 +2741,11 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "448813005",
- "display": "Sepsis caused by Pseudomonas (disorder)"
+ "code": "95417003",
+ "display": "Primary fibromyalgia syndrome"
}
],
- "text": "Sepsis caused by Pseudomonas (disorder)"
+ "text": "Primary fibromyalgia syndrome"
},
"population": [
{
@@ -4791,11 +2766,11 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "448417001",
- "display": "Sepsis caused by Staphylococcus aureus"
+ "code": "67811000119102",
+ "display": "Primary small cell malignant neoplasm of lung, TNM stage 1 (disorder)"
}
],
- "text": "Sepsis caused by Staphylococcus aureus"
+ "text": "Primary small cell malignant neoplasm of lung, TNM stage 1 (disorder)"
},
"population": [
{
@@ -4816,15 +2791,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "770349000",
- "display": "Sepsis caused by virus (disorder)"
+ "code": "87433001",
+ "display": "Pulmonary emphysema (disorder)"
}
],
- "text": "Sepsis caused by virus (disorder)"
+ "text": "Pulmonary emphysema (disorder)"
},
"population": [
{
- "count": 3385,
+ "count": 3,
"code": {
"coding": [
{
@@ -4841,15 +2816,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "76571007",
- "display": "Septic shock (disorder)"
+ "code": "713197008",
+ "display": "Recurrent rectal polyp"
}
],
- "text": "Septic shock (disorder)"
+ "text": "Recurrent rectal polyp"
},
"population": [
{
- "count": 463,
+ "count": 2,
"code": {
"coding": [
{
@@ -4866,15 +2841,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "27942005",
- "display": "Shock (disorder)"
+ "code": "197927001",
+ "display": "Recurrent urinary tract infection"
}
],
- "text": "Shock (disorder)"
+ "text": "Recurrent urinary tract infection"
},
"population": [
{
- "count": 7,
+ "count": 2,
"code": {
"coding": [
{
@@ -4891,15 +2866,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "36971009",
- "display": "Sinusitis (disorder)"
+ "code": "271825005",
+ "display": "Respiratory distress (finding)"
}
],
- "text": "Sinusitis (disorder)"
+ "text": "Respiratory distress (finding)"
},
"population": [
{
- "count": 5917,
+ "count": 24,
"code": {
"coding": [
{
@@ -4916,15 +2891,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "254632001",
- "display": "Small cell carcinoma of lung (disorder)"
+ "code": "69896004",
+ "display": "Rheumatoid arthritis"
}
],
- "text": "Small cell carcinoma of lung (disorder)"
+ "text": "Rheumatoid arthritis"
},
"population": [
{
- "count": 21,
+ "count": 1,
"code": {
"coding": [
{
@@ -4941,15 +2916,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "449868002",
- "display": "Smokes tobacco daily"
+ "code": "367498001",
+ "display": "Seasonal allergic rhinitis"
}
],
- "text": "Smokes tobacco daily"
+ "text": "Seasonal allergic rhinitis"
},
"population": [
{
- "count": 580,
+ "count": 3,
"code": {
"coding": [
{
@@ -4966,15 +2941,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "267102003",
- "display": "Sore throat symptom (finding)"
+ "code": "403191005",
+ "display": "Second degree burn"
}
],
- "text": "Sore throat symptom (finding)"
+ "text": "Second degree burn"
},
"population": [
{
- "count": 12063,
+ "count": 1,
"code": {
"coding": [
{
@@ -4991,15 +2966,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "221360009",
- "display": "Spasticity (finding)"
+ "code": "128613002",
+ "display": "Seizure disorder"
}
],
- "text": "Spasticity (finding)"
+ "text": "Seizure disorder"
},
"population": [
{
- "count": 279,
+ "count": 2,
"code": {
"coding": [
{
@@ -5016,15 +2991,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "76916001",
- "display": "Spina bifida occulta (disorder)"
+ "code": "91302008",
+ "display": "Sepsis (disorder)"
}
],
- "text": "Spina bifida occulta (disorder)"
+ "text": "Sepsis (disorder)"
},
"population": [
{
- "count": 21,
+ "count": 6,
"code": {
"coding": [
{
@@ -5041,15 +3016,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "44465007",
- "display": "Sprain of ankle"
+ "code": "770349000",
+ "display": "Sepsis caused by virus (disorder)"
}
],
- "text": "Sprain of ankle"
+ "text": "Sepsis caused by virus (disorder)"
},
"population": [
{
- "count": 10389,
+ "count": 8,
"code": {
"coding": [
{
@@ -5066,15 +3041,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "70704007",
- "display": "Sprain of wrist"
+ "code": "76571007",
+ "display": "Septic shock (disorder)"
}
],
- "text": "Sprain of wrist"
+ "text": "Septic shock (disorder)"
},
"population": [
{
- "count": 4546,
+ "count": 3,
"code": {
"coding": [
{
@@ -5091,15 +3066,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "248595008",
- "display": "Sputum finding (finding)"
+ "code": "36971009",
+ "display": "Sinusitis (disorder)"
}
],
- "text": "Sputum finding (finding)"
+ "text": "Sinusitis (disorder)"
},
"population": [
{
- "count": 29314,
+ "count": 10,
"code": {
"coding": [
{
@@ -5116,15 +3091,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "43878008",
- "display": "Streptococcal sore throat (disorder)"
+ "code": "254632001",
+ "display": "Small cell carcinoma of lung (disorder)"
}
],
- "text": "Streptococcal sore throat (disorder)"
+ "text": "Small cell carcinoma of lung (disorder)"
},
"population": [
{
- "count": 14475,
+ "count": 1,
"code": {
"coding": [
{
@@ -5141,15 +3116,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "230690007",
- "display": "Stroke"
+ "code": "449868002",
+ "display": "Smokes tobacco daily"
}
],
- "text": "Stroke"
+ "text": "Smokes tobacco daily"
},
"population": [
{
- "count": 3743,
+ "count": 1,
"code": {
"coding": [
{
@@ -5166,15 +3141,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "86849004",
- "display": "Suicidal deliberate poisoning"
+ "code": "267102003",
+ "display": "Sore throat symptom (finding)"
}
],
- "text": "Suicidal deliberate poisoning"
+ "text": "Sore throat symptom (finding)"
},
"population": [
{
- "count": 6,
+ "count": 15,
"code": {
"coding": [
{
@@ -5191,15 +3166,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "840544004",
- "display": "Suspected COVID-19"
+ "code": "44465007",
+ "display": "Sprain of ankle"
}
],
- "text": "Suspected COVID-19"
+ "text": "Sprain of ankle"
},
"population": [
{
- "count": 86890,
+ "count": 6,
"code": {
"coding": [
{
@@ -5216,15 +3191,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "162573006",
- "display": "Suspected lung cancer (situation)"
+ "code": "70704007",
+ "display": "Sprain of wrist"
}
],
- "text": "Suspected lung cancer (situation)"
+ "text": "Sprain of wrist"
},
"population": [
{
- "count": 152,
+ "count": 5,
"code": {
"coding": [
{
@@ -5241,15 +3216,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "239720000",
- "display": "Tear of meniscus of knee"
+ "code": "248595008",
+ "display": "Sputum finding (finding)"
}
],
- "text": "Tear of meniscus of knee"
+ "text": "Sputum finding (finding)"
},
"population": [
{
- "count": 478,
+ "count": 33,
"code": {
"coding": [
{
@@ -5266,15 +3241,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "403192003",
- "display": "Third degree burn"
+ "code": "43878008",
+ "display": "Streptococcal sore throat (disorder)"
}
],
- "text": "Third degree burn"
+ "text": "Streptococcal sore throat (disorder)"
},
"population": [
{
- "count": 151,
+ "count": 15,
"code": {
"coding": [
{
@@ -5291,15 +3266,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "427419006",
- "display": "Transformed migraine (disorder)"
+ "code": "230690007",
+ "display": "Stroke"
}
],
- "text": "Transformed migraine (disorder)"
+ "text": "Stroke"
},
"population": [
{
- "count": 840,
+ "count": 9,
"code": {
"coding": [
{
@@ -5316,15 +3291,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "127295002",
- "display": "Traumatic brain injury (disorder)"
+ "code": "840544004",
+ "display": "Suspected COVID-19"
}
],
- "text": "Traumatic brain injury (disorder)"
+ "text": "Suspected COVID-19"
},
"population": [
{
- "count": 28,
+ "count": 92,
"code": {
"coding": [
{
@@ -5341,15 +3316,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "79586000",
- "display": "Tubal pregnancy"
+ "code": "162573006",
+ "display": "Suspected lung cancer (situation)"
}
],
- "text": "Tubal pregnancy"
+ "text": "Suspected lung cancer (situation)"
},
"population": [
{
- "count": 2190,
+ "count": 3,
"code": {
"coding": [
{
@@ -5366,15 +3341,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "288959006",
- "display": "Unable to swallow saliva (finding)"
+ "code": "239720000",
+ "display": "Tear of meniscus of knee"
}
],
- "text": "Unable to swallow saliva (finding)"
+ "text": "Tear of meniscus of knee"
},
"population": [
{
- "count": 80,
+ "count": 2,
"code": {
"coding": [
{
@@ -5391,15 +3366,15 @@
"coding": [
{
"system": "http://snomed.info/sct",
- "code": "68566005",
- "display": "Urinary tract infectious disease (disorder)"
+ "code": "79586000",
+ "display": "Tubal pregnancy"
}
],
- "text": "Urinary tract infectious disease (disorder)"
+ "text": "Tubal pregnancy"
},
"population": [
{
- "count": 28,
+ "count": 8,
"code": {
"coding": [
{
@@ -5424,7 +3399,7 @@
},
"population": [
{
- "count": 106789,
+ "count": 125,
"code": {
"coding": [
{
@@ -5449,7 +3424,7 @@
},
"population": [
{
- "count": 4415,
+ "count": 7,
"code": {
"coding": [
{
@@ -5474,7 +3449,7 @@
},
"population": [
{
- "count": 16200,
+ "count": 15,
"code": {
"coding": [
{
@@ -5499,7 +3474,7 @@
},
"population": [
{
- "count": 4667,
+ "count": 7,
"code": {
"coding": [
{
@@ -5522,4 +3497,4 @@
}
],
"resourceType": "MeasureReport"
-}
+}
\ No newline at end of file
diff --git a/docs/synthea/condition-tree.jq b/docs/synthea/condition-tree.jq
index 84fb08ae..1649dfbb 100644
--- a/docs/synthea/condition-tree.jq
+++ b/docs/synthea/condition-tree.jq
@@ -5,6 +5,6 @@
"system": ""
},
"children": [
- [ .group[0].stratifier[0].stratum[].value.coding[0] ] | unique_by(.code) [] | {"termCode": .}
+ [ .group[0].stratifier[0].stratum[].value.coding[0] ] | unique_by(.code) [] | {"termCode": ., "context": { "code": "Diagnose", "system": "fdpg.mii.cds", "version": "1.0.0", "display": "Diagnose"}}
]
}
diff --git a/docs/synthea/condition-tree.json b/docs/synthea/condition-tree.json
index 1ec3aaf6..a3acc394 100644
--- a/docs/synthea/condition-tree.json
+++ b/docs/synthea/condition-tree.json
@@ -10,6 +10,12 @@
"system": "http://snomed.info/sct",
"code": "10509002",
"display": "Acute bronchitis (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -17,6 +23,12 @@
"system": "http://snomed.info/sct",
"code": "109838007",
"display": "Overlapping malignant neoplasm of colon"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -24,13 +36,12 @@
"system": "http://snomed.info/sct",
"code": "110030002",
"display": "Concussion injury of brain"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "110359009",
- "display": "Intellectual disability (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -38,13 +49,12 @@
"system": "http://snomed.info/sct",
"code": "1121000119107",
"display": "Chronic neck pain (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "11218009",
- "display": "Infection caused by Pseudomonas aeruginosa"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -52,6 +62,12 @@
"system": "http://snomed.info/sct",
"code": "124171000119105",
"display": "Chronic intractable migraine without aura"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -59,6 +75,12 @@
"system": "http://snomed.info/sct",
"code": "126906006",
"display": "Neoplasm of prostate"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -66,20 +88,12 @@
"system": "http://snomed.info/sct",
"code": "127013003",
"display": "Diabetic renal disease (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "127295002",
- "display": "Traumatic brain injury (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "128188000",
- "display": "Cerebral palsy (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -87,6 +101,12 @@
"system": "http://snomed.info/sct",
"code": "128613002",
"display": "Seizure disorder"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -94,27 +114,12 @@
"system": "http://snomed.info/sct",
"code": "132281000119108",
"display": "Acute deep venous thrombosis (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "14760008",
- "display": "Constipation (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "1501000119109",
- "display": "Proliferative diabetic retinopathy due to type II diabetes mellitus (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "1551000119108",
- "display": "Nonproliferative diabetic retinopathy due to type 2 diabetes mellitus (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -122,27 +127,12 @@
"system": "http://snomed.info/sct",
"code": "156073000",
"display": "Fetus with unknown complication"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "157141000119108",
- "display": "Proteinuria due to type 2 diabetes mellitus (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "15724005",
- "display": "Fracture of vertebral column without spinal cord injury"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "157265008",
- "display": "Dislocation of hip joint (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -150,13 +140,12 @@
"system": "http://snomed.info/sct",
"code": "15777000",
"display": "Prediabetes"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "15802004",
- "display": "Dystonia (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -164,13 +153,12 @@
"system": "http://snomed.info/sct",
"code": "16114001",
"display": "Fracture of ankle"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "161622006",
- "display": "History of lower limb amputation (situation)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -178,6 +166,12 @@
"system": "http://snomed.info/sct",
"code": "162573006",
"display": "Suspected lung cancer (situation)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -185,20 +179,12 @@
"system": "http://snomed.info/sct",
"code": "162864005",
"display": "Body mass index 30+ - obesity (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "171131006",
- "display": "Meningocele (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "1734006",
- "display": "Fracture of the vertebral column with spinal cord injury"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -206,13 +192,12 @@
"system": "http://snomed.info/sct",
"code": "185086009",
"display": "Chronic obstructive bronchitis (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "190905008",
- "display": "Cystic Fibrosis"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -220,13 +205,12 @@
"system": "http://snomed.info/sct",
"code": "19169002",
"display": "Miscarriage in first trimester"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "192127007",
- "display": "Child attention deficit disorder"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -234,6 +218,12 @@
"system": "http://snomed.info/sct",
"code": "195662009",
"display": "Acute viral pharyngitis (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -241,6 +231,12 @@
"system": "http://snomed.info/sct",
"code": "195967001",
"display": "Asthma"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -248,6 +244,12 @@
"system": "http://snomed.info/sct",
"code": "196416002",
"display": "Impacted molars"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -255,6 +257,12 @@
"system": "http://snomed.info/sct",
"code": "197927001",
"display": "Recurrent urinary tract infection"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -262,13 +270,12 @@
"system": "http://snomed.info/sct",
"code": "198992004",
"display": "Antepartum eclampsia"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "200936003",
- "display": "Lupus erythematosus"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -276,6 +283,12 @@
"system": "http://snomed.info/sct",
"code": "201834006",
"display": "Localized, primary osteoarthritis of the hand"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -283,41 +296,12 @@
"system": "http://snomed.info/sct",
"code": "203082005",
"display": "Fibromyalgia (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "221360009",
- "display": "Spasticity (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "22253000",
- "display": "Pain (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "22298006",
- "display": "Myocardial Infarction"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "225444004",
- "display": "At risk for suicide (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "230265002",
- "display": "Familial Alzheimer's disease of early onset (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -325,13 +309,12 @@
"system": "http://snomed.info/sct",
"code": "230690007",
"display": "Stroke"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "230745008",
- "display": "Hydrocephalus (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -339,6 +322,12 @@
"system": "http://snomed.info/sct",
"code": "232353008",
"display": "Perennial allergic rhinitis with seasonal variation"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -346,6 +335,12 @@
"system": "http://snomed.info/sct",
"code": "233604007",
"display": "Pneumonia"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -353,34 +348,12 @@
"system": "http://snomed.info/sct",
"code": "233678006",
"display": "Childhood asthma"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "234466008",
- "display": "Acquired coagulation disorder (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "235595009",
- "display": "Gastroesophageal reflux disease (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "235919008",
- "display": "Cholelithiasis"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "236077008",
- "display": "Protracted diarrhea"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -388,6 +361,12 @@
"system": "http://snomed.info/sct",
"code": "237602007",
"display": "Metabolic syndrome X (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -395,6 +374,12 @@
"system": "http://snomed.info/sct",
"code": "239720000",
"display": "Tear of meniscus of knee"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -402,6 +387,12 @@
"system": "http://snomed.info/sct",
"code": "239872002",
"display": "Osteoarthritis of hip"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -409,6 +400,12 @@
"system": "http://snomed.info/sct",
"code": "239873007",
"display": "Osteoarthritis of knee"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -416,6 +413,12 @@
"system": "http://snomed.info/sct",
"code": "24079001",
"display": "Atopic dermatitis"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -423,13 +426,12 @@
"system": "http://snomed.info/sct",
"code": "241929008",
"display": "Acute allergic reaction"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "246677007",
- "display": "Passive conjunctival congestion (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -437,6 +439,12 @@
"system": "http://snomed.info/sct",
"code": "248595008",
"display": "Sputum finding (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -444,6 +452,12 @@
"system": "http://snomed.info/sct",
"code": "249497008",
"display": "Vomiting symptom (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -451,6 +465,12 @@
"system": "http://snomed.info/sct",
"code": "25064002",
"display": "Headache (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -458,6 +478,12 @@
"system": "http://snomed.info/sct",
"code": "254632001",
"display": "Small cell carcinoma of lung (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -465,6 +491,12 @@
"system": "http://snomed.info/sct",
"code": "254637007",
"display": "Non-small cell lung cancer (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -472,13 +504,12 @@
"system": "http://snomed.info/sct",
"code": "254837009",
"display": "Malignant neoplasm of breast (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "262574004",
- "display": "Bullet wound"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -486,6 +517,12 @@
"system": "http://snomed.info/sct",
"code": "263102004",
"display": "Fracture subluxation of wrist"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -493,6 +530,12 @@
"system": "http://snomed.info/sct",
"code": "267036007",
"display": "Dyspnea (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -500,13 +543,12 @@
"system": "http://snomed.info/sct",
"code": "267060006",
"display": "Diarrhea symptom (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "267064002",
- "display": "Retention of urine (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -514,6 +556,12 @@
"system": "http://snomed.info/sct",
"code": "267102003",
"display": "Sore throat symptom (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -521,6 +569,12 @@
"system": "http://snomed.info/sct",
"code": "26929004",
"display": "Alzheimer's disease (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -528,6 +582,12 @@
"system": "http://snomed.info/sct",
"code": "271737000",
"display": "Anemia (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -535,6 +595,12 @@
"system": "http://snomed.info/sct",
"code": "271825005",
"display": "Respiratory distress (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -542,6 +608,12 @@
"system": "http://snomed.info/sct",
"code": "275272006",
"display": "Brain damage - traumatic"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -549,13 +621,12 @@
"system": "http://snomed.info/sct",
"code": "278860009",
"display": "Chronic low back pain (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "27942005",
- "display": "Shock (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -563,6 +634,12 @@
"system": "http://snomed.info/sct",
"code": "283371005",
"display": "Laceration of forearm"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -570,6 +647,12 @@
"system": "http://snomed.info/sct",
"code": "283385000",
"display": "Laceration of thigh"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -577,6 +660,12 @@
"system": "http://snomed.info/sct",
"code": "284549007",
"display": "Laceration of hand"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -584,34 +673,12 @@
"system": "http://snomed.info/sct",
"code": "284551006",
"display": "Laceration of foot"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "287185009",
- "display": "Attempted suicide - cut/stab"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "288959006",
- "display": "Unable to swallow saliva (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "298382003",
- "display": "Scoliosis deformity of spine (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "300916003",
- "display": "Allergy to latex (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -619,13 +686,12 @@
"system": "http://snomed.info/sct",
"code": "301011002",
"display": "Escherichia coli urinary tract infection"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "302297009",
- "display": "Congenital deformity of foot (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -633,6 +699,12 @@
"system": "http://snomed.info/sct",
"code": "302870006",
"display": "Hypertriglyceridemia (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -640,20 +712,12 @@
"system": "http://snomed.info/sct",
"code": "307731004",
"display": "Injury of tendon of the rotator cuff of shoulder"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "30832001",
- "display": "Rupture of patellar tendon"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "314994000",
- "display": "Metastasis from malignant tumor of prostate (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -661,6 +725,12 @@
"system": "http://snomed.info/sct",
"code": "33737001",
"display": "Fracture of rib"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -668,6 +738,12 @@
"system": "http://snomed.info/sct",
"code": "359817006",
"display": "Closed fracture of hip"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -675,13 +751,12 @@
"system": "http://snomed.info/sct",
"code": "35999006",
"display": "Blighted ovum"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "363406005",
- "display": "Malignant tumor of colon"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -689,6 +764,12 @@
"system": "http://snomed.info/sct",
"code": "367498001",
"display": "Seasonal allergic rhinitis"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -696,13 +777,12 @@
"system": "http://snomed.info/sct",
"code": "368581000119106",
"display": "Neuropathy due to type 2 diabetes mellitus (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "36923009",
- "display": "Major depression, single episode"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -710,6 +790,12 @@
"system": "http://snomed.info/sct",
"code": "36955009",
"display": "Loss of taste (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -717,6 +803,12 @@
"system": "http://snomed.info/sct",
"code": "36971009",
"display": "Sinusitis (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -724,6 +816,12 @@
"system": "http://snomed.info/sct",
"code": "370143000",
"display": "Major depression disorder"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -731,13 +829,12 @@
"system": "http://snomed.info/sct",
"code": "370247008",
"display": "Facial laceration"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "373587001",
- "display": "Chiari malformation type II (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -745,6 +842,12 @@
"system": "http://snomed.info/sct",
"code": "386661006",
"display": "Fever (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -752,6 +855,12 @@
"system": "http://snomed.info/sct",
"code": "38822007",
"display": "Cystitis"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -759,13 +868,12 @@
"system": "http://snomed.info/sct",
"code": "389087006",
"display": "Hypoxemia (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "398152000",
- "display": "Poor muscle tone (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -773,6 +881,12 @@
"system": "http://snomed.info/sct",
"code": "398254007",
"display": "Preeclampsia"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -780,20 +894,12 @@
"system": "http://snomed.info/sct",
"code": "39848009",
"display": "Whiplash injury to neck"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "399211009",
- "display": "History of myocardial infarction (situation)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "399912005",
- "display": "Pressure ulcer (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -801,6 +907,12 @@
"system": "http://snomed.info/sct",
"code": "40055000",
"display": "Chronic sinusitis (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -808,13 +920,12 @@
"system": "http://snomed.info/sct",
"code": "40095003",
"display": "Injury of kidney (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "40275004",
- "display": "Contact dermatitis"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -822,6 +933,12 @@
"system": "http://snomed.info/sct",
"code": "403190006",
"display": "First degree burn"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -829,20 +946,12 @@
"system": "http://snomed.info/sct",
"code": "403191005",
"display": "Second degree burn"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "403192003",
- "display": "Third degree burn"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "406602003",
- "display": "Infection caused by Staphylococcus aureus"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -850,6 +959,12 @@
"system": "http://snomed.info/sct",
"code": "408512008",
"display": "Body mass index 40+ - severely obese (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -857,27 +972,12 @@
"system": "http://snomed.info/sct",
"code": "410429000",
"display": "Cardiac Arrest"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "414564002",
- "display": "Kyphosis deformity of spine (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "414667000",
- "display": "Meningomyelocele (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "422034002",
- "display": "Diabetic retinopathy associated with type II diabetes mellitus (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -885,6 +985,12 @@
"system": "http://snomed.info/sct",
"code": "422587007",
"display": "Nausea (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -892,20 +998,12 @@
"system": "http://snomed.info/sct",
"code": "424132000",
"display": "Non-small cell carcinoma of lung, TNM stage 1 (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "427089005",
- "display": "Diabetes from Cystic Fibrosis"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "427419006",
- "display": "Transformed migraine (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -913,6 +1011,12 @@
"system": "http://snomed.info/sct",
"code": "428251008",
"display": "History of appendectomy"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -920,13 +1024,12 @@
"system": "http://snomed.info/sct",
"code": "429007001",
"display": "History of cardiac arrest (situation)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "429280009",
- "display": "History of amputation of foot (situation)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -934,6 +1037,12 @@
"system": "http://snomed.info/sct",
"code": "431855005",
"display": "Chronic kidney disease stage 1 (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -941,13 +1050,12 @@
"system": "http://snomed.info/sct",
"code": "431856006",
"display": "Chronic kidney disease stage 2 (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "433144002",
- "display": "Chronic kidney disease stage 3 (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -955,6 +1063,12 @@
"system": "http://snomed.info/sct",
"code": "43724002",
"display": "Chill (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -962,6 +1076,12 @@
"system": "http://snomed.info/sct",
"code": "43878008",
"display": "Streptococcal sore throat (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -969,6 +1089,12 @@
"system": "http://snomed.info/sct",
"code": "44054006",
"display": "Diabetes"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -976,6 +1102,12 @@
"system": "http://snomed.info/sct",
"code": "443165006",
"display": "Pathological fracture due to osteoporosis (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -983,6 +1115,12 @@
"system": "http://snomed.info/sct",
"code": "444448004",
"display": "Injury of medial collateral ligament of knee"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -990,6 +1128,12 @@
"system": "http://snomed.info/sct",
"code": "444470001",
"display": "Injury of anterior cruciate ligament"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -997,6 +1141,12 @@
"system": "http://snomed.info/sct",
"code": "44465007",
"display": "Sprain of ankle"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1004,6 +1154,12 @@
"system": "http://snomed.info/sct",
"code": "444814009",
"display": "Viral sinusitis (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1011,20 +1167,12 @@
"system": "http://snomed.info/sct",
"code": "446096008",
"display": "Perennial allergic rhinitis"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "448417001",
- "display": "Sepsis caused by Staphylococcus aureus"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "448813005",
- "display": "Sepsis caused by Pseudomonas (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1032,34 +1180,25 @@
"system": "http://snomed.info/sct",
"code": "449868002",
"display": "Smokes tobacco daily"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
"termCode": {
"system": "http://snomed.info/sct",
- "code": "45816000",
- "display": "Pyelonephritis"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "47200007",
- "display": "Non-low risk pregnancy"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "47505003",
- "display": "Posttraumatic stress disorder"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "47693006",
- "display": "Rupture of appendix"
+ "code": "48333001",
+ "display": "Burn injury(morphologic abnormality)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1067,6 +1206,12 @@
"system": "http://snomed.info/sct",
"code": "49436004",
"display": "Atrial Fibrillation"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1074,6 +1219,12 @@
"system": "http://snomed.info/sct",
"code": "49727002",
"display": "Cough (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1081,13 +1232,12 @@
"system": "http://snomed.info/sct",
"code": "53741008",
"display": "Coronary Heart Disease"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "53827007",
- "display": "Excessive salivation (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1095,6 +1245,12 @@
"system": "http://snomed.info/sct",
"code": "55680006",
"display": "Drug overdose"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1102,6 +1258,12 @@
"system": "http://snomed.info/sct",
"code": "55822004",
"display": "Hyperlipidemia"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1109,6 +1271,12 @@
"system": "http://snomed.info/sct",
"code": "56018004",
"display": "Wheezing (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1116,6 +1284,12 @@
"system": "http://snomed.info/sct",
"code": "5602001",
"display": "Opioid abuse (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1123,6 +1297,12 @@
"system": "http://snomed.info/sct",
"code": "57676002",
"display": "Joint pain (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1130,6 +1310,12 @@
"system": "http://snomed.info/sct",
"code": "58150001",
"display": "Fracture of clavicle"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1137,20 +1323,12 @@
"system": "http://snomed.info/sct",
"code": "59621000",
"display": "Hypertension"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "6072007",
- "display": "Bleeding from anus"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "60951000119105",
- "display": "Blindness due to type 2 diabetes mellitus (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1158,20 +1336,12 @@
"system": "http://snomed.info/sct",
"code": "62106007",
"display": "Concussion with no loss of consciousness"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "62564004",
- "display": "Concussion with loss of consciousness"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "62718007",
- "display": "Dribbling from mouth (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1179,13 +1349,12 @@
"system": "http://snomed.info/sct",
"code": "64859006",
"display": "Osteoporosis (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "65275009",
- "display": "Acute Cholecystitis"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1193,6 +1362,12 @@
"system": "http://snomed.info/sct",
"code": "65363002",
"display": "Otitis media"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1200,6 +1375,12 @@
"system": "http://snomed.info/sct",
"code": "65710008",
"display": "Acute respiratory failure (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1207,13 +1388,12 @@
"system": "http://snomed.info/sct",
"code": "65966004",
"display": "Fracture of forearm"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "66857006",
- "display": "Hemoptysis (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1221,6 +1401,12 @@
"system": "http://snomed.info/sct",
"code": "67782005",
"display": "Acute respiratory distress syndrome (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1228,6 +1414,12 @@
"system": "http://snomed.info/sct",
"code": "67811000119102",
"display": "Primary small cell malignant neoplasm of lung, TNM stage 1 (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1235,6 +1427,12 @@
"system": "http://snomed.info/sct",
"code": "68235000",
"display": "Nasal congestion (finding)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1242,13 +1440,12 @@
"system": "http://snomed.info/sct",
"code": "68496003",
"display": "Polyp of colon"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "68566005",
- "display": "Urinary tract infectious disease (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1256,13 +1453,12 @@
"system": "http://snomed.info/sct",
"code": "68962001",
"display": "Muscle pain (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "698754002",
- "display": "Chronic paralysis due to lesion of spinal cord"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1270,6 +1466,12 @@
"system": "http://snomed.info/sct",
"code": "69896004",
"display": "Rheumatoid arthritis"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1277,6 +1479,12 @@
"system": "http://snomed.info/sct",
"code": "703151001",
"display": "History of single seizure (situation)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1284,6 +1492,12 @@
"system": "http://snomed.info/sct",
"code": "706870000",
"display": "Acute pulmonary embolism (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1291,13 +1505,12 @@
"system": "http://snomed.info/sct",
"code": "70704007",
"display": "Sprain of wrist"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "707577004",
- "display": "Female Infertility"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1305,6 +1518,12 @@
"system": "http://snomed.info/sct",
"code": "713197008",
"display": "Recurrent rectal polyp"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1312,6 +1531,12 @@
"system": "http://snomed.info/sct",
"code": "7200002",
"display": "Alcoholism"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1319,6 +1544,12 @@
"system": "http://snomed.info/sct",
"code": "72892002",
"display": "Normal pregnancy"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1326,6 +1557,12 @@
"system": "http://snomed.info/sct",
"code": "74400008",
"display": "Appendicitis"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1333,6 +1570,12 @@
"system": "http://snomed.info/sct",
"code": "75498004",
"display": "Acute bacterial sinusitis (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1340,13 +1583,12 @@
"system": "http://snomed.info/sct",
"code": "76571007",
"display": "Septic shock (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "76916001",
- "display": "Spina bifida occulta (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1354,6 +1596,12 @@
"system": "http://snomed.info/sct",
"code": "770349000",
"display": "Sepsis caused by virus (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1361,6 +1609,12 @@
"system": "http://snomed.info/sct",
"code": "79586000",
"display": "Tubal pregnancy"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1368,6 +1622,12 @@
"system": "http://snomed.info/sct",
"code": "80394007",
"display": "Hyperglycemia (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1375,13 +1635,12 @@
"system": "http://snomed.info/sct",
"code": "82423001",
"display": "Chronic pain"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "83664006",
- "display": "Idiopathic atrophic hypothyroidism"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1389,6 +1648,12 @@
"system": "http://snomed.info/sct",
"code": "840539006",
"display": "COVID-19"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1396,6 +1661,12 @@
"system": "http://snomed.info/sct",
"code": "840544004",
"display": "Suspected COVID-19"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1403,6 +1674,12 @@
"system": "http://snomed.info/sct",
"code": "84114007",
"display": "Heart failure (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1410,13 +1687,12 @@
"system": "http://snomed.info/sct",
"code": "84229001",
"display": "Fatigue (finding)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "84757009",
- "display": "Epilepsy"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1424,13 +1700,12 @@
"system": "http://snomed.info/sct",
"code": "86175003",
"display": "Injury of heart (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "86849004",
- "display": "Suicidal deliberate poisoning"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1438,13 +1713,12 @@
"system": "http://snomed.info/sct",
"code": "87433001",
"display": "Pulmonary emphysema (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "87628006",
- "display": "Bacterial infectious disease (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1452,13 +1726,12 @@
"system": "http://snomed.info/sct",
"code": "88805009",
"display": "Chronic congestive heart failure (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "90560007",
- "display": "Gout"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1466,6 +1739,12 @@
"system": "http://snomed.info/sct",
"code": "90781000119102",
"display": "Microalbuminuria due to type 2 diabetes mellitus (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1473,6 +1752,12 @@
"system": "http://snomed.info/sct",
"code": "91302008",
"display": "Sepsis (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1480,20 +1765,12 @@
"system": "http://snomed.info/sct",
"code": "92691004",
"display": "Carcinoma in situ of prostate (disorder)"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "93761005",
- "display": "Primary malignant neoplasm of colon"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "94260004",
- "display": "Secondary malignant neoplasm of colon"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
},
{
@@ -1501,13 +1778,12 @@
"system": "http://snomed.info/sct",
"code": "95417003",
"display": "Primary fibromyalgia syndrome"
- }
- },
- {
- "termCode": {
- "system": "http://snomed.info/sct",
- "code": "97331000119101",
- "display": "Macular edema and retinopathy due to type 2 diabetes mellitus (disorder)"
+ },
+ "context": {
+ "code": "Diagnose",
+ "system": "fdpg.mii.cds",
+ "version": "1.0.0",
+ "display": "Diagnose"
}
}
]
diff --git a/mvnw b/mvnw
index 8a8fb228..19529ddf 100755
--- a/mvnw
+++ b/mvnw
@@ -8,7 +8,7 @@
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
-# https://www.apache.org/licenses/LICENSE-2.0
+# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
@@ -19,298 +19,241 @@
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
-# Maven Start Up Batch script
-#
-# Required ENV vars:
-# ------------------
-# JAVA_HOME - location of a JDK home dir
+# Apache Maven Wrapper startup batch script, version 3.3.2
#
# Optional ENV vars
# -----------------
-# M2_HOME - location of maven2's installed home dir
-# MAVEN_OPTS - parameters passed to the Java VM when running Maven
-# e.g. to debug Maven itself, use
-# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+# JAVA_HOME - location of a JDK home dir, required when download maven via java source
+# MVNW_REPOURL - repo url base for downloading maven distribution
+# MVNW_USERNAME/MVNW_PASSWORD - user and password for downloading maven
+# MVNW_VERBOSE - true: enable verbose log; debug: trace the mvnw script; others: silence the output
# ----------------------------------------------------------------------------
-if [ -z "$MAVEN_SKIP_RC" ] ; then
-
- if [ -f /usr/local/etc/mavenrc ] ; then
- . /usr/local/etc/mavenrc
- fi
-
- if [ -f /etc/mavenrc ] ; then
- . /etc/mavenrc
- fi
+set -euf
+[ "${MVNW_VERBOSE-}" != debug ] || set -x
- if [ -f "$HOME/.mavenrc" ] ; then
- . "$HOME/.mavenrc"
- fi
+# OS specific support.
+native_path() { printf %s\\n "$1"; }
+case "$(uname)" in
+CYGWIN* | MINGW*)
+ [ -z "${JAVA_HOME-}" ] || JAVA_HOME="$(cygpath --unix "$JAVA_HOME")"
+ native_path() { cygpath --path --windows "$1"; }
+ ;;
+esac
-fi
+# set JAVACMD and JAVACCMD
+set_java_home() {
+ # For Cygwin and MinGW, ensure paths are in Unix format before anything is touched
+ if [ -n "${JAVA_HOME-}" ]; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ]; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ JAVACCMD="$JAVA_HOME/jre/sh/javac"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ JAVACCMD="$JAVA_HOME/bin/javac"
-# OS specific support. $var _must_ be set to either true or false.
-cygwin=false;
-darwin=false;
-mingw=false
-case "`uname`" in
- CYGWIN*) cygwin=true ;;
- MINGW*) mingw=true;;
- Darwin*) darwin=true
- # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
- # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
- if [ -z "$JAVA_HOME" ]; then
- if [ -x "/usr/libexec/java_home" ]; then
- export JAVA_HOME="`/usr/libexec/java_home`"
- else
- export JAVA_HOME="/Library/Java/Home"
+ if [ ! -x "$JAVACMD" ] || [ ! -x "$JAVACCMD" ]; then
+ echo "The JAVA_HOME environment variable is not defined correctly, so mvnw cannot run." >&2
+ echo "JAVA_HOME is set to \"$JAVA_HOME\", but \"\$JAVA_HOME/bin/java\" or \"\$JAVA_HOME/bin/javac\" does not exist." >&2
+ return 1
fi
fi
- ;;
-esac
-
-if [ -z "$JAVA_HOME" ] ; then
- if [ -r /etc/gentoo-release ] ; then
- JAVA_HOME=`java-config --jre-home`
+ else
+ JAVACMD="$(
+ 'set' +e
+ 'unset' -f command 2>/dev/null
+ 'command' -v java
+ )" || :
+ JAVACCMD="$(
+ 'set' +e
+ 'unset' -f command 2>/dev/null
+ 'command' -v javac
+ )" || :
+
+ if [ ! -x "${JAVACMD-}" ] || [ ! -x "${JAVACCMD-}" ]; then
+ echo "The java/javac command does not exist in PATH nor is JAVA_HOME set, so mvnw cannot run." >&2
+ return 1
+ fi
fi
-fi
-
-if [ -z "$M2_HOME" ] ; then
- ## resolve links - $0 may be a link to maven's home
- PRG="$0"
+}
- # need this for relative symlinks
- while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG="`dirname "$PRG"`/$link"
- fi
+# hash string like Java String::hashCode
+hash_string() {
+ str="${1:-}" h=0
+ while [ -n "$str" ]; do
+ char="${str%"${str#?}"}"
+ h=$(((h * 31 + $(LC_CTYPE=C printf %d "'$char")) % 4294967296))
+ str="${str#?}"
done
+ printf %x\\n $h
+}
- saveddir=`pwd`
+verbose() { :; }
+[ "${MVNW_VERBOSE-}" != true ] || verbose() { printf %s\\n "${1-}"; }
- M2_HOME=`dirname "$PRG"`/..
+die() {
+ printf %s\\n "$1" >&2
+ exit 1
+}
- # make it fully qualified
- M2_HOME=`cd "$M2_HOME" && pwd`
+trim() {
+ # MWRAPPER-139:
+ # Trims trailing and leading whitespace, carriage returns, tabs, and linefeeds.
+ # Needed for removing poorly interpreted newline sequences when running in more
+ # exotic environments such as mingw bash on Windows.
+ printf "%s" "${1}" | tr -d '[:space:]'
+}
- cd "$saveddir"
- # echo Using m2 at $M2_HOME
-fi
+# parse distributionUrl and optional distributionSha256Sum, requires .mvn/wrapper/maven-wrapper.properties
+while IFS="=" read -r key value; do
+ case "${key-}" in
+ distributionUrl) distributionUrl=$(trim "${value-}") ;;
+ distributionSha256Sum) distributionSha256Sum=$(trim "${value-}") ;;
+ esac
+done <"${0%/*}/.mvn/wrapper/maven-wrapper.properties"
+[ -n "${distributionUrl-}" ] || die "cannot read distributionUrl property in ${0%/*}/.mvn/wrapper/maven-wrapper.properties"
+
+case "${distributionUrl##*/}" in
+maven-mvnd-*bin.*)
+ MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/
+ case "${PROCESSOR_ARCHITECTURE-}${PROCESSOR_ARCHITEW6432-}:$(uname -a)" in
+ *AMD64:CYGWIN* | *AMD64:MINGW*) distributionPlatform=windows-amd64 ;;
+ :Darwin*x86_64) distributionPlatform=darwin-amd64 ;;
+ :Darwin*arm64) distributionPlatform=darwin-aarch64 ;;
+ :Linux*x86_64*) distributionPlatform=linux-amd64 ;;
+ *)
+ echo "Cannot detect native platform for mvnd on $(uname)-$(uname -m), use pure java version" >&2
+ distributionPlatform=linux-amd64
+ ;;
+ esac
+ distributionUrl="${distributionUrl%-bin.*}-$distributionPlatform.zip"
+ ;;
+maven-mvnd-*) MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/ ;;
+*) MVN_CMD="mvn${0##*/mvnw}" _MVNW_REPO_PATTERN=/org/apache/maven/ ;;
+esac
-# For Cygwin, ensure paths are in UNIX format before anything is touched
-if $cygwin ; then
- [ -n "$M2_HOME" ] &&
- M2_HOME=`cygpath --unix "$M2_HOME"`
- [ -n "$JAVA_HOME" ] &&
- JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
- [ -n "$CLASSPATH" ] &&
- CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
-fi
+# apply MVNW_REPOURL and calculate MAVEN_HOME
+# maven home pattern: ~/.m2/wrapper/dists/{apache-maven-,maven-mvnd--}/
+[ -z "${MVNW_REPOURL-}" ] || distributionUrl="$MVNW_REPOURL$_MVNW_REPO_PATTERN${distributionUrl#*"$_MVNW_REPO_PATTERN"}"
+distributionUrlName="${distributionUrl##*/}"
+distributionUrlNameMain="${distributionUrlName%.*}"
+distributionUrlNameMain="${distributionUrlNameMain%-bin}"
+MAVEN_USER_HOME="${MAVEN_USER_HOME:-${HOME}/.m2}"
+MAVEN_HOME="${MAVEN_USER_HOME}/wrapper/dists/${distributionUrlNameMain-}/$(hash_string "$distributionUrl")"
+
+exec_maven() {
+ unset MVNW_VERBOSE MVNW_USERNAME MVNW_PASSWORD MVNW_REPOURL || :
+ exec "$MAVEN_HOME/bin/$MVN_CMD" "$@" || die "cannot exec $MAVEN_HOME/bin/$MVN_CMD"
+}
-# For Mingw, ensure paths are in UNIX format before anything is touched
-if $mingw ; then
- [ -n "$M2_HOME" ] &&
- M2_HOME="`(cd "$M2_HOME"; pwd)`"
- [ -n "$JAVA_HOME" ] &&
- JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
+if [ -d "$MAVEN_HOME" ]; then
+ verbose "found existing MAVEN_HOME at $MAVEN_HOME"
+ exec_maven "$@"
fi
-if [ -z "$JAVA_HOME" ]; then
- javaExecutable="`which javac`"
- if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
- # readlink(1) is not available as standard on Solaris 10.
- readLink=`which readlink`
- if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
- if $darwin ; then
- javaHome="`dirname \"$javaExecutable\"`"
- javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
- else
- javaExecutable="`readlink -f \"$javaExecutable\"`"
- fi
- javaHome="`dirname \"$javaExecutable\"`"
- javaHome=`expr "$javaHome" : '\(.*\)/bin'`
- JAVA_HOME="$javaHome"
- export JAVA_HOME
- fi
- fi
-fi
+case "${distributionUrl-}" in
+*?-bin.zip | *?maven-mvnd-?*-?*.zip) ;;
+*) die "distributionUrl is not valid, must match *-bin.zip or maven-mvnd-*.zip, but found '${distributionUrl-}'" ;;
+esac
-if [ -z "$JAVACMD" ] ; then
- if [ -n "$JAVA_HOME" ] ; then
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
- # IBM's JDK on AIX uses strange locations for the executables
- JAVACMD="$JAVA_HOME/jre/sh/java"
- else
- JAVACMD="$JAVA_HOME/bin/java"
- fi
- else
- JAVACMD="`\\unset -f command; \\command -v java`"
- fi
+# prepare tmp dir
+if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then
+ clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; }
+ trap clean HUP INT TERM EXIT
+else
+ die "cannot create temp dir"
fi
-if [ ! -x "$JAVACMD" ] ; then
- echo "Error: JAVA_HOME is not defined correctly." >&2
- echo " We cannot execute $JAVACMD" >&2
- exit 1
-fi
+mkdir -p -- "${MAVEN_HOME%/*}"
-if [ -z "$JAVA_HOME" ] ; then
- echo "Warning: JAVA_HOME environment variable is not set."
+# Download and Install Apache Maven
+verbose "Couldn't find MAVEN_HOME, downloading and installing it ..."
+verbose "Downloading from: $distributionUrl"
+verbose "Downloading to: $TMP_DOWNLOAD_DIR/$distributionUrlName"
+
+# select .zip or .tar.gz
+if ! command -v unzip >/dev/null; then
+ distributionUrl="${distributionUrl%.zip}.tar.gz"
+ distributionUrlName="${distributionUrl##*/}"
fi
-CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
+# verbose opt
+__MVNW_QUIET_WGET=--quiet __MVNW_QUIET_CURL=--silent __MVNW_QUIET_UNZIP=-q __MVNW_QUIET_TAR=''
+[ "${MVNW_VERBOSE-}" != true ] || __MVNW_QUIET_WGET='' __MVNW_QUIET_CURL='' __MVNW_QUIET_UNZIP='' __MVNW_QUIET_TAR=v
-# traverses directory structure from process work directory to filesystem root
-# first directory with .mvn subdirectory is considered project base directory
-find_maven_basedir() {
+# normalize http auth
+case "${MVNW_PASSWORD:+has-password}" in
+'') MVNW_USERNAME='' MVNW_PASSWORD='' ;;
+has-password) [ -n "${MVNW_USERNAME-}" ] || MVNW_USERNAME='' MVNW_PASSWORD='' ;;
+esac
- if [ -z "$1" ]
- then
- echo "Path not specified to find_maven_basedir"
- return 1
- fi
+if [ -z "${MVNW_USERNAME-}" ] && command -v wget >/dev/null; then
+ verbose "Found wget ... using wget"
+ wget ${__MVNW_QUIET_WGET:+"$__MVNW_QUIET_WGET"} "$distributionUrl" -O "$TMP_DOWNLOAD_DIR/$distributionUrlName" || die "wget: Failed to fetch $distributionUrl"
+elif [ -z "${MVNW_USERNAME-}" ] && command -v curl >/dev/null; then
+ verbose "Found curl ... using curl"
+ curl ${__MVNW_QUIET_CURL:+"$__MVNW_QUIET_CURL"} -f -L -o "$TMP_DOWNLOAD_DIR/$distributionUrlName" "$distributionUrl" || die "curl: Failed to fetch $distributionUrl"
+elif set_java_home; then
+ verbose "Falling back to use Java to download"
+ javaSource="$TMP_DOWNLOAD_DIR/Downloader.java"
+ targetZip="$TMP_DOWNLOAD_DIR/$distributionUrlName"
+ cat >"$javaSource" <<-END
+ public class Downloader extends java.net.Authenticator
+ {
+ protected java.net.PasswordAuthentication getPasswordAuthentication()
+ {
+ return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() );
+ }
+ public static void main( String[] args ) throws Exception
+ {
+ setDefault( new Downloader() );
+ java.nio.file.Files.copy( java.net.URI.create( args[0] ).toURL().openStream(), java.nio.file.Paths.get( args[1] ).toAbsolutePath().normalize() );
+ }
+ }
+ END
+ # For Cygwin/MinGW, switch paths to Windows format before running javac and java
+ verbose " - Compiling Downloader.java ..."
+ "$(native_path "$JAVACCMD")" "$(native_path "$javaSource")" || die "Failed to compile Downloader.java"
+ verbose " - Running Downloader.java ..."
+ "$(native_path "$JAVACMD")" -cp "$(native_path "$TMP_DOWNLOAD_DIR")" Downloader "$distributionUrl" "$(native_path "$targetZip")"
+fi
- basedir="$1"
- wdir="$1"
- while [ "$wdir" != '/' ] ; do
- if [ -d "$wdir"/.mvn ] ; then
- basedir=$wdir
- break
+# If specified, validate the SHA-256 sum of the Maven distribution zip file
+if [ -n "${distributionSha256Sum-}" ]; then
+ distributionSha256Result=false
+ if [ "$MVN_CMD" = mvnd.sh ]; then
+ echo "Checksum validation is not supported for maven-mvnd." >&2
+ echo "Please disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." >&2
+ exit 1
+ elif command -v sha256sum >/dev/null; then
+ if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" | sha256sum -c >/dev/null 2>&1; then
+ distributionSha256Result=true
fi
- # workaround for JBEAP-8937 (on Solaris 10/Sparc)
- if [ -d "${wdir}" ]; then
- wdir=`cd "$wdir/.."; pwd`
+ elif command -v shasum >/dev/null; then
+ if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" | shasum -a 256 -c >/dev/null 2>&1; then
+ distributionSha256Result=true
fi
- # end of workaround
- done
- echo "${basedir}"
-}
-
-# concatenates all lines of a file
-concat_lines() {
- if [ -f "$1" ]; then
- echo "$(tr -s '\n' ' ' < "$1")"
+ else
+ echo "Checksum validation was requested but neither 'sha256sum' or 'shasum' are available." >&2
+ echo "Please install either command, or disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." >&2
+ exit 1
+ fi
+ if [ $distributionSha256Result = false ]; then
+ echo "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised." >&2
+ echo "If you updated your Maven version, you need to update the specified distributionSha256Sum property." >&2
+ exit 1
fi
-}
-
-BASE_DIR=`find_maven_basedir "$(pwd)"`
-if [ -z "$BASE_DIR" ]; then
- exit 1;
fi
-##########################################################################################
-# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
-# This allows using the maven wrapper in projects that prohibit checking in binary data.
-##########################################################################################
-if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Found .mvn/wrapper/maven-wrapper.jar"
- fi
+# unzip and move
+if command -v unzip >/dev/null; then
+ unzip ${__MVNW_QUIET_UNZIP:+"$__MVNW_QUIET_UNZIP"} "$TMP_DOWNLOAD_DIR/$distributionUrlName" -d "$TMP_DOWNLOAD_DIR" || die "failed to unzip"
else
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
- fi
- if [ -n "$MVNW_REPOURL" ]; then
- jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
- else
- jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
- fi
- while IFS="=" read key value; do
- case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
- esac
- done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Downloading from: $jarUrl"
- fi
- wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
- if $cygwin; then
- wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
- fi
-
- if command -v wget > /dev/null; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Found wget ... using wget"
- fi
- if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
- wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
- else
- wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
- fi
- elif command -v curl > /dev/null; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Found curl ... using curl"
- fi
- if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
- curl -o "$wrapperJarPath" "$jarUrl" -f
- else
- curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
- fi
-
- else
- if [ "$MVNW_VERBOSE" = true ]; then
- echo "Falling back to using Java to download"
- fi
- javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
- # For Cygwin, switch paths to Windows format before running javac
- if $cygwin; then
- javaClass=`cygpath --path --windows "$javaClass"`
- fi
- if [ -e "$javaClass" ]; then
- if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
- if [ "$MVNW_VERBOSE" = true ]; then
- echo " - Compiling MavenWrapperDownloader.java ..."
- fi
- # Compiling the Java class
- ("$JAVA_HOME/bin/javac" "$javaClass")
- fi
- if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
- # Running the downloader
- if [ "$MVNW_VERBOSE" = true ]; then
- echo " - Running MavenWrapperDownloader.java ..."
- fi
- ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
- fi
- fi
- fi
-fi
-##########################################################################################
-# End of extension
-##########################################################################################
-
-export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
-if [ "$MVNW_VERBOSE" = true ]; then
- echo $MAVEN_PROJECTBASEDIR
+ tar xzf${__MVNW_QUIET_TAR:+"$__MVNW_QUIET_TAR"} "$TMP_DOWNLOAD_DIR/$distributionUrlName" -C "$TMP_DOWNLOAD_DIR" || die "failed to untar"
fi
-MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin; then
- [ -n "$M2_HOME" ] &&
- M2_HOME=`cygpath --path --windows "$M2_HOME"`
- [ -n "$JAVA_HOME" ] &&
- JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
- [ -n "$CLASSPATH" ] &&
- CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
- [ -n "$MAVEN_PROJECTBASEDIR" ] &&
- MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
-fi
-
-# Provide a "standardized" way to retrieve the CLI args that will
-# work with both Windows and non-Windows executions.
-MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
-export MAVEN_CMD_LINE_ARGS
-
-WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+printf %s\\n "$distributionUrl" >"$TMP_DOWNLOAD_DIR/$distributionUrlNameMain/mvnw.url"
+mv -- "$TMP_DOWNLOAD_DIR/$distributionUrlNameMain" "$MAVEN_HOME" || [ -d "$MAVEN_HOME" ] || die "fail to move MAVEN_HOME"
-exec "$JAVACMD" \
- $MAVEN_OPTS \
- $MAVEN_DEBUG_OPTS \
- -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
- "-Dmaven.home=${M2_HOME}" \
- "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
- ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
+clean || :
+exec_maven "$@"
diff --git a/mvnw.cmd b/mvnw.cmd
index 1d8ab018..b150b91e 100644
--- a/mvnw.cmd
+++ b/mvnw.cmd
@@ -1,188 +1,149 @@
-@REM ----------------------------------------------------------------------------
-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements. See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership. The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM "License"); you may not use this file except in compliance
-@REM with the License. You may obtain a copy of the License at
-@REM
-@REM https://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied. See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-@REM ----------------------------------------------------------------------------
-
-@REM ----------------------------------------------------------------------------
-@REM Maven Start Up Batch script
-@REM
-@REM Required ENV vars:
-@REM JAVA_HOME - location of a JDK home dir
-@REM
-@REM Optional ENV vars
-@REM M2_HOME - location of maven2's installed home dir
-@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
-@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
-@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
-@REM e.g. to debug Maven itself, use
-@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
-@REM ----------------------------------------------------------------------------
-
-@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
-@echo off
-@REM set title of command window
-title %0
-@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
-@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
-
-@REM set %HOME% to equivalent of $HOME
-if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
-
-@REM Execute a user defined script before this one
-if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
-@REM check for pre script, once with legacy .bat ending and once with .cmd ending
-if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
-if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
-:skipRcPre
-
-@setlocal
-
-set ERROR_CODE=0
-
-@REM To isolate internal variables from possible post scripts, we use another setlocal
-@setlocal
-
-@REM ==== START VALIDATION ====
-if not "%JAVA_HOME%" == "" goto OkJHome
-
-echo.
-echo Error: JAVA_HOME not found in your environment. >&2
-echo Please set the JAVA_HOME variable in your environment to match the >&2
-echo location of your Java installation. >&2
-echo.
-goto error
-
-:OkJHome
-if exist "%JAVA_HOME%\bin\java.exe" goto init
-
-echo.
-echo Error: JAVA_HOME is set to an invalid directory. >&2
-echo JAVA_HOME = "%JAVA_HOME%" >&2
-echo Please set the JAVA_HOME variable in your environment to match the >&2
-echo location of your Java installation. >&2
-echo.
-goto error
-
-@REM ==== END VALIDATION ====
-
-:init
-
-@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
-@REM Fallback to current working directory if not found.
-
-set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
-IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
-
-set EXEC_DIR=%CD%
-set WDIR=%EXEC_DIR%
-:findBaseDir
-IF EXIST "%WDIR%"\.mvn goto baseDirFound
-cd ..
-IF "%WDIR%"=="%CD%" goto baseDirNotFound
-set WDIR=%CD%
-goto findBaseDir
-
-:baseDirFound
-set MAVEN_PROJECTBASEDIR=%WDIR%
-cd "%EXEC_DIR%"
-goto endDetectBaseDir
-
-:baseDirNotFound
-set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
-cd "%EXEC_DIR%"
-
-:endDetectBaseDir
-
-IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
-
-@setlocal EnableExtensions EnableDelayedExpansion
-for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
-@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
-
-:endReadAdditionalConfig
-
-SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
-set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
-set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
-
-set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
-
-FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
- IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
-)
-
-@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
-@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
-if exist %WRAPPER_JAR% (
- if "%MVNW_VERBOSE%" == "true" (
- echo Found %WRAPPER_JAR%
- )
-) else (
- if not "%MVNW_REPOURL%" == "" (
- SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
- )
- if "%MVNW_VERBOSE%" == "true" (
- echo Couldn't find %WRAPPER_JAR%, downloading it ...
- echo Downloading from: %DOWNLOAD_URL%
- )
-
- powershell -Command "&{"^
- "$webclient = new-object System.Net.WebClient;"^
- "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
- "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
- "}"^
- "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
- "}"
- if "%MVNW_VERBOSE%" == "true" (
- echo Finished downloading %WRAPPER_JAR%
- )
-)
-@REM End of extension
-
-@REM Provide a "standardized" way to retrieve the CLI args that will
-@REM work with both Windows and non-Windows executions.
-set MAVEN_CMD_LINE_ARGS=%*
-
-%MAVEN_JAVA_EXE% ^
- %JVM_CONFIG_MAVEN_PROPS% ^
- %MAVEN_OPTS% ^
- %MAVEN_DEBUG_OPTS% ^
- -classpath %WRAPPER_JAR% ^
- "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
- %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
-if ERRORLEVEL 1 goto error
-goto end
-
-:error
-set ERROR_CODE=1
-
-:end
-@endlocal & set ERROR_CODE=%ERROR_CODE%
-
-if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
-@REM check for post script, once with legacy .bat ending and once with .cmd ending
-if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
-if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
-:skipRcPost
-
-@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
-if "%MAVEN_BATCH_PAUSE%"=="on" pause
-
-if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
-
-cmd /C exit /B %ERROR_CODE%
+<# : batch portion
+@REM ----------------------------------------------------------------------------
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements. See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership. The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License. You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied. See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM ----------------------------------------------------------------------------
+
+@REM ----------------------------------------------------------------------------
+@REM Apache Maven Wrapper startup batch script, version 3.3.2
+@REM
+@REM Optional ENV vars
+@REM MVNW_REPOURL - repo url base for downloading maven distribution
+@REM MVNW_USERNAME/MVNW_PASSWORD - user and password for downloading maven
+@REM MVNW_VERBOSE - true: enable verbose log; others: silence the output
+@REM ----------------------------------------------------------------------------
+
+@IF "%__MVNW_ARG0_NAME__%"=="" (SET __MVNW_ARG0_NAME__=%~nx0)
+@SET __MVNW_CMD__=
+@SET __MVNW_ERROR__=
+@SET __MVNW_PSMODULEP_SAVE=%PSModulePath%
+@SET PSModulePath=
+@FOR /F "usebackq tokens=1* delims==" %%A IN (`powershell -noprofile "& {$scriptDir='%~dp0'; $script='%__MVNW_ARG0_NAME__%'; icm -ScriptBlock ([Scriptblock]::Create((Get-Content -Raw '%~f0'))) -NoNewScope}"`) DO @(
+ IF "%%A"=="MVN_CMD" (set __MVNW_CMD__=%%B) ELSE IF "%%B"=="" (echo %%A) ELSE (echo %%A=%%B)
+)
+@SET PSModulePath=%__MVNW_PSMODULEP_SAVE%
+@SET __MVNW_PSMODULEP_SAVE=
+@SET __MVNW_ARG0_NAME__=
+@SET MVNW_USERNAME=
+@SET MVNW_PASSWORD=
+@IF NOT "%__MVNW_CMD__%"=="" (%__MVNW_CMD__% %*)
+@echo Cannot start maven from wrapper >&2 && exit /b 1
+@GOTO :EOF
+: end batch / begin powershell #>
+
+$ErrorActionPreference = "Stop"
+if ($env:MVNW_VERBOSE -eq "true") {
+ $VerbosePreference = "Continue"
+}
+
+# calculate distributionUrl, requires .mvn/wrapper/maven-wrapper.properties
+$distributionUrl = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionUrl
+if (!$distributionUrl) {
+ Write-Error "cannot read distributionUrl property in $scriptDir/.mvn/wrapper/maven-wrapper.properties"
+}
+
+switch -wildcard -casesensitive ( $($distributionUrl -replace '^.*/','') ) {
+ "maven-mvnd-*" {
+ $USE_MVND = $true
+ $distributionUrl = $distributionUrl -replace '-bin\.[^.]*$',"-windows-amd64.zip"
+ $MVN_CMD = "mvnd.cmd"
+ break
+ }
+ default {
+ $USE_MVND = $false
+ $MVN_CMD = $script -replace '^mvnw','mvn'
+ break
+ }
+}
+
+# apply MVNW_REPOURL and calculate MAVEN_HOME
+# maven home pattern: ~/.m2/wrapper/dists/{apache-maven-,maven-mvnd--}/
+if ($env:MVNW_REPOURL) {
+ $MVNW_REPO_PATTERN = if ($USE_MVND) { "/org/apache/maven/" } else { "/maven/mvnd/" }
+ $distributionUrl = "$env:MVNW_REPOURL$MVNW_REPO_PATTERN$($distributionUrl -replace '^.*'+$MVNW_REPO_PATTERN,'')"
+}
+$distributionUrlName = $distributionUrl -replace '^.*/',''
+$distributionUrlNameMain = $distributionUrlName -replace '\.[^.]*$','' -replace '-bin$',''
+$MAVEN_HOME_PARENT = "$HOME/.m2/wrapper/dists/$distributionUrlNameMain"
+if ($env:MAVEN_USER_HOME) {
+ $MAVEN_HOME_PARENT = "$env:MAVEN_USER_HOME/wrapper/dists/$distributionUrlNameMain"
+}
+$MAVEN_HOME_NAME = ([System.Security.Cryptography.MD5]::Create().ComputeHash([byte[]][char[]]$distributionUrl) | ForEach-Object {$_.ToString("x2")}) -join ''
+$MAVEN_HOME = "$MAVEN_HOME_PARENT/$MAVEN_HOME_NAME"
+
+if (Test-Path -Path "$MAVEN_HOME" -PathType Container) {
+ Write-Verbose "found existing MAVEN_HOME at $MAVEN_HOME"
+ Write-Output "MVN_CMD=$MAVEN_HOME/bin/$MVN_CMD"
+ exit $?
+}
+
+if (! $distributionUrlNameMain -or ($distributionUrlName -eq $distributionUrlNameMain)) {
+ Write-Error "distributionUrl is not valid, must end with *-bin.zip, but found $distributionUrl"
+}
+
+# prepare tmp dir
+$TMP_DOWNLOAD_DIR_HOLDER = New-TemporaryFile
+$TMP_DOWNLOAD_DIR = New-Item -Itemtype Directory -Path "$TMP_DOWNLOAD_DIR_HOLDER.dir"
+$TMP_DOWNLOAD_DIR_HOLDER.Delete() | Out-Null
+trap {
+ if ($TMP_DOWNLOAD_DIR.Exists) {
+ try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null }
+ catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" }
+ }
+}
+
+New-Item -Itemtype Directory -Path "$MAVEN_HOME_PARENT" -Force | Out-Null
+
+# Download and Install Apache Maven
+Write-Verbose "Couldn't find MAVEN_HOME, downloading and installing it ..."
+Write-Verbose "Downloading from: $distributionUrl"
+Write-Verbose "Downloading to: $TMP_DOWNLOAD_DIR/$distributionUrlName"
+
+$webclient = New-Object System.Net.WebClient
+if ($env:MVNW_USERNAME -and $env:MVNW_PASSWORD) {
+ $webclient.Credentials = New-Object System.Net.NetworkCredential($env:MVNW_USERNAME, $env:MVNW_PASSWORD)
+}
+[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
+$webclient.DownloadFile($distributionUrl, "$TMP_DOWNLOAD_DIR/$distributionUrlName") | Out-Null
+
+# If specified, validate the SHA-256 sum of the Maven distribution zip file
+$distributionSha256Sum = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionSha256Sum
+if ($distributionSha256Sum) {
+ if ($USE_MVND) {
+ Write-Error "Checksum validation is not supported for maven-mvnd. `nPlease disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties."
+ }
+ Import-Module $PSHOME\Modules\Microsoft.PowerShell.Utility -Function Get-FileHash
+ if ((Get-FileHash "$TMP_DOWNLOAD_DIR/$distributionUrlName" -Algorithm SHA256).Hash.ToLower() -ne $distributionSha256Sum) {
+ Write-Error "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised. If you updated your Maven version, you need to update the specified distributionSha256Sum property."
+ }
+}
+
+# unzip and move
+Expand-Archive "$TMP_DOWNLOAD_DIR/$distributionUrlName" -DestinationPath "$TMP_DOWNLOAD_DIR" | Out-Null
+Rename-Item -Path "$TMP_DOWNLOAD_DIR/$distributionUrlNameMain" -NewName $MAVEN_HOME_NAME | Out-Null
+try {
+ Move-Item -Path "$TMP_DOWNLOAD_DIR/$MAVEN_HOME_NAME" -Destination $MAVEN_HOME_PARENT | Out-Null
+} catch {
+ if (! (Test-Path -Path "$MAVEN_HOME" -PathType Container)) {
+ Write-Error "fail to move MAVEN_HOME"
+ }
+} finally {
+ try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null }
+ catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" }
+}
+
+Write-Output "MVN_CMD=$MAVEN_HOME/bin/$MVN_CMD"
diff --git a/pom.xml b/pom.xml
index 9be47e09..9a3ac44d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,20 +7,20 @@
org.springframework.boot
spring-boot-starter-parent
- 3.1.5
+ 3.3.0
de.medizininformatik-initiative
flare
- 2.2.1
+ 2.2.0
Flare
Flare
17
- 1.19.1
+ 1.19.8
2.1.27
@@ -35,6 +35,11 @@
spring-boot-starter-webflux
+
+ org.springframework.security
+ spring-security-oauth2-client
+
+
org.yaml
@@ -56,7 +61,7 @@
org.rocksdb
rocksdbjni
- 7.10.2
+ 9.2.1
@@ -153,7 +158,7 @@
org.jacoco
jacoco-maven-plugin
- 0.8.11
+ 0.8.12
prepare-agent
@@ -192,7 +197,7 @@
com.googlecode.maven-download-plugin
download-maven-plugin
- 1.7.1
+ 1.9.0
download-ontology
diff --git a/src/main/java/de/medizininformatikinitiative/flare/FlareApplication.java b/src/main/java/de/medizininformatikinitiative/flare/FlareApplication.java
index b66b3900..1d037f76 100644
--- a/src/main/java/de/medizininformatikinitiative/flare/FlareApplication.java
+++ b/src/main/java/de/medizininformatikinitiative/flare/FlareApplication.java
@@ -15,6 +15,12 @@
import org.springframework.http.client.reactive.ReactorClientHttpConnector;
import org.springframework.http.codec.json.Jackson2JsonDecoder;
import org.springframework.http.codec.json.Jackson2JsonEncoder;
+import org.springframework.security.oauth2.client.AuthorizedClientServiceReactiveOAuth2AuthorizedClientManager;
+import org.springframework.security.oauth2.client.InMemoryReactiveOAuth2AuthorizedClientService;
+import org.springframework.security.oauth2.client.registration.ClientRegistrations;
+import org.springframework.security.oauth2.client.registration.InMemoryReactiveClientRegistrationRepository;
+import org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction;
+import org.springframework.web.reactive.function.client.ExchangeFilterFunction;
import org.springframework.web.reactive.function.client.ExchangeFilterFunctions;
import org.springframework.web.reactive.function.client.WebClient;
import reactor.core.scheduler.Schedulers;
@@ -24,9 +30,13 @@
import java.time.Clock;
import java.time.Duration;
+import static org.springframework.security.oauth2.core.AuthorizationGrantType.CLIENT_CREDENTIALS;
+
@SpringBootApplication
public class FlareApplication {
+ private static final String REGISTRATION_ID = "openid-connect";
+
private static final Logger logger = LoggerFactory.getLogger(FlareApplication.class);
private static final int EIGHT_MEGA_BYTE = 8 << 20;
@@ -43,7 +53,8 @@ public WebClient dataStoreClient(@Value("${flare.fhir.server}") String baseUrl,
@Value("${flare.fhir.password}") String password,
@Value("${flare.fhir.maxConnections}") int maxConnections,
@Value("${flare.fhir.maxQueueSize}") int maxQueueSize,
- ObjectMapper mapper) {
+ ObjectMapper mapper,
+ @Qualifier("oauth") ExchangeFilterFunction oauthExchangeFilterFunction) {
logger.info("Create a HTTP connection pool to {} with a maximum of {} connections.", baseUrl, maxConnections);
ConnectionProvider provider = ConnectionProvider.builder("data-store")
.maxConnections(maxConnections)
@@ -58,6 +69,7 @@ public WebClient dataStoreClient(@Value("${flare.fhir.server}") String baseUrl,
builder = builder.filter(ExchangeFilterFunctions.basicAuthentication(user, password));
}
return builder
+ .filter(oauthExchangeFilterFunction)
.codecs(configurer -> {
var codecs = configurer.defaultCodecs();
codecs.maxInMemorySize(EIGHT_MEGA_BYTE);
@@ -97,4 +109,34 @@ public DiskCachingFhirQueryService diskCachingFhirQueryService(
public Clock systemDefaultZone() {
return Clock.systemDefaultZone();
}
+
+ @Bean
+ @Qualifier("oauth")
+ ExchangeFilterFunction oauthExchangeFilterFunction(
+ @Value("${flare.fhir.oauth.issuer.uri:}") String issuerUri,
+ @Value("${flare.fhir.oauth.client.id:}") String clientId,
+ @Value("${flare.fhir.oauth.client.secret:}") String clientSecret) {
+ if (!issuerUri.isEmpty() && !clientId.isEmpty() && !clientSecret.isEmpty()) {
+ logger.debug("Enabling OAuth2 authentication (issuer uri: '{}', client id: '{}').",
+ issuerUri, clientId);
+ var clientRegistration = ClientRegistrations.fromIssuerLocation(issuerUri)
+ .registrationId(REGISTRATION_ID)
+ .clientId(clientId)
+ .clientSecret(clientSecret)
+ .authorizationGrantType(CLIENT_CREDENTIALS)
+ .build();
+ var registrations = new InMemoryReactiveClientRegistrationRepository(clientRegistration);
+ var clientService = new InMemoryReactiveOAuth2AuthorizedClientService(registrations);
+ var authorizedClientManager = new AuthorizedClientServiceReactiveOAuth2AuthorizedClientManager(
+ registrations, clientService);
+ var oAuthExchangeFilterFunction = new ServerOAuth2AuthorizedClientExchangeFilterFunction(
+ authorizedClientManager);
+ oAuthExchangeFilterFunction.setDefaultClientRegistrationId(REGISTRATION_ID);
+
+ return oAuthExchangeFilterFunction;
+ } else {
+ logger.debug("Skipping OAuth2 authentication.");
+ return (request, next) -> next.exchange(request);
+ }
+ }
}
diff --git a/src/test/java/de/medizininformatikinitiative/flare/model/sq/CriterionTest.java b/src/test/java/de/medizininformatikinitiative/flare/model/sq/CriterionTest.java
index b562b647..2afb2a54 100644
--- a/src/test/java/de/medizininformatikinitiative/flare/model/sq/CriterionTest.java
+++ b/src/test/java/de/medizininformatikinitiative/flare/model/sq/CriterionTest.java
@@ -69,7 +69,7 @@ class FromJson {
@Test
@DisplayName("missing context")
void missingContext() {
- assertThatThrownBy(() -> parse("{}")).hasMessage("Cannot construct instance of `de.medizininformatikinitiative.flare.model.sq.Criterion`, problem: missing JSON property: context\n at [Source: (String)\"{}\"; line: 1, column: 2]");
+ assertThatThrownBy(() -> parse("{}")).hasMessage("Cannot construct instance of `de.medizininformatikinitiative.flare.model.sq.Criterion`, problem: missing JSON property: context\n at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 2]");
}
@Test
@@ -1970,5 +1970,3 @@ void age_withRange() {
}
}
}
-
-
diff --git a/src/test/java/de/medizininformatikinitiative/flare/service/DataStoreIT.java b/src/test/java/de/medizininformatikinitiative/flare/service/DataStoreIT.java
index f95a365f..c0126a8d 100644
--- a/src/test/java/de/medizininformatikinitiative/flare/service/DataStoreIT.java
+++ b/src/test/java/de/medizininformatikinitiative/flare/service/DataStoreIT.java
@@ -35,7 +35,7 @@ class DataStoreIT {
@Container
@SuppressWarnings("resource")
- private final GenericContainer> blaze = new GenericContainer<>("samply/blaze:0.23")
+ private final GenericContainer> blaze = new GenericContainer<>("samply/blaze:0.26")
.withImagePullPolicy(PullPolicy.alwaysPull())
.withEnv("LOG_LEVEL", "debug")
.withExposedPorts(8080)
diff --git a/src/test/java/de/medizininformatikinitiative/flare/service/StructuredQueryServiceIT.java b/src/test/java/de/medizininformatikinitiative/flare/service/StructuredQueryServiceIT.java
index 1358d6cd..30c58708 100644
--- a/src/test/java/de/medizininformatikinitiative/flare/service/StructuredQueryServiceIT.java
+++ b/src/test/java/de/medizininformatikinitiative/flare/service/StructuredQueryServiceIT.java
@@ -60,7 +60,7 @@ class StructuredQueryServiceIT {
@Container
@SuppressWarnings("resource")
- private static final GenericContainer> blaze = new GenericContainer<>("samply/blaze:0.23")
+ private static final GenericContainer> blaze = new GenericContainer<>("samply/blaze:0.26")
.withImagePullPolicy(PullPolicy.alwaysPull())
.withEnv("LOG_LEVEL", "debug")
.withEnv("DB_SEARCH_PARAM_BUNDLE", "/app/custom-search-parameters.json")
@@ -226,7 +226,6 @@ void execute_BloodPressureTestCase() throws Exception {
]
]
}
-
""");
var result = service_BloodPressure.execute(query).block();