This image contains the runs the HSDP CDR Viewer.
This project uses the following technologies:
For more information about the configuration variables refer to the configuration section.
docker run
-p 8080:4000
-e BASE_URL=http://localhost:8080
-e IAM_CLIENT_ID=iam_client_id
-e IAM_CLIENT_SECRET=iam_client_secret
-e IAM_URL=https://iam-<HSDP environment>.<HSDP region>.philips-healthsuite.com
-e HSDP_ROLES_ORGANIZATION_ID=org_id
-e CDR_ADDRESS=https://cdr-store.hsdp/store/fhir/
philipssoftware/cdr-viewer
| Environment Variable | Default value | Required | Description |
|---|---|---|---|
BASE_URL | n/a | Yes | External url to application |
IAM_CLIENT_ID | n/a | Yes | OAuth2 client |
IAM_CLIENT_SECRET | n/a | Yes | OAuth2 client Secret |
IAM_URL | n/a | Yes | OAuth2 base url (e.g. https://iam-<HSDP environment>.<HSDP region>.philips-healthsuite.com) |
HSDP_ROLES_ORGANIZATION_ID | n/a | Yes | HSDP organization uuid |
COOKIE_SECRET | Random value | No | Secret used to hash the cookie, not required but highly recommended to avoid session invalidation during restarts / load balancing |
CDR_ADDRESS | n/a | Yes | CDR base url (e.g. `https://..philips-healthsuite.com/store/fhir/) |
CDR_WITHOUT_AUTH | false | No | CDR requires auth, make sure to set this to true when connecting to public fhir services |
BLOBSTORE_ADDRESS | n/a | No | blobstore base url (e.g. `https:///dev-int/connect/blobrepository/) |
BLOBSTORE_WITHOUT_AUTH | false | No | Set this to true when connecting to public blobstore |
REACT_APP_DICOM_VIEWER_URL | n/a | No | Url to the dicom viewer instance |
REACT_APP_DICOM_VIEWER_ORGANIZATION_ID | n/a | No | Organization id used by the dicom viewer instance |
HTTP_PROXY | n/a | No | Proxy server to use for HTTP requests |
HTTPS_PROXY | n/a | No | Proxy server to use for HTTPS requests |
NO_PROXY | n/a | No | Comma separated list of domains to exclude from proxy |
To test with the public FHIR service use these parameters, (make sure to disable auth):
CDR_ADDRESS=http://hapi.fhir.org/baseDstu3/
CDR_WITHOUT_AUTH=true
IAM OAuth client configuration for openid authentication:
| Setting | Value |
|---|---|
| Type | Confidential |
| Redirection urls | https://<domain>, https://<domain>/user/callback (match this to the BASE_URL) |
| Response types | token, id_token, token id_token, code |
| Default scopes | cn |
| Scopes | mail, sn, profile, openid, email, auth_iam_introspect, auth_iam_organization |
Copyright 2021 Koninklijke Philips N.V.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to use the Software, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Content type
Image
Digest
sha256:c3f3b8748…
Size
108.4 MB
Last updated
almost 4 years ago
docker pull philipssoftware/cdr-viewer