Sign inSign up

philipssoftware/cdr-viewer

By philipssoftware

•Updated almost 4 years ago

Image
0

1.4K

philipssoftware/cdr-viewer repository overview

⁠HSDP Clinical Data Repository (CDR) Viewer

This image contains the runs the HSDP CDR Viewer.

This project uses the following technologies:

  • Typescript
  • React
  • Node
  • Docker

⁠Running container

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

⁠Configuration

Environment VariableDefault valueRequiredDescription
BASE_URLn/aYesExternal url to application
IAM_CLIENT_IDn/aYesOAuth2 client
IAM_CLIENT_SECRETn/aYesOAuth2 client Secret
IAM_URLn/aYesOAuth2 base url (e.g. https://iam-<HSDP environment>.<HSDP region>.philips-healthsuite.com)
HSDP_ROLES_ORGANIZATION_IDn/aYesHSDP organization uuid
COOKIE_SECRETRandom valueNoSecret used to hash the cookie, not required but highly recommended to avoid session invalidation during restarts / load balancing
CDR_ADDRESSn/aYesCDR base url (e.g. `https://..philips-healthsuite.com/store/fhir/)
CDR_WITHOUT_AUTHfalseNoCDR requires auth, make sure to set this to true when connecting to public fhir services
BLOBSTORE_ADDRESSn/aNoblobstore base url (e.g. `https:///dev-int/connect/blobrepository/)
BLOBSTORE_WITHOUT_AUTHfalseNoSet this to true when connecting to public blobstore
REACT_APP_DICOM_VIEWER_URLn/aNoUrl to the dicom viewer instance
REACT_APP_DICOM_VIEWER_ORGANIZATION_IDn/aNoOrganization id used by the dicom viewer instance
HTTP_PROXYn/aNoProxy server to use for HTTP requests
HTTPS_PROXYn/aNoProxy server to use for HTTPS requests
NO_PROXYn/aNoComma 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

IAM OAuth client configuration for openid authentication:

SettingValue
TypeConfidential
Redirection urlshttps://<domain>, https://<domain>/user/callback (match this to the BASE_URL)
Response typestoken, id_token, token id_token, code
Default scopescn
Scopesmail, sn, profile, openid, email, auth_iam_introspect, auth_iam_organization

⁠License

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.

Tag summary

Content type

Image

Digest

sha256:c3f3b8748…

Size

108.4 MB

Last updated

almost 4 years ago

docker pull philipssoftware/cdr-viewer